diff --git a/infrastructure/07-certmanager/additional-roles.yaml b/infrastructure/07-certmanager/additional-roles.yaml index 6b04aa4..17a7ea9 100644 --- a/infrastructure/07-certmanager/additional-roles.yaml +++ b/infrastructure/07-certmanager/additional-roles.yaml @@ -1,23 +1,23 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: dns-challenge-illium + name: cert-manager-lego-webhook-challenges rules: - apiGroups: - "cert-manager.io" - "acme.cert-manager.io" - resources: ["ionos"] + resources: ["challenges"] verbs: ["*"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: dns-challenge-illium-binding + name: ert-manager-lego-webhook-challenges-binding roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole - name: dns-challenge-illium + name: cert-manager-lego-webhook-challenges subjects: - kind: ServiceAccount name: cert-manager - namespace: cert-manager \ No newline at end of file + namespace: cert-manager-lego-webhook \ No newline at end of file diff --git a/infrastructure/07-certmanager/kustomization.yaml b/infrastructure/07-certmanager/kustomization.yaml index 059d866..e1ae2c2 100644 --- a/infrastructure/07-certmanager/kustomization.yaml +++ b/infrastructure/07-certmanager/kustomization.yaml @@ -10,7 +10,7 @@ resources: - wildcard-cert.yaml - dns-issuer.yaml - ionos-secret-sealed.yaml - # - additional-roles.yaml + - additional-roles.yaml - https://github.com/cert-manager/cert-manager/releases/download/v1.14.4/cert-manager.crds.yaml - namespace.yaml diff --git a/infrastructure/07-certmanager/values-lego.yaml b/infrastructure/07-certmanager/values-lego.yaml index 85f6e13..95cb457 100644 --- a/infrastructure/07-certmanager/values-lego.yaml +++ b/infrastructure/07-certmanager/values-lego.yaml @@ -5,5 +5,5 @@ webhook: tag: main certManager: - namespace: 'cert-manager' - serviceAccountName: cert-manager + namespace: cert-manager + # serviceAccountName: cert-manager