aboutsummaryrefslogtreecommitdiffstats
path: root/helm/policy-models-simulator/templates/tests/test-connection.yaml
blob: e90661bc15868ca74778b2d615b142b1f00930af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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