From 335d27a976a42163781f1e680b75198a8eba9d03 Mon Sep 17 00:00:00 2001 From: Martin Hickey Date: Mon, 7 Oct 2019 15:46:02 +0100 Subject: [PATCH] Fix ingress API group in scaffold chart (#6591) Signed-off-by: Martin Hickey --- pkg/chartutil/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index 329c0000e..7aa78284d 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -179,7 +179,7 @@ const defaultIgnore = `# Patterns to ignore when building packages. const defaultIngress = `{{- if .Values.ingress.enabled -}} {{- $fullName := include ".fullname" . -}} {{- $svcPort := .Values.service.port -}} -apiVersion: networking.k8s.io/v1 +apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: {{ $fullName }}