diff options
author | puthuparambil.aditya <aditya.puthuparambil@bell.ca> | 2020-10-01 12:06:33 +0100 |
---|---|---|
committer | puthuparambil.aditya <aditya.puthuparambil@bell.ca> | 2020-10-05 10:19:13 +0100 |
commit | 7edc7955d012fea43290b21bfd72d77d70ea4ec3 (patch) | |
tree | 0d4ab44ecad0ef051fb03cb04521aab35d4a2c3a /helm/policy-models-simulator/templates/tests/test-connection.yaml | |
parent | bf47a0752450eaacc55176b4eec104693c94defc (diff) |
Helm chart for policy-models-simulator
Issue-ID: POLICY-2828
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Ic5e94edb2bc76067d5cde03dae2670dc6cf99a0e
Diffstat (limited to 'helm/policy-models-simulator/templates/tests/test-connection.yaml')
-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 |