Skip to content

Commit 3293a3d

Browse files
ChrisJBurnsMatteoManzoni
authored andcommitted
Fix stale MCPOIDCConfig printer column JSONPaths (stacklok#4530)
1 parent aef3560 commit 3293a3d

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

cmd/thv-operator/api/v1alpha1/mcpoidcconfig_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ type MCPOIDCConfigStatus struct {
189189
// +kubebuilder:subresource:status
190190
// +kubebuilder:resource:shortName=mcpoidc,categories=toolhive
191191
// +kubebuilder:printcolumn:name="Source",type=string,JSONPath=`.spec.type`
192-
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=='Valid')].status`
193-
// +kubebuilder:printcolumn:name="References",type=string,JSONPath=`.status.referencingServers`
192+
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=='Ready')].status`
193+
// +kubebuilder:printcolumn:name="References",type=string,JSONPath=`.status.referencingWorkloads`
194194
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
195195

196196
// MCPOIDCConfig is the Schema for the mcpoidcconfigs API.

deploy/charts/operator-crds/files/crds/toolhive.stacklok.dev_mcpoidcconfigs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ spec:
2222
- jsonPath: .spec.type
2323
name: Source
2424
type: string
25-
- jsonPath: .status.conditions[?(@.type=='Valid')].status
25+
- jsonPath: .status.conditions[?(@.type=='Ready')].status
2626
name: Ready
2727
type: string
28-
- jsonPath: .status.referencingServers
28+
- jsonPath: .status.referencingWorkloads
2929
name: References
3030
type: string
3131
- jsonPath: .metadata.creationTimestamp

deploy/charts/operator-crds/templates/toolhive.stacklok.dev_mcpoidcconfigs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ spec:
2525
- jsonPath: .spec.type
2626
name: Source
2727
type: string
28-
- jsonPath: .status.conditions[?(@.type=='Valid')].status
28+
- jsonPath: .status.conditions[?(@.type=='Ready')].status
2929
name: Ready
3030
type: string
31-
- jsonPath: .status.referencingServers
31+
- jsonPath: .status.referencingWorkloads
3232
name: References
3333
type: string
3434
- jsonPath: .metadata.creationTimestamp

0 commit comments

Comments
 (0)