diff --git a/charts/actions-runner-controller/templates/certificate.yaml b/charts/actions-runner-controller/templates/certificate.yaml index 200d7722..0000be44 100644 --- a/charts/actions-runner-controller/templates/certificate.yaml +++ b/charts/actions-runner-controller/templates/certificate.yaml @@ -21,4 +21,4 @@ spec: issuerRef: kind: Issuer name: {{ include "actions-runner-controller.selfsignedIssuerName" . }} - secretName: webhook-server-cert # this secret will not be prefixed, since it's not managed by kustomize + secretName: {{ include "actions-runner-controller.servingCertName" . }} diff --git a/charts/actions-runner-controller/templates/deployment.yaml b/charts/actions-runner-controller/templates/deployment.yaml index 7e8e4aaf..51e58462 100644 --- a/charts/actions-runner-controller/templates/deployment.yaml +++ b/charts/actions-runner-controller/templates/deployment.yaml @@ -134,7 +134,7 @@ spec: - name: cert secret: defaultMode: 420 - secretName: webhook-server-cert + secretName: {{ include "actions-runner-controller.servingCertName" . }} - name: tmp emptyDir: {} {{- with .Values.nodeSelector }}