From 96e9c9994e62c9484a7d427470f9875f92b7420a Mon Sep 17 00:00:00 2001 From: Georgios Koutsoumpakis Date: Mon, 16 May 2022 10:24:27 +0200 Subject: [PATCH] Fix nack deployment when tls is used https://github.com/nats-io/k8s/pull/499 introduced a duplicated tag that broke deployments where tls is enabled --- .../nack/templates/deployment-jetstream-controller.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/helm/charts/nack/templates/deployment-jetstream-controller.yml b/helm/charts/nack/templates/deployment-jetstream-controller.yml index 1bb77f5c..926f85ba 100644 --- a/helm/charts/nack/templates/deployment-jetstream-controller.yml +++ b/helm/charts/nack/templates/deployment-jetstream-controller.yml @@ -34,6 +34,8 @@ spec: {{- end }} terminationGracePeriodSeconds: 30 volumes: + - name : runtime + emptyDir : {} {{- if and .Values.jetstream.tls.enabled .Values.jetstream.tls.secretName }} - name: jsc-client-tls-volume secret: @@ -129,6 +131,3 @@ spec: - name: jsc-sys-creds mountPath: /etc/jsc-creds {{- end }} - volumes: - - name : runtime - emptyDir : {} \ No newline at end of file