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