And attach sa to hr.
This commit is contained in:
parent
ac69955b93
commit
19bf0be280
2 changed files with 4 additions and 9 deletions
|
@ -56,4 +56,7 @@ spec:
|
||||||
name: webhook-dnsimple-webhook-tls
|
name: webhook-dnsimple-webhook-tls
|
||||||
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