add image_pull_secret to postgres install

This commit is contained in:
h-dev.inns-tools.ext
2021-06-30 20:43:33 +02:00
parent 80001a192a
commit 1ddbef6105

View File

@@ -33,6 +33,10 @@ spec:
app.kubernetes.io/part-of: '{{ meta.name }}'
app.kubernetes.io/managed-by: '{{ deployment_type }}-operator'
spec:
{% if image_pull_secret %}
imagePullSecrets:
- name: {{ image_pull_secret }}
{% endif %}
containers:
- image: '{{ postgres_image }}:{{ postgres_image_version }}'
imagePullPolicy: '{{ image_pull_policy }}'