From 33308e397fcc546a64932cb98b99073fd0afcabc Mon Sep 17 00:00:00 2001 From: Tarun Pothulapati Date: Wed, 3 Jun 2020 18:43:28 +0000 Subject: [PATCH] Use templated value for Gateway cm name (#4534) Fixes #4531 This PR updates the `linkerd-gateway` cm's name to be templated. To allow multiple Gateway installations in the same cluster with different configmaps. (Installing multiple gateways in the same cluster is possible only through Helm, as the CLI dosen't expose those commands currently.) Signed-off-by: Tarun Pothulapati --- charts/linkerd2-multicluster/templates/gateway.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/linkerd2-multicluster/templates/gateway.yaml b/charts/linkerd2-multicluster/templates/gateway.yaml index 14c894acb..d73456e08 100644 --- a/charts/linkerd2-multicluster/templates/gateway.yaml +++ b/charts/linkerd2-multicluster/templates/gateway.yaml @@ -3,7 +3,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: linkerd-gateway + name: {{.Values.gatewayName}}-config annotations: {{.Values.createdByAnnotation}}: {{default (printf "linkerd/helm %s" .Values.linkerdVersion) .Values.cliVersion}} namespace: {{.Values.namespace}} @@ -64,7 +64,7 @@ spec: volumes: - name: config configMap: - name: linkerd-gateway + name: {{.Values.gatewayName}}-config containers: - name: nginx readinessProbe: