kubernetes-yaml/description/Configuration/Secret/example-mysql.yml

12 lines
214 B
YAML
Raw Normal View History

2023-12-15 16:39:01 +08:00
apiVersion: v1
kind: Secret
metadata:
name: example-mysql
namespace: mysql
type: Opaque
stringData:
MYSQL_ROOT_PASSWORD: pKMoNmuCyxP6QZq7
MYSQL_USER: app
MYSQL_PASSWORD: QrgkqetX7LNz38hB
immutable: true