diff --git a/api/v1alpha1/terraformrun_types.go b/api/v1alpha1/terraformrun_types.go index 5c53881db..cbf6765bd 100644 --- a/api/v1alpha1/terraformrun_types.go +++ b/api/v1alpha1/terraformrun_types.go @@ -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 diff --git a/manifests/crds/config.terraform.padok.cloud_terraformruns.yaml b/manifests/crds/config.terraform.padok.cloud_terraformruns.yaml index 9803ef525..97c801339 100644 --- a/manifests/crds/config.terraform.padok.cloud_terraformruns.yaml +++ b/manifests/crds/config.terraform.padok.cloud_terraformruns.yaml @@ -26,7 +26,7 @@ spec: type: string - jsonPath: .status.retries name: Retries - type: string + type: integer - jsonPath: .metadata.creationTimestamp name: Created On type: string diff --git a/manifests/install.yaml b/manifests/install.yaml index d46d11c8d..30dad62d9 100644 --- a/manifests/install.yaml +++ b/manifests/install.yaml @@ -2783,7 +2783,7 @@ spec: type: string - jsonPath: .status.retries name: Retries - type: string + type: integer - jsonPath: .metadata.creationTimestamp name: Created On type: string