Skip to content

Commit

Permalink
update way of passing env vars in exn
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarchel7bulls committed Jul 23, 2024
1 parent 9dc63ed commit 42b7d22
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/nebulous-exn-middleware/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions charts/nebulous-exn-middleware/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/nebulous-exn-middleware/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,7 @@ nodeSelector: {}
tolerations: []

affinity: {}

env:
SAL_USER: ""
SAL_PASSWORD: ""

Check failure on line 86 in charts/nebulous-exn-middleware/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test

86:19 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit 42b7d22

Please sign in to comment.