diff --git a/cmd/khelm/fn_test.go b/cmd/khelm/fn_test.go index a8189c9..33852a3 100644 --- a/cmd/khelm/fn_test.go +++ b/cmd/khelm/fn_test.go @@ -65,7 +65,7 @@ func TestKptFnCommand(t *testing.T) { Chart: "cert-manager", }, RendererConfig: config.RendererConfig{ - KubeVersion: "v1.21.0", + KubeVersion: "v1.27.0", }, }}, -1, []string{"acme.cert-manager.io"}, @@ -238,7 +238,7 @@ func TestKptFnCommand(t *testing.T) { }, OutputPath: "my/output/manifest.yaml", }, - 3, []string{" annotations:\n config.kubernetes.io/index: 1\n config.kubernetes.io/path: my/output/manifest.yaml\n"}, + 3, []string{" annotations:\n config.kubernetes.io/index: 0\n config.kubernetes.io/path: my/output/manifest.yaml\n"}, }, { "annotate output path when annotations empty", diff --git a/cmd/khelm/template_test.go b/cmd/khelm/template_test.go index 336f5a0..8c14238 100644 --- a/cmd/khelm/template_test.go +++ b/cmd/khelm/template_test.go @@ -26,7 +26,7 @@ func TestTemplateCommand(t *testing.T) { { "latest cluster scoped remote chart", []string{"cert-manager", "--repo=https://charts.jetstack.io", - "--trust-any-repo", "--kube-version=v1.21.0"}, + "--trust-any-repo", "--kube-version=v1.27.0"}, -1, "acme.cert-manager.io", }, {