mirror of
https://github.com/Noooste/garage-ui.git
synced 2026-08-31 01:09:25 +00:00
80553c6450
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com>
16 lines
517 B
YAML
16 lines
517 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "garage-ui.fullname" . }}-config
|
|
labels:
|
|
{{- include "garage-ui.labels" . | nindent 4 }}
|
|
data:
|
|
config.yaml: |
|
|
{{- $config := deepCopy .Values.config }}
|
|
{{- $_ := unset $config.garage "admin_token" }}
|
|
{{- $_2 := unset $config.auth.admin "password" }}
|
|
{{- $_3 := unset $config.auth.oidc "client_secret" }}
|
|
{{- $_4 := unset $config.auth "jwt_private_key" }}
|
|
{{- $_5 := unset $config.auth "jwt_private_key_secret" }}
|
|
{{- $config | toYaml | nindent 4 }}
|