gatekeeper icon indicating copy to clipboard operation
gatekeeper copied to clipboard

Enhance Helm chart labels by using helper scripts and standard keys

Open Boojapho opened this issue 2 years ago • 1 comments

In the Helm chart, labels are hard to maintain because they are repeated everywhere and do not use helm best practices. This enhancement would do the following:

  1. Create a helper script for "common" labels that includes app, heritage, chart, release and gatekeeper.sh/system that go on every resource
  2. Rename app to app.kubernetes.io/name
  3. Rename chart to helm.sh/chart
  4. Rename release to app.kubernetes.io/instance
  5. Rename heritage to app.kubernetes.io/managed-by
  6. Rename gatekeeper.sh/system: "yes" to `app.kubernetes.io/part-of: "gatekeeper/system"
  7. Rename gatekeeper.sh/operation to app.kubernetes.io/component

The gatekeeper.sh/operation label is not a common resource and would need updating on every resource that uses it.

Boojapho avatar Aug 14 '21 15:08 Boojapho

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 23 '22 06:07 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 11 '22 02:10 stale[bot]