From cffc2585f9120d2c280ff7d957ac1fe2909df1ae Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Fri, 10 Sep 2021 20:18:24 +0300 Subject: [PATCH] Use unique serving cert name Based on the comments in https://github.com/actions-runner-controller/actions-runner-controller/issues/782 --- charts/actions-runner-controller/templates/certificate.yaml | 2 +- charts/actions-runner-controller/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }}