And attach sa to hr.
This commit is contained in:
parent
ac69955b93
commit
19bf0be280
2 changed files with 4 additions and 9 deletions
|
@ -57,3 +57,6 @@ spec:
|
||||||
globalMounts:
|
globalMounts:
|
||||||
- path: /tls
|
- path: /tls
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
name: webhook-dnsimple
|
|
@ -1,12 +1,4 @@
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: webhook-dnsimple
|
|
||||||
namespace: "cert-manager"
|
|
||||||
labels:
|
|
||||||
app: cert-manager-webhook-dnsimple
|
|
||||||
---
|
|
||||||
# Grant cert-manager permission to validate using our apiserver
|
# Grant cert-manager permission to validate using our apiserver
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
|
Loading…
Reference in a new issue