From 947eb4f5ddfca50099e381c2d72a3fc5965157ec Mon Sep 17 00:00:00 2001 From: DarkLight1337 Date: Mon, 6 Jan 2025 09:34:41 +0000 Subject: [PATCH] Apply #11679 Signed-off-by: DarkLight1337 --- docs/source/deployment/k8s.md | 2 +- examples/chart-helm/templates/secrets.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/deployment/k8s.md b/docs/source/deployment/k8s.md index a7d796091b06c..760214e112fba 100644 --- a/docs/source/deployment/k8s.md +++ b/docs/source/deployment/k8s.md @@ -43,7 +43,7 @@ metadata: name: hf-token-secret namespace: default type: Opaque -data: +stringData: token: "REPLACE_WITH_TOKEN" ``` diff --git a/examples/chart-helm/templates/secrets.yaml b/examples/chart-helm/templates/secrets.yaml index 4e88e747b616a..923fd611ad7a2 100644 --- a/examples/chart-helm/templates/secrets.yaml +++ b/examples/chart-helm/templates/secrets.yaml @@ -4,7 +4,7 @@ metadata: name: "{{ .Release.Name }}-secrets" namespace: {{ .Release.Namespace }} type: Opaque -data: +stringData: {{- range $key, $val := .Values.secrets }} {{ $key }}: {{ $val | b64enc | quote }} {{- end }} \ No newline at end of file