From 42f56fe7925dfa950663c437a59be4e6cdbb51ad Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 31 Jul 2023 17:07:56 +0200 Subject: [PATCH] fix(common): correct operator validation typo --- library/common/Chart.yaml | 2 +- .../common/templates/lib/util/_verify_operator.tpl | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/library/common/Chart.yaml b/library/common/Chart.yaml index e9446ff3..2f08c75b 100644 --- a/library/common/Chart.yaml +++ b/library/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 14.0.0 +version: 14.0.1 diff --git a/library/common/templates/lib/util/_verify_operator.tpl b/library/common/templates/lib/util/_verify_operator.tpl index 305db274..825f40b3 100644 --- a/library/common/templates/lib/util/_verify_operator.tpl +++ b/library/common/templates/lib/util/_verify_operator.tpl @@ -4,9 +4,9 @@ {{- $operatorList := .Values.operator.verify.additionalOperators -}} {{- $cnpg := false -}} - {{- range $opName := .Values.cnpg -}} + {{- range $opName := $.Values.cnpg -}} {{- if .enabled -}} - {{- $cnpg := true -}} + {{- $cnpg = true -}} {{- end -}} {{- end -}} {{- if $cnpg -}} @@ -14,9 +14,9 @@ {{- end -}} {{- $ingress := false -}} - {{- range $opName := .Values.ingress -}} + {{- range $opName := $.Values.ingress -}} {{- if .enabled -}} - {{- $ingress := true -}} + {{- $ingress = true -}} {{- end -}} {{- end -}} {{- if $ingress -}} @@ -24,9 +24,9 @@ {{- end -}} {{- $metrics := false -}} - {{- range $opName := .Values.metrics -}} + {{- range $opName := $.Values.metrics -}} {{- if .enabled -}} - {{- $metrics := true -}} + {{- $metrics = true -}} {{- end -}} {{- end -}} {{- if $metrics -}}