mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Add Kubernetes Service support for annotations
This commit is contained in:
parent
9fc5579a50
commit
8b4b54d2c4
@ -518,6 +518,12 @@ metadata:
|
||||
namespace: {{ kubernetes_namespace }}
|
||||
labels:
|
||||
name: {{ kubernetes_deployment_name }}-web-svc
|
||||
{% if kubernetes_service_annotations is defined %}
|
||||
annotations:
|
||||
{% for key, value in kubernetes_service_annotations.items() %}
|
||||
{{ key }}: {{ value | quote }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
spec:
|
||||
type: {{ kubernetes_web_svc_type }}
|
||||
ports:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user