Skip to content

Label secrets created in `review-apps.sh`

Albert Salim requested to merge caalberts-master-patch-81175 into master

What does this MR do?

Labels secrets created in review-apps.sh. This is required so that automated cleanup would clear all secrets belonging to the release.

$ kubectl get secret review-revert-393-1hsk4u-gitlab-initial-root-password
NAME                                                    TYPE     DATA   AGE
review-revert-393-1hsk4u-gitlab-initial-root-password   Opaque   1      7m19s
$ kubectl get secret -l release=review-revert-393-1hsk4u
No resources found in review-apps-ee namespace.
$ kubectl label secret review-revert-393-1hsk4u-gitlab-initial-root-password release=review-revert-393-1hsk4u
secret/review-revert-393-1hsk4u-gitlab-initial-root-password labeled
$ kubectl get secret -l release=review-revert-393-1hsk4u
NAME                                                    TYPE     DATA   AGE
review-revert-393-1hsk4u-gitlab-initial-root-password   Opaque   1      9m40s

Does this MR meet the acceptance criteria?

Conformity

Edited by Albert Salim

Merge request reports

Loading