Add status fields

Part of https://gitlab.com/charts/gitlab/issues/951 and https://gitlab.com/charts/gitlab/issues/1298

Flushed out the status field, for use with external tools (like our CI) that want to wait for a deployment to finish.

For now, failure status are show in conditions, and the current fully deployed revision is available in the status.

You can use the DeployedRevision field to check if the helm version you are waiting for is fully deployed.

The conditions implementation follows the API conventions here: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties

And the code specifics were inspired by:

Also of interest is how conditions are managed by deploymenUtil and by deployment/progress

Edited by DJ Mountney

Merge request reports

Loading