From 013421724ffe8fe217b0e30dca5bba869aa1da62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Szak=C3=A1llas?= <5807322+dszakallas@users.noreply.github.com> Date: Fri, 10 Apr 2026 18:56:50 +0200 Subject: [PATCH] Fix typos in error messages (#788) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * nit: fix typos Signed-off-by: Dávid Szakállas <5807322+dszakallas@users.noreply.github.com> * Apply suggestion from @kfox1111 Signed-off-by: kfox1111 --------- Signed-off-by: Dávid Szakállas <5807322+dszakallas@users.noreply.github.com> Signed-off-by: kfox1111 Co-authored-by: Faisal Memon Co-authored-by: kfox1111 Co-authored-by: kfox1111 --- charts/spire/charts/spire-server/templates/configmap.yaml | 2 +- .../spire/charts/spire-server/templates/server-resource.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/spire/charts/spire-server/templates/configmap.yaml b/charts/spire/charts/spire-server/templates/configmap.yaml index 2fa417b..5750db9 100644 --- a/charts/spire/charts/spire-server/templates/configmap.yaml +++ b/charts/spire/charts/spire-server/templates/configmap.yaml @@ -3,7 +3,7 @@ {{- include "spire-lib.check-strict-mode" (list . "jwtIssuer must be set" (eq (include "spire-lib.jwt-issuer" .) "https://oidc-discovery.example.org"))}} {{- include "spire-lib.check-strict-mode" (list . "caSubject.country must be set" (eq (include "spire-server.ca-subject-country" .) "ARPA"))}} {{- include "spire-lib.check-strict-mode" (list . "caSubject.organization must be set" (eq (include "spire-server.ca-subject-organization" .) "Example"))}} -{{- include "spire-lib.check-strict-mode" (list . "caSubject.commonNname must be set" (eq (include "spire-server.ca-subject-common-name" .) "example.org"))}} +{{- include "spire-lib.check-strict-mode" (list . "caSubject.commonName must be set" (eq (include "spire-server.ca-subject-common-name" .) "example.org"))}} {{- range $type, $tvals := .Values.customPlugins }} {{- if not (has $type (list "bundlePublisher" "credentialComposer" "keyManager" "nodeAttestor" "upstreamAuthority" "notifier")) }} {{- fail (printf "Unknown plugin type specified: %s" $type) }} diff --git a/charts/spire/charts/spire-server/templates/server-resource.yaml b/charts/spire/charts/spire-server/templates/server-resource.yaml index b8e7422..c1ec81e 100644 --- a/charts/spire/charts/spire-server/templates/server-resource.yaml +++ b/charts/spire/charts/spire-server/templates/server-resource.yaml @@ -27,11 +27,11 @@ {{- if hasKey .Values.nodeAttestor "k8sPsat" }} {{- fail "k8sPsat was renamed to k8sPSAT. Please update your config." }} {{- end }} -{{- if hasKey .Values.nodeAttestor "externalK8sPSA" }} +{{- if hasKey .Values.nodeAttestor "externalK8sPsat" }} {{- fail "externalK8sPsat was renamed to externalK8sPSAT. Please update your config." }} {{- end }} {{- if hasKey .Values.notifier "k8sbundle" }} -{{- fail "k8sbundle was renmaed to k8sBundle. Please update your config." }} +{{- fail "k8sbundle was renamed to k8sBundle. Please update your config." }} {{- end }} {{- if eq .Values.kind "statefulset" }} {{- if not (has .Values.persistence.type (list "pvc" "hostPath" "emptyDir")) }}