summaryrefslogtreecommitdiff
path: root/data.d
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-08-21 15:36:18 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-08-21 17:24:52 +0200
commit77db08caf767a4fdb2b2e7efd664ea75d7af8054 (patch)
treed602a49088e4ae33593397a01a7338fe542a1d39 /data.d
parent5229137bf9d93775affdf1f4ccf2c1e6a81d1b9d (diff)
Add auth-proxy for prometheus
Diffstat (limited to 'data.d')
-rw-r--r--data.d/k3s-master/manifests.d/tyilnet/monitoring/prometheus/auth-proxy.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/data.d/k3s-master/manifests.d/tyilnet/monitoring/prometheus/auth-proxy.yaml b/data.d/k3s-master/manifests.d/tyilnet/monitoring/prometheus/auth-proxy.yaml
new file mode 100644
index 0000000..e78b5f3
--- /dev/null
+++ b/data.d/k3s-master/manifests.d/tyilnet/monitoring/prometheus/auth-proxy.yaml
@@ -0,0 +1,29 @@
+---
+apiVersion: helm.cattle.io/v1
+kind: HelmChart
+metadata:
+ name: auth-proxy-prometheus
+ namespace: monitoring
+spec:
+ chart: https://git.tyil.nl/helm/oauth2-proxy/snapshot/oauth2-proxy-497a618778ead59ce985b81031a863dda9ff2126.tar.gz
+ valuesContent: |-
+ secret:
+ enabled: false
+ envFrom:
+ secretRef:
+ - name: auth-proxy-prometheus
+ ingress:
+ enabled: true
+ ingressClassName: traefik
+ annotations:
+ cert-manager.io/cluster-issuer: "letsencrypt-production"
+ traefik.ingress.kubernetes.io/router.middlewares: kube-system-redirect-https@kubernetescrd
+ tls:
+ - secretName: tls-nl.tyil.prometheus
+ hosts:
+ - prometheus.tyil.nl
+ hosts:
+ - host: prometheus.tyil.nl
+ paths:
+ - path: /
+ pathType: Prefix