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