Give sealed secrets container access to secrets
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4cc2d9b558
commit
c73d56c573
13
sealed-secrets/cluster-role-binding-sealed-secrets.yaml
Normal file
13
sealed-secrets/cluster-role-binding-sealed-secrets.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: secret-full-access-rolebinding
|
||||||
|
namespace: sealed-secrets
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: sealed-secrets
|
||||||
|
namespace: sealed-secrets
|
||||||
|
roleRef:
|
||||||
|
kind: ClusterRole
|
||||||
|
name: secret-full-access-role
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
9
sealed-secrets/cluster-role-sealed-secrets.yaml
Normal file
9
sealed-secrets/cluster-role-sealed-secrets.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: secret-full-access-role
|
||||||
|
namespace: sealed-secrets
|
||||||
|
rules:
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["secrets"]
|
||||||
|
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
Loading…
Reference in New Issue
Block a user