From 7028a486c387a823f64fb9847da1631e18a1a633 Mon Sep 17 00:00:00 2001 From: aries0d0f Date: Thu, 12 Jan 2023 20:08:17 +0800 Subject: [PATCH] fix: Minio password length should not over than 40. --- charts/agh2/templates/captain/captain-minio-secret.yml | 2 +- charts/agh2/templates/core/core-minio-secret.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/agh2/templates/captain/captain-minio-secret.yml b/charts/agh2/templates/captain/captain-minio-secret.yml index b5c33384..e0de3acd 100644 --- a/charts/agh2/templates/captain/captain-minio-secret.yml +++ b/charts/agh2/templates/captain/captain-minio-secret.yml @@ -20,6 +20,6 @@ stringData: "prefix" .Values.captain.secret.minio.secretName ) ) - ) | quote + ) | substr 0 39 | quote }} {{- end }} diff --git a/charts/agh2/templates/core/core-minio-secret.yml b/charts/agh2/templates/core/core-minio-secret.yml index 779b16cc..9b379e09 100644 --- a/charts/agh2/templates/core/core-minio-secret.yml +++ b/charts/agh2/templates/core/core-minio-secret.yml @@ -20,6 +20,6 @@ stringData: "prefix" .Values.core.secret.minio.secretName ) ) - ) | quote + ) | substr 0 39 | quote }} {{- end }}