Skip to content

Commit

Permalink
Apply a label to all manifests generated by this repository
Browse files Browse the repository at this point in the history
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`).
  • Loading branch information
larsks committed Jun 18, 2022
1 parent 784bde2 commit c4085e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
nerc.mghpcc.org/kustomized: "true"
resources:
- ../common
- ../../bundles/openshift-gitops
Expand Down

0 comments on commit c4085e1

Please sign in to comment.