Merge pull request #377 from aperigault/aperigault-patch-1

Fix service annotations
This commit is contained in:
Yanis Guenane
2021-06-09 09:53:01 +02:00
committed by GitHub

View File

@@ -11,7 +11,7 @@ metadata:
app.kubernetes.io/component: '{{ deployment_type }}'
app.kubernetes.io/operator-version: '{{ lookup("env", "OPERATOR_VERSION") }}'
{{ service_labels | indent(width=4) }}
{% if ingress_type | lower == 'loadbalancer' and loadbalancer_annotations %}
{% if service_type | lower == 'loadbalancer' and loadbalancer_annotations %}
annotations:
{{ loadbalancer_annotations | indent(width=4) }}
{% endif %}