Add support for additional authentication secrets in deployment template
This commit is contained in:
parent
e0e2e10fd1
commit
9eaaf4a8cc
@ -84,6 +84,12 @@ spec:
|
||||
- secretRef:
|
||||
name: {{ include "bookstack.secret" . }}
|
||||
{{- end }}
|
||||
{{- range $key, $conf := .Values.bookstack.auth }}
|
||||
{{- if and (ne $key "method") (ne $key "auto.initiate") ($conf.enabled) $conf.existingSecret }}
|
||||
- secretRef:
|
||||
name: {{ $conf.existingSecret }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: bookstack-http
|
||||
|
Loading…
x
Reference in New Issue
Block a user