From 5bc96cf722d77c6127067a1d5c6d5ff600d6908a Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Mon, 6 Feb 2023 14:32:33 +0200 Subject: [PATCH] update comments --- .../1.0.0/templates/lib/service/_additionalAnnotations.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/library/common/1.0.0/templates/lib/service/_additionalAnnotations.tpl b/library/common/1.0.0/templates/lib/service/_additionalAnnotations.tpl index 6dfb9e1ad5..42d7bc4e56 100644 --- a/library/common/1.0.0/templates/lib/service/_additionalAnnotations.tpl +++ b/library/common/1.0.0/templates/lib/service/_additionalAnnotations.tpl @@ -1,7 +1,9 @@ {{/* Service - MetalLB Annotations */}} {{/* Call this template: -{{ include "ix.v1.common.lib.service.metalLBAnnotations" (dict "rootCtx" $rootCtx "annotations" $annotations) -}} +{{ include "ix.v1.common.lib.service.metalLBAnnotations" (dict "rootCtx" $rootCtx "objectData" $objectData "annotations" $annotations) -}} rootCtx: The root context of the service +objectData: The object data of the service +annotations: The annotations variable reference, to append the MetalLB annotations */}} {{- define "ix.v1.common.lib.service.metalLBAnnotations" -}} @@ -25,6 +27,7 @@ rootCtx: The root context of the service {{/* Call this template: {{ include "ix.v1.common.lib.service.traefikAnnotations" (dict "rootCtx" $rootCtx "annotations" $annotations) -}} rootCtx: The root context of the service +annotations: The annotations variable reference, to append the Traefik annotations */}} {{- define "ix.v1.common.lib.service.traefikAnnotations" -}}