From 84b96cc4e415b28ad0c81bc3252709a5b6dc7417 Mon Sep 17 00:00:00 2001 From: Masaki Yatsu Date: Mon, 29 Sep 2025 19:53:56 +0900 Subject: [PATCH] chore(minio): use vault::put to store secret --- minio/justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minio/justfile b/minio/justfile index 5944f22..2245baa 100644 --- a/minio/justfile +++ b/minio/justfile @@ -41,7 +41,7 @@ create-root-credentials: echo "External Secrets Operator detected. Creating root credentials via ExternalSecret..." username="minioadmin" password=$(just utils::random-password) - just vault::put-root minio/admin username="${username}" password="${password}" + just vault::put minio/admin username="${username}" password="${password}" kubectl delete externalsecret minio -n ${MINIO_NAMESPACE} --ignore-not-found gomplate -f minio-root-external-secret.gomplate.yaml | kubectl apply -f - @@ -59,7 +59,7 @@ create-root-credentials: --from-literal=rootPassword="${password}" if helm status vault -n ${K8S_VAULT_NAMESPACE} &>/dev/null; then - just vault::put-root minio/admin username="${username}" password="${password}" + just vault::put minio/admin username="${username}" password="${password}" fi fi