From f799825430c18dd6d2fcdb9c5d9b8bfdb582abf2 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 20 Jun 2021 15:00:59 +0200 Subject: [PATCH] Adjust service selector again with use-as-service on .Release.Name --- apps/etherpadlite-ssl/templates/deployment.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/apps/etherpadlite-ssl/templates/deployment.yaml b/apps/etherpadlite-ssl/templates/deployment.yaml index 3df7296..2ce7154 100644 --- a/apps/etherpadlite-ssl/templates/deployment.yaml +++ b/apps/etherpadlite-ssl/templates/deployment.yaml @@ -6,13 +6,13 @@ metadata: spec: selector: matchLabels: - app: etherpad + app: {{ .Release.Name }}-etherpad replicas: 1 template: metadata: labels: - app: {{ .Release.Name }} - use-as-service: "yes" + app: {{ .Release.Name }}-etherpad + use-as-service: {{ .Release.Name }} spec: initContainers: - name: wait-for-cert @@ -61,8 +61,7 @@ spec: targetPort: 9001 name: https selector: - app: {{ .Release.Name }} - use-as-service: "yes" + use-as-service: {{ .Release.Name }} --- apiVersion: v1 kind: ConfigMap @@ -103,8 +102,8 @@ spec: template: metadata: labels: - app: {{ .Release.Name }} - use-as-service: "yes" + app: certbot-letsencrypt-getcert + use-as-service: {{ .Release.Name }} spec: restartPolicy: Never containers: