Skip to content

Commit

Permalink
Add useDeprecatedImplicitSecrets to legacy webui chart
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvaandering authored and rcarpa committed Oct 20, 2023
1 parent 07523a3 commit 678f252
Show file tree
Hide file tree
Showing 3 changed files with 7 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: 32.0.0
version: 32.0.1
apiVersion: v1
description: A Helm chart to deploy webui servers for Rucio
keywords:
Expand Down
4 changes: 4 additions & 0 deletions charts/rucio-ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ spec:
name: {{ template "rucio.fullname" . }}-aliases
- name: httpdlog
emptyDir: {}
{{- if .Values.useDeprecatedImplicitSecrets }}
{{- if eq .Values.service.useSSL true }}
- name: hostcert
secret:
Expand All @@ -67,6 +68,7 @@ spec:
secret:
secretName: {{ .Release.Name }}-cafile
{{- end }}
{{- end }}
{{- range $key, $val := .Values.secretMounts }}
- name: {{ coalesce $val.volumeName $val.secretName $val.secretFullName }}
secret:
Expand Down Expand Up @@ -107,6 +109,7 @@ spec:
- name: aliases
mountPath: /opt/rucio/etc/aliases.conf
subPath: aliases.conf
{{- if .Values.useDeprecatedImplicitSecrets }}
{{- if .Values.service.useSSL }}
- name: hostcert
mountPath: /etc/grid-security/hostcert.pem
Expand All @@ -118,6 +121,7 @@ spec:
mountPath: /etc/grid-security/ca.pem
subPath: ca.pem
{{- end}}
{{- end}}
{{- range $key, $val := .Values.secretMounts }}
- name: {{ coalesce $val.volumeName $val.secretName $val.secretFullName }}
mountPath: {{ $val.mountPath }}
Expand Down
2 changes: 2 additions & 0 deletions charts/rucio-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
## replicaCount gives the number of server pods to run
replicaCount: 1

useDeprecatedImplicitSecrets: true

# When set, run extra busybox containers in the relevant pods to also expose the error logs
exposeErrorLogs: True

Expand Down

0 comments on commit 678f252

Please sign in to comment.