Always run database-check initContainer

This commit is contained in:
Christian M. Adams
2022-01-31 09:40:19 -05:00
parent d27ce3c34d
commit fab71e054e

View File

@@ -33,7 +33,6 @@ spec:
imagePullSecrets:
- name: {{ image_pull_secret }}
{% endif %}
{% if bundle_ca_crt or projects_persistence|bool or init_container_extra_commands %}
initContainers:
- name: database-check
image: '{{ _init_container_image }}'
@@ -51,6 +50,7 @@ spec:
- name: check-db-pvc
persistentVolumeClaim:
claimName: postgres-{{ ansible_operator_meta.name }}-postgres-0
{% if bundle_ca_crt or projects_persistence|bool or init_container_extra_commands %}
- name: init
image: '{{ _init_container_image }}'
imagePullPolicy: '{{ image_pull_policy }}'