diff --git a/charts/hedera-mirror-rest/templates/monitor/tests/pod.yaml b/charts/hedera-mirror-rest/templates/monitor/tests/pod.yaml index 93626e03af6..aee32aaea7f 100644 --- a/charts/hedera-mirror-rest/templates/monitor/tests/pod.yaml +++ b/charts/hedera-mirror-rest/templates/monitor/tests/pod.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Pod metadata: - annotations: {{- toYaml .Values.test.annotations | nindent 4 }} + annotations: {{- toYaml .Values.monitor.test.annotations | nindent 4 }} labels: {{- include "hedera-mirror-rest-monitor.labels" . | nindent 4 }} name: {{ include "hedera-mirror-rest.fullname" . }}-monitor-test namespace: {{ include "hedera-mirror-rest.namespace" . }} diff --git a/charts/hedera-mirror-rest/values.yaml b/charts/hedera-mirror-rest/values.yaml index 7e2b7ba5e07..27ab3b38f67 100644 --- a/charts/hedera-mirror-rest/values.yaml +++ b/charts/hedera-mirror-rest/values.yaml @@ -125,6 +125,10 @@ monitor: service: type: ClusterIP test: + annotations: + helm.sh/hook: test-success + helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded + helm.sh/hook-weight: "20" enabled: true image: pullPolicy: IfNotPresent