Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RBAC resources to nkl namespace #9

Merged
merged 1 commit into from
Feb 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions k8s/RBAC/ClusterRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: ingress-resource-get-watch-list
namespace: nkl
rules:
- apiGroups:
- ""
Expand Down
4 changes: 3 additions & 1 deletion k8s/RBAC/ClusterRoleBinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: "nginx-k8s-edge-controller:ingress-resource-get-watch-list"
namespace: nkl
subjects:
- kind: ServiceAccount
name: nginx-k8s-edge-controller
namespace: default
namespace: nkl
roleRef:
kind: ClusterRole
name: ingress-resource-get-watch-list
namespace: nkl
apiGroup: rbac.authorization.k8s.io
1 change: 1 addition & 0 deletions k8s/RBAC/Secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Secret
metadata:
name: nginx-k8s-edge-controller-secret
namespace: nkl
annotations:
kubernetes.io/service-account.name: nginx-k8s-edge-controller
type: kubernetes.io/service-account-token
1 change: 1 addition & 0 deletions k8s/RBAC/ServiceAccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: nginx-k8s-edge-controller
namespace: nkl