khuedoan-homelab/platform/global-secrets/templates/secret-generator/rolebinding.yaml
Khue Doan 5e76122a04 refactor(global-secrets): move secret store to the same namespace
Otherwise RBAC will be much more complicated.
2023-11-26 17:39:49 +07:00

14 lines
319 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: secret-generator
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: secret-generator
subjects:
- kind: ServiceAccount
name: secret-generator
namespace: {{ .Release.Namespace }}