diff --git a/charts/swagger/Chart.yaml b/charts/swagger/Chart.yaml index f643df9..3acbc4d 100644 --- a/charts/swagger/Chart.yaml +++ b/charts/swagger/Chart.yaml @@ -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 @@ -32,4 +32,4 @@ annotations: - name: Helm Chart url: https://github.com/ncsa/charts artifacthub.io/changes: | - - initial release + - allow to add extraenv diff --git a/charts/swagger/templates/deployment.yaml b/charts/swagger/templates/deployment.yaml index e353d36..cf1a2f9 100644 --- a/charts/swagger/templates/deployment.yaml +++ b/charts/swagger/templates/deployment.yaml @@ -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 diff --git a/charts/swagger/values.yaml b/charts/swagger/values.yaml index 276df58..12a3ecd 100644 --- a/charts/swagger/values.yaml +++ b/charts/swagger/values.yaml @@ -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