Эх сурвалжийг харах

Add deployment test for ix-chart

Waqar Ahmed 4 жил өмнө
parent
commit
66653b71fe

+ 17 - 0
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