diff options
Diffstat (limited to 'kubernetes')
172 files changed, 309 insertions, 15 deletions
diff --git a/kubernetes/appc/templates/appc-pv-pvc.yaml b/kubernetes/appc/templates/appc-pv-pvc.yaml new file mode 100644 index 0000000000..51392f7c30 --- /dev/null +++ b/kubernetes/appc/templates/appc-pv-pvc.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: appc-db + namespace: "{{ .Values.nsPrefix }}-appc" + labels: + name: appc-db +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/appc/data +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: appc-db + namespace: "{{ .Values.nsPrefix }}-appc" +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi + selector: + matchLabels: + name: appc-db diff --git a/kubernetes/appc/templates/db-deployment.yaml b/kubernetes/appc/templates/db-deployment.yaml index 239d76f083..542f8f4d42 100644 --- a/kubernetes/appc/templates/db-deployment.yaml +++ b/kubernetes/appc/templates/db-deployment.yaml @@ -34,7 +34,7 @@ spec: restartPolicy: Always volumes: - name: appc-data - hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/appc/data + persistentVolumeClaim: + claimName: appc-db imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" diff --git a/kubernetes/config/docker/init/config-init.sh b/kubernetes/config/docker/init/config-init.sh index ba1142571a..15b4181a75 100755 --- a/kubernetes/config/docker/init/config-init.sh +++ b/kubernetes/config/docker/init/config-init.sh @@ -28,6 +28,7 @@ mkdir -p /config-init/$NAMESPACE/aai/sparky-be/logs/ mkdir -p /config-init/$NAMESPACE/aai/elasticsearch/es-data/ mkdir -p /config-init/$NAMESPACE/aai/search-data-service/logs/ mkdir -p /config-init/$NAMESPACE/aai/data-router/logs/ +mkdir -p /config-init/$NAMESPACE/mso/mariadb/data chmod -R 777 /config-init/$NAMESPACE/sdc/logs/ chmod -R 777 /config-init/$NAMESPACE/portal/logs/ @@ -42,6 +43,7 @@ chmod -R 777 /config-init/$NAMESPACE/aai/sparky-be/logs/ chmod -R 777 /config-init/$NAMESPACE/aai/elasticsearch/es-data/ chmod -R 777 /config-init/$NAMESPACE/aai/search-data-service/logs/ chmod -R 777 /config-init/$NAMESPACE/aai/data-router/logs/ +chmod -R 777 /config-init/$NAMESPACE/policy/mariadb/ # replace the default 'onap' namespace qualification of K8s hostnames within the config files diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/aria_log.00000001 b/kubernetes/config/docker/init/src/config/policy/mariadb/data/aria_log.00000001 Binary files differnew file mode 100644 index 0000000000..8608ff7c73 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/aria_log.00000001 diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/aria_log_control b/kubernetes/config/docker/init/src/config/policy/mariadb/data/aria_log_control Binary files differnew file mode 100644 index 0000000000..9ae850a6a0 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/aria_log_control diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/debian-10.0.flag b/kubernetes/config/docker/init/src/config/policy/mariadb/data/debian-10.0.flag new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/debian-10.0.flag diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/firstrun b/kubernetes/config/docker/init/src/config/policy/mariadb/data/firstrun new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/firstrun diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/ib_logfile0 b/kubernetes/config/docker/init/src/config/policy/mariadb/data/ib_logfile0 Binary files differnew file mode 100644 index 0000000000..cc8b741fc4 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/ib_logfile0 diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/ib_logfile1 b/kubernetes/config/docker/init/src/config/policy/mariadb/data/ib_logfile1 Binary files differnew file mode 100644 index 0000000000..274bba07cf --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/ib_logfile1 diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/ibdata1 b/kubernetes/config/docker/init/src/config/policy/mariadb/data/ibdata1 Binary files differnew file mode 100644 index 0000000000..3920f04824 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/ibdata1 diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/log/db.opt b/kubernetes/config/docker/init/src/config/policy/mariadb/data/log/db.opt new file mode 100644 index 0000000000..d8429c4e0d --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/log/db.opt @@ -0,0 +1,2 @@ +default-character-set=latin1 +default-collation=latin1_swedish_ci diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/multi-master.info b/kubernetes/config/docker/init/src/config/policy/mariadb/data/multi-master.info new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/multi-master.info diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/column_stats.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/column_stats.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/column_stats.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/column_stats.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/column_stats.MYI Binary files differnew file mode 100644 index 0000000000..9ff5ed6cd2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/column_stats.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/column_stats.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/column_stats.frm Binary files differnew file mode 100644 index 0000000000..fefc7eb21e --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/column_stats.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/columns_priv.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/columns_priv.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/columns_priv.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/columns_priv.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/columns_priv.MYI Binary files differnew file mode 100644 index 0000000000..f261e282b7 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/columns_priv.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/columns_priv.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/columns_priv.frm Binary files differnew file mode 100644 index 0000000000..faa4a8a87c --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/columns_priv.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/db.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/db.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/db.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/db.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/db.MYI Binary files differnew file mode 100644 index 0000000000..628c578248 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/db.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/db.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/db.frm Binary files differnew file mode 100644 index 0000000000..1ab1f59765 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/db.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/event.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/event.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/event.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/event.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/event.MYI Binary files differnew file mode 100644 index 0000000000..fc4d47f02d --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/event.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/event.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/event.frm Binary files differnew file mode 100644 index 0000000000..9089087ecf --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/event.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/func.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/func.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/func.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/func.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/func.MYI Binary files differnew file mode 100644 index 0000000000..b0ddde112f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/func.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/func.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/func.frm Binary files differnew file mode 100644 index 0000000000..42aca49552 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/func.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/general_log.CSM b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/general_log.CSM Binary files differnew file mode 100644 index 0000000000..8d08b8db90 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/general_log.CSM diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/general_log.CSV b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/general_log.CSV new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/general_log.CSV diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/general_log.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/general_log.frm Binary files differnew file mode 100644 index 0000000000..919bb7ff2b --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/general_log.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/gtid_slave_pos.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/gtid_slave_pos.frm Binary files differnew file mode 100644 index 0000000000..d09f1d4c61 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/gtid_slave_pos.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/gtid_slave_pos.ibd b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/gtid_slave_pos.ibd Binary files differnew file mode 100644 index 0000000000..b74a0af6dd --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/gtid_slave_pos.ibd diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_category.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_category.MYD Binary files differnew file mode 100644 index 0000000000..360a41a527 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_category.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_category.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_category.MYI Binary files differnew file mode 100644 index 0000000000..c381776201 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_category.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_category.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_category.frm Binary files differnew file mode 100644 index 0000000000..e9dc205bc0 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_category.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_keyword.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_keyword.MYD Binary files differnew file mode 100644 index 0000000000..570509bbc5 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_keyword.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_keyword.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_keyword.MYI Binary files differnew file mode 100644 index 0000000000..36715cf3f8 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_keyword.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_keyword.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_keyword.frm Binary files differnew file mode 100644 index 0000000000..999eec1ee4 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_keyword.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_relation.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_relation.MYD Binary files differnew file mode 100644 index 0000000000..f963ea5cbe --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_relation.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_relation.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_relation.MYI Binary files differnew file mode 100644 index 0000000000..53190af9c8 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_relation.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_relation.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_relation.frm Binary files differnew file mode 100644 index 0000000000..6eef95a38f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_relation.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_topic.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_topic.MYD Binary files differnew file mode 100644 index 0000000000..ad4c19e684 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_topic.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_topic.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_topic.MYI Binary files differnew file mode 100644 index 0000000000..d8ef966307 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_topic.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_topic.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_topic.frm Binary files differnew file mode 100644 index 0000000000..3b59b25043 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/help_topic.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/host.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/host.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/host.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/host.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/host.MYI Binary files differnew file mode 100644 index 0000000000..2a1cfcb35f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/host.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/host.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/host.frm Binary files differnew file mode 100644 index 0000000000..62ae8cd164 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/host.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/index_stats.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/index_stats.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/index_stats.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/index_stats.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/index_stats.MYI Binary files differnew file mode 100644 index 0000000000..05be1c8824 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/index_stats.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/index_stats.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/index_stats.frm Binary files differnew file mode 100644 index 0000000000..e4cf7e0097 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/index_stats.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_index_stats.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_index_stats.frm Binary files differnew file mode 100644 index 0000000000..ed0f019b3e --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_index_stats.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_index_stats.ibd b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_index_stats.ibd Binary files differnew file mode 100644 index 0000000000..daac102f2f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_index_stats.ibd diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_table_stats.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_table_stats.frm Binary files differnew file mode 100644 index 0000000000..64e3af3a5d --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_table_stats.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_table_stats.ibd b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_table_stats.ibd Binary files differnew file mode 100644 index 0000000000..7716fcc485 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/innodb_table_stats.ibd diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/plugin.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/plugin.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/plugin.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/plugin.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/plugin.MYI Binary files differnew file mode 100644 index 0000000000..5e741be58b --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/plugin.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/plugin.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/plugin.frm Binary files differnew file mode 100644 index 0000000000..7f57bf2285 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/plugin.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proc.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proc.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proc.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proc.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proc.MYI Binary files differnew file mode 100644 index 0000000000..253b7c730b --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proc.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proc.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proc.frm Binary files differnew file mode 100644 index 0000000000..a7c27b092b --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proc.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/procs_priv.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/procs_priv.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/procs_priv.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/procs_priv.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/procs_priv.MYI Binary files differnew file mode 100644 index 0000000000..62aca26c23 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/procs_priv.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/procs_priv.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/procs_priv.frm Binary files differnew file mode 100644 index 0000000000..03a6ce60cc --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/procs_priv.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proxies_priv.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proxies_priv.MYD new file mode 100644 index 0000000000..5d8c536113 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proxies_priv.MYD @@ -0,0 +1 @@ +ÿlocalhost root VUÚXÿae9df72d0f92 root VUÚX
\ No newline at end of file diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proxies_priv.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proxies_priv.MYI Binary files differnew file mode 100644 index 0000000000..8ad2f00877 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proxies_priv.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proxies_priv.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proxies_priv.frm Binary files differnew file mode 100644 index 0000000000..194540fa8a --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/proxies_priv.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/roles_mapping.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/roles_mapping.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/roles_mapping.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/roles_mapping.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/roles_mapping.MYI Binary files differnew file mode 100644 index 0000000000..adcba590dd --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/roles_mapping.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/roles_mapping.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/roles_mapping.frm Binary files differnew file mode 100644 index 0000000000..c3d60e7e1f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/roles_mapping.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/servers.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/servers.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/servers.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/servers.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/servers.MYI Binary files differnew file mode 100644 index 0000000000..c44463f03f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/servers.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/servers.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/servers.frm Binary files differnew file mode 100644 index 0000000000..88922438df --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/servers.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/slow_log.CSM b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/slow_log.CSM Binary files differnew file mode 100644 index 0000000000..8d08b8db90 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/slow_log.CSM diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/slow_log.CSV b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/slow_log.CSV new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/slow_log.CSV diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/slow_log.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/slow_log.frm Binary files differnew file mode 100644 index 0000000000..35095395f9 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/slow_log.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/table_stats.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/table_stats.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/table_stats.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/table_stats.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/table_stats.MYI Binary files differnew file mode 100644 index 0000000000..0d26cd38bc --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/table_stats.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/table_stats.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/table_stats.frm Binary files differnew file mode 100644 index 0000000000..6bac5bddc8 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/table_stats.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/tables_priv.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/tables_priv.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/tables_priv.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/tables_priv.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/tables_priv.MYI Binary files differnew file mode 100644 index 0000000000..610ffef58f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/tables_priv.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/tables_priv.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/tables_priv.frm Binary files differnew file mode 100644 index 0000000000..008358b564 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/tables_priv.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone.MYI Binary files differnew file mode 100644 index 0000000000..99242f2217 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone.frm Binary files differnew file mode 100644 index 0000000000..5e091a235b --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_leap_second.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_leap_second.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_leap_second.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_leap_second.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_leap_second.MYI Binary files differnew file mode 100644 index 0000000000..806384388e --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_leap_second.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_leap_second.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_leap_second.frm Binary files differnew file mode 100644 index 0000000000..ae89ff5940 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_leap_second.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_name.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_name.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_name.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_name.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_name.MYI Binary files differnew file mode 100644 index 0000000000..46e949ceef --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_name.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_name.frm Binary files differnew file mode 100644 index 0000000000..a9e7942d50 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition.MYI Binary files differnew file mode 100644 index 0000000000..a98b680dd1 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition.frm Binary files differnew file mode 100644 index 0000000000..58743dcd03 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition_type.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition_type.MYD new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition_type.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition_type.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition_type.MYI Binary files differnew file mode 100644 index 0000000000..d4f0bc126d --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition_type.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition_type.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition_type.frm Binary files differnew file mode 100644 index 0000000000..7d0229c3f9 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/time_zone_transition_type.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/user.MYD b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/user.MYD Binary files differnew file mode 100644 index 0000000000..107af559b1 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/user.MYD diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/user.MYI b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/user.MYI Binary files differnew file mode 100644 index 0000000000..c6eb47dad2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/user.MYI diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/user.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/user.frm Binary files differnew file mode 100644 index 0000000000..9e5f937d02 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/mysql/user.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/accounts.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/accounts.frm Binary files differnew file mode 100644 index 0000000000..76257e5c82 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/accounts.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/cond_instances.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/cond_instances.frm Binary files differnew file mode 100644 index 0000000000..746f90ded7 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/cond_instances.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/db.opt b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/db.opt new file mode 100644 index 0000000000..4ed6015f9c --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/db.opt @@ -0,0 +1,2 @@ +default-character-set=utf8 +default-collation=utf8_general_ci diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_current.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_current.frm Binary files differnew file mode 100644 index 0000000000..55206140d9 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_current.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_history.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_history.frm Binary files differnew file mode 100644 index 0000000000..ff098a6954 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_history.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_history_long.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_history_long.frm Binary files differnew file mode 100644 index 0000000000..7c8057626e --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_history_long.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_account_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_account_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..e550bc8e8f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_account_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_host_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_host_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..07b01595dd --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_host_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_thread_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_thread_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..953423d11e --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_thread_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_user_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_user_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..ee203b42a4 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_by_user_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_global_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_global_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..17695dfdf7 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_stages_summary_global_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_current.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_current.frm Binary files differnew file mode 100644 index 0000000000..f1c697dd92 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_current.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_history.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_history.frm Binary files differnew file mode 100644 index 0000000000..a22f24552c --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_history.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_history_long.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_history_long.frm Binary files differnew file mode 100644 index 0000000000..90184ae324 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_history_long.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_account_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_account_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..6d96ec64f6 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_account_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_digest.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_digest.frm Binary files differnew file mode 100644 index 0000000000..bd5d1be7af --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_digest.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_host_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_host_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..a4cbc467dc --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_host_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_thread_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_thread_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..2463e3f9e0 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_thread_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_user_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_user_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..8e1e1b49be --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_by_user_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_global_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_global_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..0866d50e2b --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_statements_summary_global_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_current.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_current.frm Binary files differnew file mode 100644 index 0000000000..e511ca188c --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_current.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_history.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_history.frm Binary files differnew file mode 100644 index 0000000000..0ccd30e689 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_history.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_history_long.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_history_long.frm Binary files differnew file mode 100644 index 0000000000..6d80113cc9 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_history_long.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_account_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_account_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..1e866b6765 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_account_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_host_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_host_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..2da5615afc --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_host_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_instance.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_instance.frm Binary files differnew file mode 100644 index 0000000000..8830264e9e --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_instance.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_thread_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_thread_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..d72308ce21 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_thread_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_user_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_user_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..787a3a5184 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_by_user_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_global_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_global_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..f690713d5f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/events_waits_summary_global_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/file_instances.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/file_instances.frm Binary files differnew file mode 100644 index 0000000000..85836660f1 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/file_instances.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/file_summary_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/file_summary_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..591f0e9559 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/file_summary_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/file_summary_by_instance.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/file_summary_by_instance.frm Binary files differnew file mode 100644 index 0000000000..9f5807ed05 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/file_summary_by_instance.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/host_cache.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/host_cache.frm Binary files differnew file mode 100644 index 0000000000..be7423dd1f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/host_cache.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/hosts.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/hosts.frm Binary files differnew file mode 100644 index 0000000000..c6aa503830 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/hosts.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/mutex_instances.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/mutex_instances.frm Binary files differnew file mode 100644 index 0000000000..cca04529d2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/mutex_instances.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/objects_summary_global_by_type.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/objects_summary_global_by_type.frm Binary files differnew file mode 100644 index 0000000000..2fa0064147 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/objects_summary_global_by_type.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/performance_timers.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/performance_timers.frm Binary files differnew file mode 100644 index 0000000000..f7e1660bfc --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/performance_timers.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/rwlock_instances.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/rwlock_instances.frm Binary files differnew file mode 100644 index 0000000000..135277b762 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/rwlock_instances.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/session_account_connect_attrs.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/session_account_connect_attrs.frm Binary files differnew file mode 100644 index 0000000000..d73a80e510 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/session_account_connect_attrs.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/session_connect_attrs.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/session_connect_attrs.frm Binary files differnew file mode 100644 index 0000000000..31c74757c0 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/session_connect_attrs.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_actors.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_actors.frm Binary files differnew file mode 100644 index 0000000000..276443fc21 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_actors.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_consumers.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_consumers.frm Binary files differnew file mode 100644 index 0000000000..80f6dd0766 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_consumers.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_instruments.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_instruments.frm Binary files differnew file mode 100644 index 0000000000..fd83053749 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_instruments.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_objects.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_objects.frm Binary files differnew file mode 100644 index 0000000000..89ae59bb69 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_objects.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_timers.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_timers.frm Binary files differnew file mode 100644 index 0000000000..7058356474 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/setup_timers.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/socket_instances.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/socket_instances.frm Binary files differnew file mode 100644 index 0000000000..20963dc4db --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/socket_instances.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/socket_summary_by_event_name.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/socket_summary_by_event_name.frm Binary files differnew file mode 100644 index 0000000000..739b5d5308 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/socket_summary_by_event_name.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/socket_summary_by_instance.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/socket_summary_by_instance.frm Binary files differnew file mode 100644 index 0000000000..649c26f176 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/socket_summary_by_instance.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/table_io_waits_summary_by_index_usage.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/table_io_waits_summary_by_index_usage.frm Binary files differnew file mode 100644 index 0000000000..0fb793b39b --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/table_io_waits_summary_by_index_usage.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/table_io_waits_summary_by_table.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/table_io_waits_summary_by_table.frm Binary files differnew file mode 100644 index 0000000000..ffe51b38f7 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/table_io_waits_summary_by_table.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/table_lock_waits_summary_by_table.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/table_lock_waits_summary_by_table.frm Binary files differnew file mode 100644 index 0000000000..e771595e4f --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/table_lock_waits_summary_by_table.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/threads.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/threads.frm Binary files differnew file mode 100644 index 0000000000..121dfd3dce --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/threads.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/users.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/users.frm Binary files differnew file mode 100644 index 0000000000..6bb88f3e0c --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/performance_schema/users.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/support/db.opt b/kubernetes/config/docker/init/src/config/policy/mariadb/data/support/db.opt new file mode 100644 index 0000000000..d8429c4e0d --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/support/db.opt @@ -0,0 +1,2 @@ +default-character-set=latin1 +default-collation=latin1_swedish_ci diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/support/db_version.frm b/kubernetes/config/docker/init/src/config/policy/mariadb/data/support/db_version.frm Binary files differnew file mode 100644 index 0000000000..29d4a206f2 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/support/db_version.frm diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/support/db_version.ibd b/kubernetes/config/docker/init/src/config/policy/mariadb/data/support/db_version.ibd Binary files differnew file mode 100644 index 0000000000..c331218a4a --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/support/db_version.ibd diff --git a/kubernetes/config/docker/init/src/config/policy/mariadb/data/xacml/db.opt b/kubernetes/config/docker/init/src/config/policy/mariadb/data/xacml/db.opt new file mode 100644 index 0000000000..d8429c4e0d --- /dev/null +++ b/kubernetes/config/docker/init/src/config/policy/mariadb/data/xacml/db.opt @@ -0,0 +1,2 @@ +default-character-set=latin1 +default-collation=latin1_swedish_ci diff --git a/kubernetes/message-router/templates/message-router-kafka.yaml b/kubernetes/message-router/templates/message-router-kafka.yaml index 19583bf18a..ab5c3d497c 100644 --- a/kubernetes/message-router/templates/message-router-kafka.yaml +++ b/kubernetes/message-router/templates/message-router-kafka.yaml @@ -74,8 +74,8 @@ spec: hostPath: path: /var/run/docker.sock - name: kafka-data - hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-kafka/ + persistentVolumeClaim: + claimName: message-router-kafka - name: start-kafka hostPath: path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/start-kafka.sh diff --git a/kubernetes/message-router/templates/message-router-pv-pvc.yaml b/kubernetes/message-router/templates/message-router-pv-pvc.yaml new file mode 100644 index 0000000000..16d6fcd446 --- /dev/null +++ b/kubernetes/message-router/templates/message-router-pv-pvc.yaml @@ -0,0 +1,61 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: message-router-kafka + namespace: "{{ .Values.nsPrefix }}-message-router" + labels: + name: message-router-kafka +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-kafka/ +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: message-router-kafka + namespace: "{{ .Values.nsPrefix }}-message-router" +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi + selector: + matchLabels: + name: message-router-kafka +--- +apiVersion: v1 +kind: PersistentVolume +metadata: + name: message-router-zookeeper + namespace: "{{ .Values.nsPrefix }}-message-router" + labels: + name: message-router-zookeeper +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: message-router-zookeeper + namespace: "{{ .Values.nsPrefix }}-message-router" +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi + selector: + matchLabels: + name: message-router-zookeeper diff --git a/kubernetes/message-router/templates/message-router-zookeeper.yaml b/kubernetes/message-router/templates/message-router-zookeeper.yaml index 5b46dc02e3..c07ef3a8c8 100644 --- a/kubernetes/message-router/templates/message-router-zookeeper.yaml +++ b/kubernetes/message-router/templates/message-router-zookeeper.yaml @@ -30,7 +30,7 @@ spec: restartPolicy: Always volumes: - name: zookeeper-data - hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper + persistentVolumeClaim: + claimName: message-router-zookeeper imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" diff --git a/kubernetes/mso/templates/db-deployment.yaml b/kubernetes/mso/templates/db-deployment.yaml index 76cf2ec912..389fb5ab75 100644 --- a/kubernetes/mso/templates/db-deployment.yaml +++ b/kubernetes/mso/templates/db-deployment.yaml @@ -32,6 +32,8 @@ spec: name: mso-mariadb-conf - mountPath: /docker-entrypoint-initdb.d name: mso-mariadb-docker-entrypoint-initdb + - mountPath: /var/lib/mysql + name: mso-mariadb-data ports: - containerPort: 3306 name: mariadb @@ -47,5 +49,8 @@ spec: - name: mso-mariadb-docker-entrypoint-initdb hostPath: path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/mariadb/docker-entrypoint-initdb.d + - name: mso-mariadb-data + persistentVolumeClaim: + claimName: mso-db imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" diff --git a/kubernetes/mso/templates/mso-pv-pvc.yaml b/kubernetes/mso/templates/mso-pv-pvc.yaml new file mode 100644 index 0000000000..c195980841 --- /dev/null +++ b/kubernetes/mso/templates/mso-pv-pvc.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: mso-db + namespace: "{{ .Values.nsPrefix }}-mso" + labels: + name: mso-db +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/mariadb/data +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: mso-db + namespace: "{{ .Values.nsPrefix }}-mso" +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi + selector: + matchLabels: + name: mso-db diff --git a/kubernetes/oneclick/createAll.bash b/kubernetes/oneclick/createAll.bash index e408d67477..636d86fcfd 100755 --- a/kubernetes/oneclick/createAll.bash +++ b/kubernetes/oneclick/createAll.bash @@ -25,7 +25,7 @@ create_registry_key() { } create_onap_helm() { - helm install ../$2/ --name $1-$2 --namespace $1 --set nsPrefix=$1 --set nodePortPrefix=$3 + helm install ../$2/ --name $1-$2 --namespace $1 --set nsPrefix=$1,nodePortPrefix=$3 } diff --git a/kubernetes/policy/templates/dep-maria.yaml b/kubernetes/policy/templates/dep-maria.yaml index abbfdd8f4b..2b0e40eb4e 100644 --- a/kubernetes/policy/templates/dep-maria.yaml +++ b/kubernetes/policy/templates/dep-maria.yaml @@ -24,10 +24,17 @@ spec: name: mariadb ports: - containerPort: 3306 + volumeMounts: + - mountPath: /var/lib/mysql + name: policy-mariadb-data readinessProbe: tcpSocket: port: 3306 initialDelaySeconds: 5 periodSeconds: 10 + volumes: + - name: policy-mariadb-data + persistentVolumeClaim: + claimName: policy-db imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" diff --git a/kubernetes/policy/templates/policy-pv-pvc.yaml b/kubernetes/policy/templates/policy-pv-pvc.yaml new file mode 100644 index 0000000000..dda9820c06 --- /dev/null +++ b/kubernetes/policy/templates/policy-pv-pvc.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: policy-db + namespace: "{{ .Values.nsPrefix }}-policy" + labels: + name: policy-db +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/mariadb/data/ +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: policy-db + namespace: "{{ .Values.nsPrefix }}-policy" +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi + selector: + matchLabels: + name: policy-db diff --git a/kubernetes/portal/templates/portal-mariadb-deployment.yaml b/kubernetes/portal/templates/portal-mariadb-deployment.yaml index a31c6a24b2..16c0d7e6d2 100755 --- a/kubernetes/portal/templates/portal-mariadb-deployment.yaml +++ b/kubernetes/portal/templates/portal-mariadb-deployment.yaml @@ -35,7 +35,7 @@ spec: periodSeconds: 10 volumes: - name: portal-mariadb-data - hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/mariadb/data + persistentVolumeClaim: + claimName: portal-db imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" diff --git a/kubernetes/portal/templates/portal-pv-pvc.yaml b/kubernetes/portal/templates/portal-pv-pvc.yaml new file mode 100644 index 0000000000..5d41e4febe --- /dev/null +++ b/kubernetes/portal/templates/portal-pv-pvc.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: portal-db + namespace: "{{ .Values.nsPrefix }}-portal" + labels: + name: portal-db +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/mariadb/data +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: portal-db + namespace: "{{ .Values.nsPrefix }}-portal" +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi + selector: + matchLabels: + name: portal-db diff --git a/kubernetes/sdc/templates/sdc-cs.yaml b/kubernetes/sdc/templates/sdc-cs.yaml index b660c90d64..9021194968 100644 --- a/kubernetes/sdc/templates/sdc-cs.yaml +++ b/kubernetes/sdc/templates/sdc-cs.yaml @@ -73,8 +73,8 @@ spec: periodSeconds: 10 volumes: - name: sdc-sdc-cs-cs - hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/sdc-cs/CS + persistentVolumeClaim: + claimName: sdc-cs-db - name: sdc-environments hostPath: path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/environments diff --git a/kubernetes/sdc/templates/sdc-pv-pvc.yaml b/kubernetes/sdc/templates/sdc-pv-pvc.yaml new file mode 100644 index 0000000000..41f85e9465 --- /dev/null +++ b/kubernetes/sdc/templates/sdc-pv-pvc.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: sdc-cs-db + namespace: "{{ .Values.nsPrefix }}-sdc" + labels: + name: sdc-cs-db +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/sdc-cs/CS +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: sdc-cs-db + namespace: "{{ .Values.nsPrefix }}-sdc" +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi + selector: + matchLabels: + name: sdc-cs-db diff --git a/kubernetes/sdnc/templates/db-deployment.yaml b/kubernetes/sdnc/templates/db-deployment.yaml index fc692ba58e..837079819f 100644 --- a/kubernetes/sdnc/templates/db-deployment.yaml +++ b/kubernetes/sdnc/templates/db-deployment.yaml @@ -34,7 +34,7 @@ spec: periodSeconds: 10 volumes: - name: sdnc-data - hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/data + persistentVolumeClaim: + claimName: sdnc-db imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" diff --git a/kubernetes/sdnc/templates/sdnc-pv-pvc.yaml b/kubernetes/sdnc/templates/sdnc-pv-pvc.yaml new file mode 100644 index 0000000000..ac890c62b9 --- /dev/null +++ b/kubernetes/sdnc/templates/sdnc-pv-pvc.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: sdnc-db + namespace: "{{ .Values.nsPrefix }}-sdnc" + labels: + name: sdnc-db +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/data +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: sdnc-db + namespace: "{{ .Values.nsPrefix }}-sdnc" +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi + selector: + matchLabels: + name: sdnc-db diff --git a/kubernetes/vid/templates/vid-mariadb-deployment.yaml b/kubernetes/vid/templates/vid-mariadb-deployment.yaml index 7623674ee9..e5032f33c7 100644 --- a/kubernetes/vid/templates/vid-mariadb-deployment.yaml +++ b/kubernetes/vid/templates/vid-mariadb-deployment.yaml @@ -44,8 +44,8 @@ spec: periodSeconds: 10 volumes: - name: vid-mariadb-data - hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/vid/mariadb/data + persistentVolumeClaim: + claimName: vid-db - name: vid-pre-init hostPath: path: /dockerdata-nfs/{{ .Values.nsPrefix }}/vid/vid/lf_config/vid-pre-init.sql diff --git a/kubernetes/vid/templates/vid-pv-pvc.yaml b/kubernetes/vid/templates/vid-pv-pvc.yaml new file mode 100644 index 0000000000..71c5d733dc --- /dev/null +++ b/kubernetes/vid/templates/vid-pv-pvc.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: vid-db + namespace: "{{ .Values.nsPrefix }}-vid" + labels: + name: vid-db +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/vid/mariadb/data +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: vid-db + namespace: "{{ .Values.nsPrefix }}-vid" +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi + selector: + matchLabels: + name: vid-db |