bitwarden-crd-operator/chart/bitwarden-crd-operator/templates/tests/test-connection.yaml

16 lines
424 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "bitwarden-crd-operator.fullname" . }}-test-connection"
labels:
{{- include "bitwarden-crd-operator.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "bitwarden-crd-operator.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never