Created
October 19, 2022 19:50
-
-
Save Voronenko/b95991c5876867172ef5a34caf67ab5f to your computer and use it in GitHub Desktop.
Dirty helm patch
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
yq e ".appVersion = \"${FINAL_BUILD_REF_SLUG}-${FINAL_COMMIT_SHORT_SHA}\"" -i ./your-local-chart/Chart.yaml | |
helm upgrade your-deployment ./your-local-chart --install --set image.tag=${FINAL_BUILD_REF_SLUG} --namespace yournamespace --create-namespace | |
kubectl rollout restart deployment your-deployment --namespace yournamespace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment