| Giorgi Lekveishvili | c9d88a0 | 2023-12-07 13:50:37 +0400 | [diff] [blame^] | 1 | apiVersion: rbac.authorization.k8s.io/v1 |
| 2 | kind: ClusterRole |
| 3 | metadata: |
| 4 | name: cert-manager-pcloud |
| 5 | rules: |
| 6 | - apiGroups: |
| 7 | - dodo.cloud |
| 8 | resources: |
| 9 | - pcloud-dns-solver |
| 10 | verbs: |
| 11 | - "*" # TODO(giolekva): limit |
| 12 | --- |
| 13 | apiVersion: rbac.authorization.k8s.io/v1 |
| 14 | kind: ClusterRoleBinding |
| 15 | metadata: |
| 16 | name: cert-manager-pcloud-binding |
| 17 | roleRef: |
| 18 | apiGroup: rbac.authorization.k8s.io |
| 19 | kind: ClusterRole |
| 20 | name: cert-manager-pcloud |
| 21 | subjects: |
| 22 | - kind: ServiceAccount |
| 23 | name: {{ .Values.certManager.name }} |
| 24 | namespace: {{ .Values.certManager.namespace }} |