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

12 lines
214 B
YAML

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