From c4085e1bcf76bf3c006470de045b2ec0d6d255e3 Mon Sep 17 00:00:00 2001 From: Lars Kellogg-Stedman Date: Fri, 17 Jun 2022 20:20:01 -0400 Subject: [PATCH] Apply a label to all manifests generated by this repository Add the `nerc.mghpcc.org/kustomized` label to all resources generated by our overlays. This makes it easy to identify things that we have either created or modified (e.g., we can ask `kubectl get clusterrolebindings -l nerc.mghpcc.org/kustomized`). --- cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml b/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml index 903f52b5..ba588e48 100644 --- a/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml +++ b/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml @@ -1,5 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization +commonLabels: + nerc.mghpcc.org/kustomized: "true" resources: - ../common - ../../bundles/openshift-gitops