Skip to content

Commit

Permalink
chore: Update GHA Karpenter helm chart diff action (#6631)
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam authored Aug 2, 2024
1 parent b18f8e2 commit 1a9c3a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions charts/karpenter/templates/post-install-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "karpenter.labels" . | nindent 4 }}
{{- with .Values.additionalAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
"helm.sh/hook": post-install
"helm.sh/hook-delete-policy": hook-succeeded
"helm.sh/hook-delete-policy": hook-failed
{{- with .Values.additionalAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ttlSecondsAfterFinished: 0
template:
Expand Down
2 changes: 1 addition & 1 deletion test/hack/e2e_scripts/diff_karpenter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ fi
helm diff upgrade --namespace kube-system \
karpenter "${CHART}" \
--version 0-$(git rev-parse HEAD) \
--reuse-values --three-way-merge --detailed-exitcode
--reuse-values --three-way-merge --detailed-exitcode --no-hooks

0 comments on commit 1a9c3a4

Please sign in to comment.