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