postgresql-with-exts-chart/postgresql-with-ext/templates/tests/test-connection.yaml

16 lines
415 B
YAML
Raw Permalink Normal View History

2024-05-07 10:54:45 +00:00
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "postgresql-with-ext.fullname" . }}-test-connection"
labels:
{{- include "postgresql-with-ext.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "postgresql-with-ext.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never