fixed geoip tag
This commit is contained in:
@@ -11,6 +11,7 @@ metadata:
|
||||
labels:
|
||||
name: mon-system
|
||||
|
||||
|
||||
# =============================================================================
|
||||
# PROMETHEUS CONFIGURATION
|
||||
# =============================================================================
|
||||
@@ -295,7 +296,7 @@ spec:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: '2'
|
||||
cpu: "2"
|
||||
memory: 6Gi
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
@@ -373,6 +374,7 @@ spec:
|
||||
path: /
|
||||
pathType: Prefix
|
||||
|
||||
|
||||
# =============================================================================
|
||||
# GRAFANA CONFIGURATION
|
||||
# =============================================================================
|
||||
@@ -571,7 +573,7 @@ metadata:
|
||||
external-dns.alpha.kubernetes.io/hostname: grafana.dooplex.hu,grafana.home
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
if ($geoip2_city_country_code != "HU") {
|
||||
if ($geoip2_country_code != "HU") {
|
||||
return 403 "Access restricted to Hungary";
|
||||
}
|
||||
spec:
|
||||
@@ -602,6 +604,7 @@ spec:
|
||||
- grafana.dooplex.hu
|
||||
secretName: grafana-tls
|
||||
|
||||
|
||||
# =============================================================================
|
||||
# NODE EXPORTER - Host metrics (CPU, RAM, Disk, Network)
|
||||
# Runs on the host network to collect host metrics
|
||||
@@ -702,6 +705,7 @@ spec:
|
||||
selector:
|
||||
app: node-exporter
|
||||
|
||||
|
||||
# =============================================================================
|
||||
# EXPORTARR - Metrics for Sonarr, Radarr, Prowlarr
|
||||
# =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user