Skip to content

Commit

Permalink
Add SourceVerticaDB, TargetVerticaDB, State, Age print column…
Browse files Browse the repository at this point in the history
…s to `vrep` (#819)
  • Loading branch information
jizhuoyu authored May 23, 2024
1 parent 72f2371 commit d9e3ce0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/v1beta1/verticareplicator_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ const (
//+kubebuilder:object:root=true
//+kubebuilder:resource:path=verticareplicators,singular=verticareplicator,categories=all;vertica,shortName=vrep
//+kubebuilder:subresource:status
//+kubebuilder:printcolumn:name="SourceVerticaDB",type="string",JSONPath=".spec.source.verticaDB"
//+kubebuilder:printcolumn:name="TargetVerticaDB",type="string",JSONPath=".spec.target.verticaDB"
//+kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state"
//+kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
//+operator-sdk:csv:customresourcedefinitions:resources={{VerticaDB,vertica.com/v1beta1,""}}

// VerticaReplicator is the Schema for the verticareplicators API
Expand Down

0 comments on commit d9e3ce0

Please sign in to comment.