diff --git a/api/v1/istio_types.go b/api/v1/istio_types.go index 0d610aaa24..e052ffce20 100644 --- a/api/v1/istio_types.go +++ b/api/v1/istio_types.go @@ -261,7 +261,7 @@ const ( // +kubebuilder:resource:scope=Cluster,categories=istio-io // +kubebuilder:subresource:status // +kubebuilder:printcolumn:name="Namespace",type="string",JSONPath=".spec.namespace",description="The namespace for the control plane components." -// +kubebuilder:printcolumn:name="Profile",type="string",JSONPath=".spec.values.profile",description="The selected profile (collection of value presets)." +// +kubebuilder:printcolumn:name="Profile",type="string",JSONPath=".spec.profile",description="The selected profile (collection of value presets)." // +kubebuilder:printcolumn:name="Revisions",type="string",JSONPath=".status.revisions.total",description="Total number of IstioRevision objects currently associated with this object." // +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.revisions.ready",description="Number of revisions that are ready." // +kubebuilder:printcolumn:name="In use",type="string",JSONPath=".status.revisions.inUse",description="Number of revisions that are currently being used by workloads." diff --git a/api/v1/istiocni_types.go b/api/v1/istiocni_types.go index 2131dbf196..78b08dd425 100644 --- a/api/v1/istiocni_types.go +++ b/api/v1/istiocni_types.go @@ -168,7 +168,7 @@ const ( // +kubebuilder:resource:scope=Cluster,categories=istio-io // +kubebuilder:subresource:status // +kubebuilder:printcolumn:name="Namespace",type="string",JSONPath=".spec.namespace",description="The namespace of the istio-cni-node DaemonSet." -// +kubebuilder:printcolumn:name="Profile",type="string",JSONPath=".spec.values.profile",description="The selected profile (collection of value presets)." +// +kubebuilder:printcolumn:name="Profile",type="string",JSONPath=".spec.profile",description="The selected profile (collection of value presets)." // +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description="Whether the Istio CNI installation is ready to handle requests." // +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.state",description="The current state of this object." // +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version",description="The version of the Istio CNI installation." diff --git a/bundle/manifests/sailoperator.io_istiocnis.yaml b/bundle/manifests/sailoperator.io_istiocnis.yaml index 2aa0bd3f67..05272518a9 100644 --- a/bundle/manifests/sailoperator.io_istiocnis.yaml +++ b/bundle/manifests/sailoperator.io_istiocnis.yaml @@ -22,7 +22,7 @@ spec: name: Namespace type: string - description: The selected profile (collection of value presets). - jsonPath: .spec.values.profile + jsonPath: .spec.profile name: Profile type: string - description: Whether the Istio CNI installation is ready to handle requests. diff --git a/bundle/manifests/sailoperator.io_istios.yaml b/bundle/manifests/sailoperator.io_istios.yaml index a16edfbdc0..995c24d52b 100644 --- a/bundle/manifests/sailoperator.io_istios.yaml +++ b/bundle/manifests/sailoperator.io_istios.yaml @@ -22,7 +22,7 @@ spec: name: Namespace type: string - description: The selected profile (collection of value presets). - jsonPath: .spec.values.profile + jsonPath: .spec.profile name: Profile type: string - description: Total number of IstioRevision objects currently associated with diff --git a/chart/crds/sailoperator.io_istiocnis.yaml b/chart/crds/sailoperator.io_istiocnis.yaml index 1f2d036894..6b122433ee 100644 --- a/chart/crds/sailoperator.io_istiocnis.yaml +++ b/chart/crds/sailoperator.io_istiocnis.yaml @@ -22,7 +22,7 @@ spec: name: Namespace type: string - description: The selected profile (collection of value presets). - jsonPath: .spec.values.profile + jsonPath: .spec.profile name: Profile type: string - description: Whether the Istio CNI installation is ready to handle requests. diff --git a/chart/crds/sailoperator.io_istios.yaml b/chart/crds/sailoperator.io_istios.yaml index e27c3066ab..d335f68b2c 100644 --- a/chart/crds/sailoperator.io_istios.yaml +++ b/chart/crds/sailoperator.io_istios.yaml @@ -22,7 +22,7 @@ spec: name: Namespace type: string - description: The selected profile (collection of value presets). - jsonPath: .spec.values.profile + jsonPath: .spec.profile name: Profile type: string - description: Total number of IstioRevision objects currently associated with