Factory/metal3-chart/charts/baremetal-operator/templates/tests/test-connection.yaml

16 lines
412 B
YAML
Raw Normal View History

2024-10-22 09:51:51 +02:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "baremetal-operator.fullname" . }}-test-connection"
labels:
{{- include "baremetal-operator.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "baremetal-operator.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never