Updated Loki and Prometheus config

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2021-11-27 13:35:19 +00:00
parent ad33387c26
commit 796f891f17
3 changed files with 38 additions and 15 deletions

View File

@@ -62,6 +62,7 @@ metadata:
annotations:
kube-1password: m7c2n5gqybiyxj6ylydju2nljm
kube-1password/vault: Kubernetes
kube-1password/password-key: auth
type: Opaque
---
apiVersion: networking.k8s.io/v1
@@ -74,8 +75,8 @@ metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
ingress.kubernetes.io/auth-type: basic
ingress.kubernetes.io/auth-secret: prometheus-credentials
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: prometheus-credentials
spec:
ingressClassName: nginx
tls:

View File

@@ -417,7 +417,7 @@ spec:
matchLabels:
app.kubernetes.io/name: prometheus
app.kubernetes.io/component: server
replicas: 0
replicas: 1
template:
metadata:
labels: