diff --git a/api/v1beta1/sveltoscluster_type.go b/api/v1beta1/sveltoscluster_type.go index 5816320..15730dd 100644 --- a/api/v1beta1/sveltoscluster_type.go +++ b/api/v1beta1/sveltoscluster_type.go @@ -222,7 +222,7 @@ type SveltosClusterStatus struct { //+kubebuilder:printcolumn:name="Ready",type="boolean",JSONPath=".status.ready",description="Indicates whether cluster is ready to be managed by sveltos" //+kubebuilder:printcolumn:name="Version",type="string",JSONPath=".status.version",description="Kubernetes version associated with this Cluster" //+kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of SveltosCluster" -//+kubebuilder:printcolumn:name="Shard",type="string",JSONPath=".metadata.annotations['sharding.projectsveltos.io/key']",description="Cluster Shard" +//+kubebuilder:printcolumn:name="Shard",type="string",JSONPath=".metadata.annotations['sharding\\.projectsveltos\\.io/key']",description="Cluster Shard" //+kubebuilder:storageversion // SveltosCluster is the Schema for the SveltosCluster API diff --git a/config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml b/config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml index 1a17ffd..d6d52a8 100644 --- a/config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml +++ b/config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml @@ -28,7 +28,7 @@ spec: name: Age type: date - description: Cluster Shard - jsonPath: .metadata.annotations['sharding.projectsveltos.io/key'] + jsonPath: .metadata.annotations['sharding\.projectsveltos\.io/key'] name: Shard type: string name: v1beta1 diff --git a/lib/crd/sveltosclusters.go b/lib/crd/sveltosclusters.go index 187777b..06d19d9 100644 --- a/lib/crd/sveltosclusters.go +++ b/lib/crd/sveltosclusters.go @@ -46,7 +46,7 @@ spec: name: Age type: date - description: Cluster Shard - jsonPath: .metadata.annotations['sharding.projectsveltos.io/key'] + jsonPath: .metadata.annotations['sharding\.projectsveltos\.io/key'] name: Shard type: string name: v1beta1 diff --git a/manifests/apiextensions.k8s.io_v1_customresourcedefinition_sveltosclusters.lib.projectsveltos.io.yaml b/manifests/apiextensions.k8s.io_v1_customresourcedefinition_sveltosclusters.lib.projectsveltos.io.yaml index c5c96c4..396552b 100644 --- a/manifests/apiextensions.k8s.io_v1_customresourcedefinition_sveltosclusters.lib.projectsveltos.io.yaml +++ b/manifests/apiextensions.k8s.io_v1_customresourcedefinition_sveltosclusters.lib.projectsveltos.io.yaml @@ -27,7 +27,7 @@ spec: name: Age type: date - description: Cluster Shard - jsonPath: .metadata.annotations['sharding.projectsveltos.io/key'] + jsonPath: .metadata.annotations['sharding\.projectsveltos\.io/key'] name: Shard type: string name: v1beta1