Skip to content

Add labels and annotations to migrate resource to gitlab-helmfiles

Marcel Chacon requested to merge mchacon-add-manifests-labels into main

What

Add labels and annotations to the Istio ServiceMonitor and PodMonitor definitions to allow them to be imported to the Helm Release o gitlab-helmfiles.

Why

Related Issue: https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/24798

As per https://jacky-jiang.medium.com/import-existing-resources-in-helm-3-e27db11fd467 adding these labels and annotations allow existing resources to be imported to a Helm release.

Edited by Marcel Chacon

Merge request reports

Loading