Skip to content

Commit

Permalink
Add extraEnv to helm chart (#6698)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandre Dutra <adutra@users.noreply.github.com>
  • Loading branch information
c-thiel and adutra committed May 4, 2023
1 parent 9e33a9c commit 3700b4b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helm/nessie/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,12 @@ spec:
{{- end }}
{{- end }}
{{- end }}

{{ list .Values.advancedConfig "" | include "nessie.propsToEnvVars" | nindent 12 }}

{{- if .Values.extraEnv }}
{{- toYaml .Values.extraEnv | nindent 12 }}
{{- end }}
ports:
- name: nessie-server
containerPort: 19120
Expand Down
15 changes: 15 additions & 0 deletions helm/nessie/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,21 @@ advancedConfig:
# console.format: "%d{HH:mm:ss} %s%e%n"
# category."org.projectnessie".level: DEBUG

# -- Advanced configuration via Environment Variables.
# Extra environment variables to add to the Nessie server container.
# You can pass here any valid EnvVar object:
# https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#envvar-v1-core
# This can be useful to get configuration values from Kubernetes secrets or config maps.
extraEnv:
[]
# - name: QUARKUS_MONGODB_APPLICATION_NAME
# value: my-app
# - name: QUARKUS_MONGODB_TLS
# valueFrom:
# configMapKeyRef:
# name: mongodb-config
# key: tls

authentication:
# -- Specifies whether authentication for the nessie server should be enabled.
enabled: false
Expand Down

0 comments on commit 3700b4b

Please sign in to comment.