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" . }}-galera-sql-configmap |
| 5 | namespace: "{{ include "common.namespace" . }}" |
| 6 | data: |
| 7 | vid-pre-init.sql: |- |
| 8 | CREATE TABLE IF NOT EXISTS `vid_openecomp_epsdk`.`schema_info` ( |
| 9 | `SCHEMA_ID` VARCHAR(25) NOT NULL, |
| 10 | `SCHEMA_DESC` VARCHAR(75) NOT NULL, |
| 11 | `DATASOURCE_TYPE` VARCHAR(100) NULL DEFAULT NULL, |
| 12 | `CONNECTION_URL` VARCHAR(200) NOT NULL, |
| 13 | `USER_NAME` VARCHAR(45) NOT NULL, |
| 14 | `PASSWORD` VARCHAR(45) NULL DEFAULT NULL, |
| 15 | `DRIVER_CLASS` VARCHAR(100) NOT NULL, |
| 16 | `MIN_POOL_SIZE` INT(11) NOT NULL, |
| 17 | `MAX_POOL_SIZE` INT(11) NOT NULL, |
| 18 | `IDLE_CONNECTION_TEST_PERIOD` INT(11) NOT NULL) |
| 19 | ENGINE = InnoDB |
| 20 | DEFAULT CHARACTER SET = utf8; |
| 21 | |