gatekeeper
gatekeeper copied to clipboard
Enhance Helm chart labels by using helper scripts and standard keys
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:
- Create a helper script for "common" labels that includes
app
,heritage
,chart
,release
andgatekeeper.sh/system
that go on every resource - Rename
app
toapp.kubernetes.io/name
- Rename
chart
tohelm.sh/chart
- Rename
release
toapp.kubernetes.io/instance
- Rename
heritage
toapp.kubernetes.io/managed-by
- Rename
gatekeeper.sh/system: "yes"
to `app.kubernetes.io/part-of: "gatekeeper/system" - Rename
gatekeeper.sh/operation
toapp.kubernetes.io/component
The
gatekeeper.sh/operation
label is not a common resource and would need updating on every resource that uses it.
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.
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.