Skip to content

Commit

Permalink
add extraenv
Browse files Browse the repository at this point in the history
  • Loading branch information
robkooper committed Nov 22, 2022
1 parent 5d91907 commit d50755a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/swagger/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,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: 1.0.0
version: 1.0.1

# 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 All @@ -32,4 +32,4 @@ annotations:
- name: Helm Chart
url: https://github.com/ncsa/charts
artifacthub.io/changes: |
- initial release
- allow to add extraenv
3 changes: 3 additions & 0 deletions charts/swagger/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ spec:
- name: URL
value: {{ .Values.swagger.url }}
{{- end }}
{{- if .Values.extraEnv }}
{{ toYaml .Values.extraEnv | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: 8080
Expand Down
4 changes: 4 additions & 0 deletions charts/swagger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ fullnameOverride: ""
swagger:
url: https://clowder.ncsa.illinois.edu/clowder/swagger

# extraEnv:
# - name: QUERY_CONFIG_ENABLED
# value: "true"

serviceAccount:
# Specifies whether a service account should be created
create: true
Expand Down

0 comments on commit d50755a

Please sign in to comment.