From 66653b71fe3e3f518ee3a5516b0d78931b1417b8 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Thu, 26 Nov 2020 22:00:36 +0500 Subject: [PATCH] Add deployment test for ix-chart --- .../templates/tests/deployment-check.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/ix-chart/2010.0.2/templates/tests/deployment-check.yaml diff --git a/test/ix-chart/2010.0.2/templates/tests/deployment-check.yaml b/test/ix-chart/2010.0.2/templates/tests/deployment-check.yaml new file mode 100644 index 00000000000..240a5f94215 --- /dev/null +++ b/test/ix-chart/2010.0.2/templates/tests/deployment-check.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ .Release.Name }}-deployment-test" + annotations: + "helm.sh/hook": test +spec: + containers: + - name: {{ .Release.Name }}-deployment-test + image: "busybox" + command: + - nc + args: + - "-vz" + - "{{ .Release.Name }}-ix-chart" + - "80" + restartPolicy: Never