Created
May 5, 2022 22:46
-
-
Save AndrewFarley/339157469d45254ab09a6d139be3ccfb to your computer and use it in GitHub Desktop.
create annotations to import resource into helm chart installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export KIND=PriorityClass | |
export NAME=workflow-controller | |
export RELEASE=argo-workflows | |
export NAMESPACE=argo | |
kubectl annotate $KIND $NAME meta.helm.sh/release-name=$RELEASE | |
kubectl label $KIND $NAME app.kubernetes.io/managed-by=Helm | |
kubectl annotate --overwrite $KIND $NAME meta.helm.sh/release-namespace=$NAMESPACE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment