Skip to content

Commit

Permalink
ui: allow additionalEnvs for greater flexibility (implemented as in r…
Browse files Browse the repository at this point in the history
…ucio-server)
  • Loading branch information
v1kko authored and maany committed Jun 26, 2024
1 parent ca88fa0 commit 407c28e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/rucio-ui/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rucio-ui
version: 34.0.3
version: 34.0.4
apiVersion: v1
description: A Helm chart to deploy webui servers for Rucio
keywords:
Expand Down
3 changes: 3 additions & 0 deletions charts/rucio-ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ spec:
- name: RUCIO_ENABLE_SSL
value: "True"
{{- end }}
{{- with .Values.additionalEnvs }}
{{ toYaml . | indent 12 }}
{{- end}}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- with .Values.imagePullSecrets }}
Expand Down
8 changes: 8 additions & 0 deletions charts/rucio-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,14 @@ config:
# For a list, please see: https://github.com/rucio/containers/blob/master/ui/README.md
optional_config: {}

# Additional environment, copy-pasted as-is, which, for example, allows environment variables to refer to secrets
additionalEnvs: []
# - name: RUCIO_CFG_DATABASE_DEFAULT
# valueFrom:
# secretKeyRef:
# name: rucio-server
# key: RUCIO_CFG_DATABASE_DEFAULT

resources:
{}
# limits:
Expand Down

0 comments on commit 407c28e

Please sign in to comment.