Skip to content

Commit 80bb7f5

Browse files
authored
Merge pull request #742 from johscheuer/show-available-in-output
Show available instead of healthy in the kubectl get command
2 parents b6d093a + c59c1fd commit 80bb7f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api/v1beta1/foundationdbcluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
// +kubebuilder:subresource:status
3838
// +kubebuilder:printcolumn:name="Generation",type="integer",JSONPath=".metadata.generation",description="Latest generation of the spec",priority=0
3939
// +kubebuilder:printcolumn:name="Reconciled",type="integer",JSONPath=".status.generations.reconciled",description="Last reconciled generation of the spec",priority=0
40-
// +kubebuilder:printcolumn:name="Healthy",type="boolean",JSONPath=".status.health.healthy",description="Database health",priority=0
40+
// +kubebuilder:printcolumn:name="Available",type="boolean",JSONPath=".status.health.available",description="Database available",priority=0
4141
// +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".status.runningVersion",description="Running version",priority=0
4242
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
4343

config/crd/bases/apps.foundationdb.org_foundationdbclusters.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ spec:
2525
jsonPath: .status.generations.reconciled
2626
name: Reconciled
2727
type: integer
28-
- description: Database health
29-
jsonPath: .status.health.healthy
30-
name: Healthy
28+
- description: Database available
29+
jsonPath: .status.health.available
30+
name: Available
3131
type: boolean
3232
- description: Running version
3333
jsonPath: .status.runningVersion

0 commit comments

Comments
 (0)