diff options
Diffstat (limited to 'helm/policy-models-simulator/templates/tests')
-rw-r--r-- | helm/policy-models-simulator/templates/tests/test-connection.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/helm/policy-models-simulator/templates/tests/test-connection.yaml b/helm/policy-models-simulator/templates/tests/test-connection.yaml new file mode 100644 index 00000000..e90661bc --- /dev/null +++ b/helm/policy-models-simulator/templates/tests/test-connection.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "policy-models-simulator.fullname" . }}-test-connection" + labels: +{{ include "policy-models-simulator.labels" . | indent 4 }} + annotations: + "helm.sh/hook": test-success +spec: + containers: + - name: wget + image: busybox + command: ['wget'] + args: ['{{ include "policy-models-simulator.fullname" . }}:{{ .Values.service.port }}'] + restartPolicy: Never |