Skip to content

Commit

Permalink
Merge pull request #11 from zazuko/qlever-extra-env
Browse files Browse the repository at this point in the history
Qlever: add support for extraEnv
  • Loading branch information
ludovicm67 authored Nov 6, 2024
2 parents 548d3e5 + b161821 commit d02bcf0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zazuko/qlever/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ 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.0.6
version: 0.1.0

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.1.2"
appVersion: "v0.2.0"

annotations:
artifacthub.io/links: |
Expand Down
3 changes: 3 additions & 0 deletions zazuko/qlever/templates/deployment-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- with .Values.server.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
livenessProbe:
{{- toYaml .Values.server.livenessProbe | nindent 12 }}
readinessProbe:
Expand Down
3 changes: 3 additions & 0 deletions zazuko/qlever/templates/deployment-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- with .Values.ui.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
livenessProbe:
{{- toYaml .Values.ui.livenessProbe | nindent 12 }}
readinessProbe:
Expand Down
12 changes: 12 additions & 0 deletions zazuko/qlever/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ server:
# -- affinity to use
affinity: {}

# -- extraEnv is a list of extra environment variables to set
extraEnv:
[]
# - name: MY_ENV_VAR
# value: my-value

# UI configuration
ui:
# -- replicaCount is the number of replicas to deploy
Expand Down Expand Up @@ -303,3 +309,9 @@ ui:

# -- affinity to use
affinity: {}

# -- extraEnv is a list of extra environment variables to set
extraEnv:
[]
# - name: MY_ENV_VAR
# value: my-value

0 comments on commit d02bcf0

Please sign in to comment.