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 }