kube-1password-secrets/manifests/rbac.yaml

30 lines
543 B
YAML
Raw Normal View History

2020-04-25 17:43:25 +00:00
apiVersion: v1
kind: ServiceAccount
metadata:
name: kube-1password-secrets
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: kube-1password-secrets
rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "list", "update"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kube-1password-secrets
subjects:
- kind: ServiceAccount
name: kube-1password-secrets
roleRef:
kind: ClusterRole
name: kube-1password-secrets
apiGroup: rbac.authorization.k8s.io