From 31d7fc2cb906737be25b1f708a365f8627bd8709 Mon Sep 17 00:00:00 2001 From: Tejal Desai Date: Wed, 3 Aug 2022 11:45:34 -0700 Subject: [PATCH] fix: add cloud run deployer nil check (#7729) --- pkg/skaffold/schema/defaults/defaults.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/skaffold/schema/defaults/defaults.go b/pkg/skaffold/schema/defaults/defaults.go index 5a3e90cc677..6aee9ddfd33 100644 --- a/pkg/skaffold/schema/defaults/defaults.go +++ b/pkg/skaffold/schema/defaults/defaults.go @@ -136,6 +136,9 @@ func SetDefaultRenderer(c *latest.SkaffoldConfig) { if c.Deploy.DockerDeploy != nil { return } + if c.Deploy.CloudRunDeploy != nil { + return + } // Set default manifests to "k8s/*.yaml", same as v1. c.Render.Generate.RawK8s = constants.DefaultKubectlManifests }