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

WebUI: Add useDeprecatedImplicitSecrets to legacy webui chart #174 #175

Merged
merged 2 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

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