apiVersion: v1
data:
  create_databases.sql: |
    CREATE OR REPLACE USER 'skipper'@'%' identified by 'change-me';
    CREATE DATABASE IF NOT EXISTS `skipper`;
    GRANT ALL ON skipper.* to 'skipper'@'%';
    FLUSH PRIVILEGES;
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/component: primary
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: mariadb
    helm.sh/chart: mariadb-10.3.2
  name: RELEASE-NAME-mariadb-init-scripts
  namespace: default
