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
+16
View File
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "pihole-exporter.fullname" . }}
labels:
{{ include "pihole-exporter.labels" . | indent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: {{ .Values.service.port }}
protocol: TCP
name: exporter-port
selector:
app.kubernetes.io/name: {{ include "pihole-exporter.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}