From 46ca9c79317d90a11d034a0d0616aac525a0b543 Mon Sep 17 00:00:00 2001 From: 13332247026 <13332247026@qq.com> Date: Tue, 24 Mar 2026 14:03:40 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20k8s/secret.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k8s/secret.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/k8s/secret.yaml b/k8s/secret.yaml index d1128ab..0f2e320 100644 --- a/k8s/secret.yaml +++ b/k8s/secret.yaml @@ -6,13 +6,4 @@ metadata: type: Opaque data: # 密码需要base64编码,例如 echo -n 'your_password' | base64 - SPRING_DATASOURCE_PASSWORD: cG9zdGdyZXM= # postgres ---- -apiVersion: v1 -kind: Secret -metadata: - name: tencentyun-secret - namespace: drone -type: kubernetes.io/dockerconfigjson -data: - .dockerconfigjson: base64编码内容 + SPRING_DATASOURCE_PASSWORD: c2FsZXNfZGV2Cg==