{{- define "aws-node-termination-handler-values" }}

aws-node-termination-handler:
  queueURL: "{{ index .Values "aws-node-termination-handler" "queueURL" }}"
{{ with index .Values "aws-node-termination-handler" "IamArn" }}
  podAnnotations:
    iam.amazonaws.com/role: "{{ . }}"
{{- end }}

{{- end }}

{{- define "aws-node-termination-handler-argo" }}
{{- end }}

{{ include "kubezero-app.app" . }}
