From 12a1065ce53d3b9f5d5933ecc685b6ce320d449d Mon Sep 17 00:00:00 2001 From: Chip Zoller Date: Mon, 17 Jul 2023 06:38:19 -0400 Subject: [PATCH] swap note Signed-off-by: Chip Zoller --- charts/kyverno-json-validator/templates/NOTES.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kyverno-json-validator/templates/NOTES.txt b/charts/kyverno-json-validator/templates/NOTES.txt index 1785cb9..24301d9 100644 --- a/charts/kyverno-json-validator/templates/NOTES.txt +++ b/charts/kyverno-json-validator/templates/NOTES.txt @@ -17,6 +17,6 @@ {{- else if contains "ClusterIP" .Values.service.type }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "kyverno-json-validator.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") - echo "Visit http://127.0.0.1:8080 to use your application" kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT + echo "Visit http://127.0.0.1:8080 to use your application" {{- end }}