Skip to content

Commit 48083ee

Browse files
authored
fix WORKCREATED status (#1003)
1 parent 61f7292 commit 48083ee

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

apis/cluster/v1beta1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/placement/v1/binding_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
// +kubebuilder:object:root=true
1414
// +kubebuilder:resource:scope=Cluster,categories={fleet,fleet-placement},shortName=rb
1515
// +kubebuilder:subresource:status
16-
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Bound")].status`,name="WorkCreated",type=string
16+
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="WorkSynchronized")].status`,name="WorkCreated",type=string
1717
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Applied")].status`,name="ResourcesApplied",type=string
1818
// +kubebuilder:printcolumn:JSONPath=`.metadata.creationTimestamp`,name="Age",type=date
1919

apis/placement/v1beta1/binding_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const (
2020
// +kubebuilder:resource:scope=Cluster,categories={fleet,fleet-placement},shortName=rb
2121
// +kubebuilder:subresource:status
2222
// +kubebuilder:storageversion
23-
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Bound")].status`,name="WorkCreated",type=string
23+
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="WorkSynchronized")].status`,name="WorkCreated",type=string
2424
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Applied")].status`,name="ResourcesApplied",type=string
2525
// +kubebuilder:printcolumn:JSONPath=`.metadata.creationTimestamp`,name="Age",type=date
2626

apis/placement/v1beta1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/placement.kubernetes-fleet.io_clusterresourcebindings.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
scope: Cluster
2121
versions:
2222
- additionalPrinterColumns:
23-
- jsonPath: .status.conditions[?(@.type=="Bound")].status
23+
- jsonPath: .status.conditions[?(@.type=="WorkSynchronized")].status
2424
name: WorkCreated
2525
type: string
2626
- jsonPath: .status.conditions[?(@.type=="Applied")].status
@@ -387,7 +387,7 @@ spec:
387387
subresources:
388388
status: {}
389389
- additionalPrinterColumns:
390-
- jsonPath: .status.conditions[?(@.type=="Bound")].status
390+
- jsonPath: .status.conditions[?(@.type=="WorkSynchronized")].status
391391
name: WorkCreated
392392
type: string
393393
- jsonPath: .status.conditions[?(@.type=="Applied")].status

test/apis/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)