# Configmap used for E2E testing # The tests are run for each *values.yaml file in helm/amazon-ec2-metadata-mock/ci folder. {{- if .Values.configMap }} apiVersion: v1 kind: ConfigMap metadata: name: {{ .Values.configMap }} namespace: {{ .Release.Namespace }} annotations: "helm.sh/hook": "test" "helm.sh/hook": "pre-install" "helm.sh/hook-weight": "-1" # # create config-map before the test pod "helm.sh/hook-delete-policy": "before-hook-creation" data: {{ .Values.configMapFileName }}: | spot: time: "1994-05-15T00:00:00Z" {{- end }}