aboutsummaryrefslogtreecommitdiff
path: root/grumpy/gitsnapshot/templates/tests/test-connection.yaml
blob: 189529f40bf99add399b8b0564fa02b89b1892e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
apiVersion: v1
kind: Pod
metadata:
  name: "{{ include "gitsnapshot.fullname" . }}-test-connection"
  labels:
{{ include "gitsnapshot.labels" . | indent 4 }}
  annotations:
    "helm.sh/hook": test-success
spec:
  containers:
    - name: wget
      image: busybox
      command: ['wget']
      args:  ['{{ include "gitsnapshot.fullname" . }}:{{ .Values.service.port }}']
  restartPolicy: Never