[COMMON] Update Gateway-API resource definitions
[oom.git] / kubernetes / common / mariadb-init / values.yaml
index b2c0a05..2d5de97 100644 (file)
@@ -63,6 +63,24 @@ mariadbGalera: {}
 #  userRootSecret: some-secret-name
 #  userRootSecretKey: password
 
+# These are default settings, required for a chart compilation with "local" cluster
+# setting. These values need to be overwritten in the component's values.yaml, e.g.
+# global:
+#   mariadbGalera: &mariadbGalera
+#     #This flag allows SO to instantiate its own mariadb-galera cluster
+#     localCluster: true
+#     service: nbi-galera
+#     internalPort: 3306
+#     nameOverride: nbi-galera
+# mariadb-init:
+#   mariadb-galera:
+#     nameOverride: nbi-galera
+#     service:
+#       internalPort: 3306
+mariadb-galera:
+  service:
+    internalPort: 3306
+  nameOverride: mariadb-galera
 
 config:
   userPassword: Ci@shsOd3pky1Vji
@@ -117,3 +135,13 @@ resources:
       cpu: 20m
       memory: 20Mi
   unlimited: {}
+
+#Pods Service Account
+serviceAccount:
+  nameOverride: mariadb-init
+  roles:
+    - read
+
+wait_for_job_container:
+  containers:
+    - '{{ include "common.name" . }}'