helm-charts/bitwarden/templates/tests/test-connection.yaml

16 lines
393 B
YAML

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