From 626b8acaa9db9c0ce5b25bc89c3b46f1bbfdbd64 Mon Sep 17 00:00:00 2001 From: aperigault Date: Fri, 4 Jun 2021 15:53:41 +0200 Subject: [PATCH] Fix service --- roles/installer/templates/service.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/installer/templates/service.yaml.j2 b/roles/installer/templates/service.yaml.j2 index 522be843..d77d27e5 100644 --- a/roles/installer/templates/service.yaml.j2 +++ b/roles/installer/templates/service.yaml.j2 @@ -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 %}