From 72d6981628fb2fac58b7e33b48aa250a77cf6e18 Mon Sep 17 00:00:00 2001 From: incubator4th Date: Wed, 6 Jan 2021 17:22:16 +0800 Subject: [PATCH] set provider can be empty --- charts/vela-core/templates/defwithtemplate/route.yaml | 2 +- hack/vela-templates/cue/route.cue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/vela-core/templates/defwithtemplate/route.yaml b/charts/vela-core/templates/defwithtemplate/route.yaml index 00756b15e..bfd72c548 100644 --- a/charts/vela-core/templates/defwithtemplate/route.yaml +++ b/charts/vela-core/templates/defwithtemplate/route.yaml @@ -41,6 +41,6 @@ spec: path: string rewriteTarget: *"" | string }] - provider: *"" | string + provider?: string } diff --git a/hack/vela-templates/cue/route.cue b/hack/vela-templates/cue/route.cue index 3a163b887..b20ae516d 100644 --- a/hack/vela-templates/cue/route.cue +++ b/hack/vela-templates/cue/route.cue @@ -26,5 +26,5 @@ parameter: { path: string rewriteTarget: *"" | string }] - provider: *"" | string + provider?: string }