Add pihole-exporter

This commit is contained in:
2024-02-23 22:10:36 +08:00
parent 29b831f7e7
commit aefd04e2b6
15 changed files with 639 additions and 0 deletions
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "pihole-exporter.fullname" . }}-test-connection"
labels:
{{ include "pihole-exporter.labels" . | indent 4 }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "pihole-exporter.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never