prod mysql secret for cm
parent
df30bba104
commit
8d0088d46c
|
@ -76,13 +76,22 @@ spec:
|
|||
image: mysql:8.0.33
|
||||
env:
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
value: "Beaconfire@2099"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: mysql
|
||||
key: mysql_root
|
||||
- name: MYSQL_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: mysql
|
||||
key: mysql_user
|
||||
- name: MYSQL_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: mysql
|
||||
key: mysql_apps
|
||||
- name: MYSQL_DATABASE
|
||||
value: "test"
|
||||
- name: MYSQL_USER
|
||||
value: "app"
|
||||
- name: MYSQL_PASSWORD
|
||||
value: "HelloBeaconfire!"
|
||||
volumeMounts:
|
||||
- name: mysql-m
|
||||
mountPath: /var/lib/mysql
|
||||
|
|
|
@ -76,13 +76,20 @@ spec:
|
|||
image: mysql:8.0.33
|
||||
env:
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
value: "Beaconfire@2099"
|
||||
- name: MYSQL_DATABASE
|
||||
value: "test"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: mysql
|
||||
key: mysql_root
|
||||
- name: MYSQL_USER
|
||||
value: "app"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: mysql
|
||||
key: mysql_user
|
||||
- name: MYSQL_PASSWORD
|
||||
value: "HelloBeaconfire!"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: mysql
|
||||
key: mysql_apps
|
||||
volumeMounts:
|
||||
- name: mysql-s
|
||||
mountPath: /var/lib/mysql
|
||||
|
|
Loading…
Reference in New Issue