Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extraEnv to helm chart #6698

Merged
merged 6 commits into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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