mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 22:18:01 -03:30
Merge pull request #8434 from nicolas-g/patch-1
Add support for Kubernetes Pod annotations Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
8206874158
@ -104,6 +104,12 @@ spec:
|
||||
{% endif %}
|
||||
template:
|
||||
metadata:
|
||||
{% if kubernetes_pod_annotations is defined %}
|
||||
annotations:
|
||||
{% for key, value in kubernetes_pod_annotations.items() %}
|
||||
{{ key }}: {{ value }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
labels:
|
||||
name: {{ kubernetes_deployment_name }}-web-deploy
|
||||
service: django
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user