mariadb: change container name to static
Change-Id: I2f7939015cced812cd7e49ad35c60d8384f13c1f
This commit is contained in:
parent
b62a46336c
commit
38775079fb
@ -28,7 +28,7 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
"helm.sh/hook": test-success
|
"helm.sh/hook": test-success
|
||||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||||
{{ dict "envAll" $envAll "podName" "mariadb-test" "containerNames" (list "init" "mariadb-mariadb-test") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }}
|
{{ dict "envAll" $envAll "podName" "mariadb-test" "containerNames" (list "init" "mariadb-test") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
shareProcessNamespace: true
|
shareProcessNamespace: true
|
||||||
serviceAccountName: {{ $serviceAccountName }}
|
serviceAccountName: {{ $serviceAccountName }}
|
||||||
@ -39,7 +39,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "tests" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "tests" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{.Release.Name}}-mariadb-test
|
- name: mariadb-test
|
||||||
{{ dict "envAll" $envAll "application" "tests" "container" "test" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 6 }}
|
{{ dict "envAll" $envAll "application" "tests" "container" "test" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 6 }}
|
||||||
{{ tuple $envAll "scripted_test" | include "helm-toolkit.snippets.image" | indent 6 }}
|
{{ tuple $envAll "scripted_test" | include "helm-toolkit.snippets.image" | indent 6 }}
|
||||||
command:
|
command:
|
||||||
|
@ -17,7 +17,7 @@ pod:
|
|||||||
mariadb-backup: runtime/default
|
mariadb-backup: runtime/default
|
||||||
mariadb-test:
|
mariadb-test:
|
||||||
init: runtime/default
|
init: runtime/default
|
||||||
mariadb-mariadb-test: runtime/default
|
mariadb-test: runtime/default
|
||||||
prometheus-mysql-exporter:
|
prometheus-mysql-exporter:
|
||||||
init: runtime/default
|
init: runtime/default
|
||||||
mysql-exporter: runtime/default
|
mysql-exporter: runtime/default
|
||||||
|
Loading…
Reference in New Issue
Block a user