And attach sa to hr.

This commit is contained in:
Joseph Hanson 2024-04-03 13:01:07 -05:00
parent ac69955b93
commit 19bf0be280
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 4 additions and 9 deletions

View file

@ -57,3 +57,6 @@ spec:
globalMounts:
- path: /tls
readOnly: true
serviceAccount:
create: true
name: webhook-dnsimple

View file

@ -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
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole