mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 01:49:44 +00:00
mysql: added option to specify root password
This commit is contained in:
parent
9a39c369b2
commit
ebb958b531
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ spec:
|
|||
containers:
|
||||
- name: mariadb
|
||||
image: mariadb
|
||||
env:
|
||||
- name: MYSQL_ROOT_PASSWORD_FILE
|
||||
value: /var/lib/mysql/rootpwd
|
||||
ports:
|
||||
- containerPort: 3306
|
||||
name: mysql
|
||||
|
|
|
|||
Loading…
Reference in a new issue