Configurable image registry and service account for Postgres deployment.

This commit is contained in:
Martin Adema
2019-11-20 14:15:59 +01:00
parent 6f2b10daf5
commit 80b75a163a
2 changed files with 18 additions and 0 deletions

View File

@@ -31,3 +31,18 @@ master:
{{ affinity | to_nice_yaml(indent=2) | indent(width=4, indentfirst=True) }}
{% endif %}
{% endif %}
{% if pg_image_registry is defined %}
image:
registry: {{ pg_image_registry }}
volumePermissions:
image:
registry: {{ pg_image_registry }}
metrics:
image:
registry: {{ pg_image_registry }}
{% endif %}
{% if pg_serviceaccount is defined %}
serviceAccount:
enabled: true
name: {{ pg_serviceaccount }}
{% endif %}