This commit is contained in:
@@ -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==
|
||||
|
||||
Reference in New Issue
Block a user