mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 09:25:10 +03:00
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:
commit
a737f35653
@ -4,6 +4,12 @@ kind: ServiceAccount
|
||||
metadata:
|
||||
name: awx
|
||||
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 %}
|
||||
imagePullSecrets:
|
||||
- name: "{{ kubernetes_image_pull_secrets }}"
|
||||
|
Loading…
Reference in New Issue
Block a user