🔧 dns optim

This commit is contained in:
auricom
2022-09-16 13:38:50 +02:00
parent 8a2da73adb
commit bcd73d05d9
31 changed files with 45 additions and 50 deletions

View File

@@ -94,8 +94,7 @@ spec:
enabled: true
className: nginx
annotations:
nginx.ingress.kubernetes.io/auth-url: "http://authelia.default.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://auth.${SECRET_CLUSTER_DOMAIN}"
auth.home.arpa/enabled: "true"
hosts:
- host: "blackbox.${SECRET_CLUSTER_DOMAIN}"
paths:

View File

@@ -97,12 +97,12 @@ spec:
- name: Prometheus
type: prometheus
access: proxy
url: http://thanos-query.monitoring.svc.cluster.local:9090
url: http://thanos-query.monitoring.svc.cluster.local.:9090
isDefault: true
# - name: Loki
# type: loki
# access: proxy
# url: http://loki-gateway.monitoring.svc.cluster.local:80
# url: http://loki-gateway.monitoring.svc.cluster.local.:80
dashboards:
default:
home-assistant:

View File

@@ -12,7 +12,7 @@ spec:
ALLOWED_HOSTS: "*"
DEBUG: "False"
DB: postgres
DB_HOST: postgres-rw.default.svc.cluster.local
DB_HOST: postgres-rw.default.svc.cluster.local.
DB_PORT: 5432
DB_NAME: healthchecks
SITE_ROOT: "https://healthchecks.${SECRET_CLUSTER_DOMAIN}"

View File

@@ -11,7 +11,7 @@ spec:
image: ghcr.io/onedr0p/postgres-initdb:14.5
env:
- name: POSTGRES_HOST
value: postgres-rw.default.svc.cluster.local
value: postgres-rw.default.svc.cluster.local.
- name: POSTGRES_DB
value: healthchecks
- name: POSTGRES_SUPER_PASS

View File

@@ -118,8 +118,7 @@ spec:
pathType: Prefix
ingressClassName: "nginx"
annotations:
nginx.ingress.kubernetes.io/auth-url: "http://authelia.default.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://auth.${SECRET_CLUSTER_DOMAIN}"
auth.home.arpa/enabled: "true"
hosts: ["prometheus.${SECRET_CLUSTER_DOMAIN}"]
tls:
- hosts:
@@ -365,8 +364,7 @@ spec:
pathType: Prefix
ingressClassName: "nginx"
annotations:
nginx.ingress.kubernetes.io/auth-url: "http://authelia.default.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://auth.${SECRET_CLUSTER_DOMAIN}"
auth.home.arpa/enabled: "true"
hosts: ["alert-manager.${SECRET_CLUSTER_DOMAIN}"]
tls:
- hosts:

View File

@@ -38,8 +38,7 @@ spec:
enabled: true
hostname: &host "thanos-query.${SECRET_CLUSTER_DOMAIN}"
annotations:
nginx.ingress.kubernetes.io/auth-url: "http://authelia.default.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://auth.${SECRET_CLUSTER_DOMAIN}"
auth.home.arpa/enabled: "true"
ingressClassName: "nginx"
tls: true
extraTls: