added 'tower_image_pull_secret'

This commit is contained in:
Deric Crago
2020-09-18 11:46:43 -04:00
parent cc3a752550
commit 7a559b9f3b
2 changed files with 5 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ tower_extra_volumes: ''
tower_image: quay.io/ansible/awx:execution-environments
tower_image_pull_policy: IfNotPresent
tower_image_pull_secret: ''
default_ee: quay.io/ansible/awx-ee
tower_create_preload_data: true

View File

@@ -18,6 +18,10 @@ spec:
app: '{{ deployment_type }}'
spec:
serviceAccountName: '{{ meta.name }}'
{% if tower_image_pull_secret %}
imagePullSecrets:
- name: {{ tower_image_pull_secret }}
{% endif %}
containers:
- image: '{{ tower_redis_image }}'
name: redis