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