From d1159170d0edc59d5b2bf99827d9554bcdbd8f54 Mon Sep 17 00:00:00 2001 From: barnettZQG Date: Wed, 31 Aug 2022 17:44:23 +0800 Subject: [PATCH] Fix: unknown field cluster (#4670) Signed-off-by: barnettZQG Signed-off-by: barnettZQG --- charts/vela-core/templates/defwithtemplate/topology.yaml | 2 +- charts/vela-minimal/templates/defwithtemplate/topology.yaml | 2 +- vela-templates/definitions/internal/policy/topology.cue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/vela-core/templates/defwithtemplate/topology.yaml b/charts/vela-core/templates/defwithtemplate/topology.yaml index e98c92542..87864ee35 100644 --- a/charts/vela-core/templates/defwithtemplate/topology.yaml +++ b/charts/vela-core/templates/defwithtemplate/topology.yaml @@ -13,7 +13,7 @@ spec: template: | parameter: { // +usage=Specify the names of the clusters to select. - cluster?: [...string] + clusters?: [...string] // +usage=Specify the label selector for clusters clusterLabelSelector?: [string]: string // +usage=Deprecated: Use clusterLabelSelector instead. diff --git a/charts/vela-minimal/templates/defwithtemplate/topology.yaml b/charts/vela-minimal/templates/defwithtemplate/topology.yaml index e98c92542..87864ee35 100644 --- a/charts/vela-minimal/templates/defwithtemplate/topology.yaml +++ b/charts/vela-minimal/templates/defwithtemplate/topology.yaml @@ -13,7 +13,7 @@ spec: template: | parameter: { // +usage=Specify the names of the clusters to select. - cluster?: [...string] + clusters?: [...string] // +usage=Specify the label selector for clusters clusterLabelSelector?: [string]: string // +usage=Deprecated: Use clusterLabelSelector instead. diff --git a/vela-templates/definitions/internal/policy/topology.cue b/vela-templates/definitions/internal/policy/topology.cue index a68cae118..bf9fd2558 100644 --- a/vela-templates/definitions/internal/policy/topology.cue +++ b/vela-templates/definitions/internal/policy/topology.cue @@ -9,7 +9,7 @@ template: { parameter: { // +usage=Specify the names of the clusters to select. - cluster?: [...string] + clusters?: [...string] // +usage=Specify the label selector for clusters clusterLabelSelector?: [string]: string // +usage=Deprecated: Use clusterLabelSelector instead.