mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 04:00:06 -03:30
Merge pull request #6007 from donomur/sa-annotations
Add functionality for kubernetes Service Account annotations Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -4,6 +4,12 @@ kind: ServiceAccount
|
|||||||
metadata:
|
metadata:
|
||||||
name: awx
|
name: awx
|
||||||
namespace: {{ kubernetes_namespace }}
|
namespace: {{ kubernetes_namespace }}
|
||||||
|
{% if kubernetes_service_account_annotations is defined %}
|
||||||
|
annotations:
|
||||||
|
{% for key, value in kubernetes_service_account_annotations.items() %}
|
||||||
|
{{ key }}: {{ value }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% if kubernetes_image_pull_secrets is defined %}
|
{% if kubernetes_image_pull_secrets is defined %}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: "{{ kubernetes_image_pull_secrets }}"
|
- name: "{{ kubernetes_image_pull_secrets }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user