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