kube/wildduck/wildduck-operator-rbac.yaml

41 lines
818 B
YAML
Raw Normal View History

2023-08-24 05:48:33 +00:00
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: codemowers-cloud-wildduck-operator
2023-08-24 05:48:33 +00:00
rules:
- apiGroups:
- codemowers.cloud
2023-08-24 05:48:33 +00:00
resources:
- oidcusers
2023-08-24 05:48:33 +00:00
verbs:
- get
- list
- watch
- apiGroups:
- codemowers.cloud
2023-08-24 05:48:33 +00:00
resources:
- oidcusers/status
2023-08-24 05:48:33 +00:00
verbs:
- patch
- update
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: codemowers-cloud-wildduck-operator
2023-08-24 05:48:33 +00:00
namespace: wildduck
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: codemowers-cloud-wildduck-operator
2023-08-24 05:48:33 +00:00
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: codemowers-cloud-wildduck-operator
2023-08-24 05:48:33 +00:00
subjects:
- kind: ServiceAccount
name: codemowers-cloud-wildduck-operator
2023-08-24 05:48:33 +00:00
namespace: wildduck