Skip to content

Commit

Permalink
Merge pull request #267 from ClubCedille/kubewall-test
Browse files Browse the repository at this point in the history
remove ingress and add service account
  • Loading branch information
Oxsw1ng authored Dec 6, 2024
2 parents 587f8c3 + a54e5eb commit 4f0704e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
4 changes: 3 additions & 1 deletion apps/kubewall/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ kind: Kustomization

resources:
- deployment.yaml
- network.yaml
- network.yaml
- permissions.yaml
- permissionsBinding.yaml
11 changes: 5 additions & 6 deletions apps/kubewall/base/permissions.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
kind: ServiceAccount
metadata:
name: cluster-deployment
rules:
- apiGroups: ["apps"]
resources: ["*"]
verbs: ["get", "list", "watch"]
name: kubewall-admin
namespace: kubewall
labels:
name: kubewall-admin
14 changes: 7 additions & 7 deletions apps/kubewall/base/permissionsBinding.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kubewall-cluster-deployment
subjects:
- kind: ServiceAccount
name: default
namespace: kubewall
name: kubewall-cluster-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-deployment
apiGroup: rbac.authorization.k8s.io
name: cluster-admin
roleRef:
kind: ServiceAccount
name: kubewall-admin
namespace: kubewall
2 changes: 1 addition & 1 deletion apps/kubewall/prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kind: Kustomization

resources:
- ../base/
- ingress.yaml
# - ingress.yaml

0 comments on commit 4f0704e

Please sign in to comment.