Skip to content

Commit

Permalink
feat(tfrun): make Retries column integer
Browse files Browse the repository at this point in the history
  • Loading branch information
corrieriluca committed Sep 21, 2023
1 parent 41139c7 commit bbf492a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/terraformrun_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type TerraformRunStatus struct {
// +kubebuilder:resource:shortName=runs;run;tfruns;tfrun;
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state`
// +kubebuilder:printcolumn:name="Retries",type=string,JSONPath=`.status.retries`
// +kubebuilder:printcolumn:name="Retries",type=integer,JSONPath=`.status.retries`
// +kubebuilder:printcolumn:name="Created On",type=string,JSONPath=`.metadata.creationTimestamp`
// +kubebuilder:printcolumn:name="Runner Pod",type=string,JSONPath=`.status.runnerPod`
// TerraformRun is the Schema for the terraformRuns API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
type: string
- jsonPath: .status.retries
name: Retries
type: string
type: integer
- jsonPath: .metadata.creationTimestamp
name: Created On
type: string
Expand Down
2 changes: 1 addition & 1 deletion manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2783,7 +2783,7 @@ spec:
type: string
- jsonPath: .status.retries
name: Retries
type: string
type: integer
- jsonPath: .metadata.creationTimestamp
name: Created On
type: string
Expand Down

0 comments on commit bbf492a

Please sign in to comment.