mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Moved imagePullSecrets into ServiceAccount definition
This commit is contained in:
@@ -4,6 +4,10 @@ kind: ServiceAccount
|
||||
metadata:
|
||||
name: awx
|
||||
namespace: {{ kubernetes_namespace }}
|
||||
{% if kubernetes_image_pull_secrets is defined %}
|
||||
imagePullSecrets:
|
||||
- name: "{{ kubernetes_image_pull_secrets }}"
|
||||
{% endif %}
|
||||
|
||||
---
|
||||
kind: Service
|
||||
@@ -202,10 +206,6 @@ spec:
|
||||
volumeMounts:
|
||||
- name: custom-venvs
|
||||
mountPath: {{ custom_venvs_path }}
|
||||
{% endif %}
|
||||
{% if kubernetes_image_pull_secrets is defined %}
|
||||
imagePullSecrets:
|
||||
- name: "{{ kubernetes_image_pull_secrets }}"
|
||||
{% endif %}
|
||||
containers:
|
||||
- name: {{ kubernetes_deployment_name }}-web
|
||||
|
||||
Reference in New Issue
Block a user