hashicorp / terraform-k8s

Terraform Cloud Operator for Kubernetes
https://learn.hashicorp.com/tutorials/terraform/kubernetes-operator?in=terraform/kubernetes
Mozilla Public License 2.0
454 stars 71 forks source link

Adding status into the list of Workspaces #136

Closed jtyr closed 2 years ago

jtyr commented 2 years ago

Community Note


This PR is adding additional column showing current run "Status" of the Workspace resources when listing them via kubectl get. This helps the users see the current status of the resource without the need to extract it from the status of the resource. The PR contains changes for the "Age" column as well because this column was shown by default before the "Status" column was added. This PR needs to be rebased once the PR #129 is merged to remove most of the changes in the CRD.

Output:

$ kubectl get workspace
NAME   AGE    STATUS
test   143m   applied

Release note for CHANGELOG:

Added run status into the list output of Workspaces
alexsomesan commented 2 years ago

I rebased this after merging the CRD apiVersion update and regenerated the CRD.