Allow setting annotations on ingress-nginx service (#11544)

This commit is contained in:
Qasim Mehmood
2024-09-18 15:54:44 +05:00
committed by GitHub
parent c3de25c782
commit e550118314
3 changed files with 7 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ metadata:
labels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx
{% if ingress_nginx_service_annotations %}
annotations:
{{ ingress_nginx_service_annotations | to_nice_yaml(indent=2, width=1337) | indent(width=4) }}
{% endif %}
spec:
type: {{ ingress_nginx_service_type }}
ports: