From 4d601f81f61771b09adc20fa7bd10db814f40827 Mon Sep 17 00:00:00 2001 From: Lance-Drane Date: Wed, 14 Aug 2024 18:07:12 -0400 Subject: [PATCH] fix helm chart Signed-off-by: Lance-Drane --- .pre-commit-config.yaml | 1 + charts/broker-2-http/templates/deployment.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ee053db..fa00b79 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,7 @@ repos: rev: v4.5.0 hooks: - id: check-yaml + exclude: templates/ args: ['--unsafe'] - id: check-toml - id: end-of-file-fixer diff --git a/charts/broker-2-http/templates/deployment.yaml b/charts/broker-2-http/templates/deployment.yaml index ece83f2..23ced48 100644 --- a/charts/broker-2-http/templates/deployment.yaml +++ b/charts/broker-2-http/templates/deployment.yaml @@ -30,7 +30,7 @@ spec: {{- end }} {{- if .Values.commonLabels }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 8 }} - {{- end }} + {{- end }} spec: serviceAccountName: {{ template "intersect-broker-2-http.serviceAccountName" . }} {{- include "intersect-broker-2-http.imagePullSecrets" . | nindent 6 }} @@ -110,14 +110,14 @@ spec: value: {{ .Values.app.broker.host | quote }} - name: PROXYAPP_BROKER__PORT value: {{ .Values.app.broker.port | quote }} - - name: PROXYAPP_APP_PORT + - name: PROXYAPP_PORT value: {{ .Values.containerPort | quote }} - name: PROXYAPP_TOPIC_PREFIX value: {{ required "app.topic_prefix not set (i.e. 'organization.facility.system')" .Values.app.topic_prefix | quote }} - - name: PROXYAPP_APP_USERNAME + - name: PROXYAPP_USERNAME value: {{ .Values.app.username | quote }} - - name: PROXYAPP_APP_PASSWORD - value: {{ .Values.app.password | quote }} + - name: PROXYAPP_PASSWORD + value: {{ .Values.app.password | quote }} envFrom: {{- if .Values.extraEnvVarsCM }} - configMapRef: