Files
todo-backend/k8s/secret.yaml

19 lines
400 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
apiVersion: v1
kind: Secret
metadata:
name: todo-backend-secret
namespace: drone
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编码内容