uselagoon / remote-controller

A group of controllers for handling Lagoon builds and tasks in Kubernetes or Openshift
5 stars 1 forks source link

refactor: use status conditions to store build status #265

Closed shreddedbacon closed 1 month ago

shreddedbacon commented 1 month ago

Checklist

Updates to the v1beta2 API to use metav1.Conditions for status conditions, and store more information in status relating to the build with additionalPrinterColumns in the CRD to now display the information when using kubectl

$ kubectl get lagoonbuilds -A
NAMESPACE       NAME                   STATUS     BUILDSTEP         AGE
test1-develop   lagoon-build-1ci4m5l   Complete   FinalizingBuild   14m
test1-main      lagoon-build-adbm5m    Complete   FinalizingBuild   14m