aws / karpenter-provider-aws

Karpenter is a Kubernetes Node Autoscaler built for flexibility, performance, and simplicity.
https://karpenter.sh
Apache License 2.0
6.86k stars 967 forks source link

feat(crd): add optional custom annotations to the crds #7421

Open victor-keltio opened 4 days ago

victor-keltio commented 4 days ago

Fixes #N/A

Description

add an option in the value file to set custom annotations specificly to tthe custom resource definitions so we can set in our use case the helm keep tag to ensure the crds never get deleted by an accidental uninstall

  annotations:
    helm.sh/resource-policy: keep

How was this change tested?

helm template

Does this change impact docs?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This is the same as #6655 that is closed.

netlify[bot] commented 4 days ago

Deploy Preview for karpenter-docs-prod canceled.

Name Link
Latest commit 34b91a7e6d6a55c4a959e53352d614f273b080b8
Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/674435687eb1130008218046