From 42b7d22c1694bc4e3b53d510c05b8d48586488a4 Mon Sep 17 00:00:00 2001 From: jmarchel7bulls Date: Tue, 23 Jul 2024 12:13:11 +0200 Subject: [PATCH] update way of passing env vars in exn --- charts/nebulous-exn-middleware/Chart.yaml | 2 +- charts/nebulous-exn-middleware/templates/deployment.yaml | 4 ++-- charts/nebulous-exn-middleware/values.yaml | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/charts/nebulous-exn-middleware/Chart.yaml b/charts/nebulous-exn-middleware/Chart.yaml index 088b407..5225e3f 100644 --- a/charts/nebulous-exn-middleware/Chart.yaml +++ b/charts/nebulous-exn-middleware/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/nebulous-exn-middleware/templates/deployment.yaml b/charts/nebulous-exn-middleware/templates/deployment.yaml index 68be64b..9ae9e32 100644 --- a/charts/nebulous-exn-middleware/templates/deployment.yaml +++ b/charts/nebulous-exn-middleware/templates/deployment.yaml @@ -49,9 +49,9 @@ spec: - name: 'ACTIVEMQ_PORT' value: {{ .Values.ACTIVEMQ_PORT | default "5672" | quote }} - name: 'SAL_USER' - value: user + value: {{ .Values.SAL_USER | default "nebulous" | quote }} - name: 'SAL_PASSWORD' - value: password + value: {{ .Values.SAL_PASSWORD | default "nebulous" | quote }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/nebulous-exn-middleware/values.yaml b/charts/nebulous-exn-middleware/values.yaml index eb31f58..31c3d8d 100644 --- a/charts/nebulous-exn-middleware/values.yaml +++ b/charts/nebulous-exn-middleware/values.yaml @@ -80,3 +80,7 @@ nodeSelector: {} tolerations: [] affinity: {} + +env: + SAL_USER: "" + SAL_PASSWORD: "" \ No newline at end of file