rancher-charts/packages/rancher-alerting/rancher-prom2teams/generated-changes/exclude/templates/tests/test-connection.yaml

17 lines
451 B
YAML
Raw Normal View History

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "prom2teams.fullname" . }}-test-connection"
labels:
{{ include "prom2teams.labels" . | indent 4 }}
annotations:
"helm.sh/hook": test-success
"helm.sh/hook-delete-policy": test-success,test-failure
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "prom2teams.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never