postgresql-with-exts-chart/postgresql-with-ext/templates/tests/test-connection.yaml
2024-05-07 18:54:45 +08:00

16 lines
415 B
YAML

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