Sonsino, Ofir (os0695) | 2dda01d | 2018-05-30 18:41:14 +0300 | [diff] [blame] | 1 | apiVersion: v1 |
2 | kind: ConfigMap | ||||
3 | metadata: | ||||
4 | name: {{ include "common.fullname" . }}-dbcmd-configmap | ||||
5 | namespace: {{ include "common.namespace" . }} | ||||
6 | data: | ||||
7 | db_cmd.sh : |- | ||||
8 | #!/bin/sh | ||||
9 | #mysql -uroot -p${MYSQL_ROOT_PASSWORD} -h${MYSQL_HOST} -P3306 < /db-config/vid-pre-init.sql | ||||
10 | mysql -uvidadmin -p${MYSQL_PASSWORD} -h${MYSQL_HOST} -P3306 < /db-config/vid-pre-init.sql | ||||
11 |