about summary refs log tree commit diff
path: root/k8s/rest-api/templates/tests/test-connection.yaml
blob: 96fd9f2a02596ab0d337fec50afbe9ec480bbc05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
apiVersion: v1
kind: Pod
metadata:
  name: "{{ include "rest-api.fullname" . }}-test-connection"
  labels:
    {{- include "rest-api.labels" . | nindent 4 }}
  annotations:
    "helm.sh/hook": test
spec:
  containers:
    - name: wget
      image: busybox
      command: ['wget']
      args: ['{{ include "rest-api.fullname" . }}:{{ .Values.service.port }}']
  restartPolicy: Never