From c9b7aadd09898bb9b9d6f16b2d97854d0869ebbd Mon Sep 17 00:00:00 2001 From: Steven Kreitzer Date: Fri, 5 Jan 2024 07:09:44 -0600 Subject: [PATCH] chore(kubernetes): add ndots to apps --- .../external-secrets/stores/onepassword/helmrelease.yaml | 4 ++++ .../monitoring/exporters/bazarr-exporter/app/helmrelease.yaml | 2 +- .../exporters/blackbox-exporter/probes/homelab.yaml | 2 +- .../exporters/overseerr-exporter/app/helmrelease.yaml | 2 +- .../exporters/prowlarr-exporter/app/helmrelease.yaml | 2 +- .../exporters/qbittorrent-exporter/app/helmrelease.yaml | 2 +- .../monitoring/exporters/radarr-exporter/app/helmrelease.yaml | 2 +- .../exporters/sabnzbd-exporter/app/helmrelease.yaml | 2 +- .../monitoring/exporters/sonarr-exporter/app/helmrelease.yaml | 2 +- .../exporters/tautulli-exporter/app/helmrelease.yaml | 2 +- 10 files changed, 13 insertions(+), 9 deletions(-) diff --git a/kubernetes/apps/kube-system/external-secrets/stores/onepassword/helmrelease.yaml b/kubernetes/apps/kube-system/external-secrets/stores/onepassword/helmrelease.yaml index fff69c4798..4ae66a1679 100644 --- a/kubernetes/apps/kube-system/external-secrets/stores/onepassword/helmrelease.yaml +++ b/kubernetes/apps/kube-system/external-secrets/stores/onepassword/helmrelease.yaml @@ -109,6 +109,10 @@ spec: resources: *resources securityContext: *securityContext pod: + dnsConfig: + options: + - name: ndots + value: "1" securityContext: runAsUser: 999 runAsGroup: 999 diff --git a/kubernetes/apps/monitoring/exporters/bazarr-exporter/app/helmrelease.yaml b/kubernetes/apps/monitoring/exporters/bazarr-exporter/app/helmrelease.yaml index f39d8327fe..7d62e15dfe 100644 --- a/kubernetes/apps/monitoring/exporters/bazarr-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/exporters/bazarr-exporter/app/helmrelease.yaml @@ -36,7 +36,7 @@ spec: - bazarr env: PORT: &port 9707 - URL: http://bazarr.media.svc.cluster.local:6767 + URL: http://bazarr.media.svc.cluster.local.:6767 envFrom: - secretRef: name: bazarr-exporter-secret diff --git a/kubernetes/apps/monitoring/exporters/blackbox-exporter/probes/homelab.yaml b/kubernetes/apps/monitoring/exporters/blackbox-exporter/probes/homelab.yaml index 8fd375494b..c291bcbb89 100644 --- a/kubernetes/apps/monitoring/exporters/blackbox-exporter/probes/homelab.yaml +++ b/kubernetes/apps/monitoring/exporters/blackbox-exporter/probes/homelab.yaml @@ -6,7 +6,7 @@ metadata: spec: module: icmp prober: - url: blackbox-exporter.monitoring.svc.cluster.local:9115 + url: blackbox-exporter.monitoring.svc.cluster.local.:9115 targets: staticConfig: static: diff --git a/kubernetes/apps/monitoring/exporters/overseerr-exporter/app/helmrelease.yaml b/kubernetes/apps/monitoring/exporters/overseerr-exporter/app/helmrelease.yaml index 82c2b15556..aacc010c71 100644 --- a/kubernetes/apps/monitoring/exporters/overseerr-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/exporters/overseerr-exporter/app/helmrelease.yaml @@ -34,7 +34,7 @@ spec: tag: 1.2.1@sha256:b5cbff0fcd04a118190849b1ed92f51669109f766171106fc0b87f7a8562273b args: - --overseerr.address - - http://overseerr.media.svc.cluster.local:5055 + - http://overseerr.media.svc.cluster.local.:5055 - --overseerr.api-key - $(OVERSEERR_API_KEY) envFrom: diff --git a/kubernetes/apps/monitoring/exporters/prowlarr-exporter/app/helmrelease.yaml b/kubernetes/apps/monitoring/exporters/prowlarr-exporter/app/helmrelease.yaml index b562c5a480..70c5e09cf9 100644 --- a/kubernetes/apps/monitoring/exporters/prowlarr-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/exporters/prowlarr-exporter/app/helmrelease.yaml @@ -37,7 +37,7 @@ spec: - --enable-additional-metrics env: PORT: &port 9707 - URL: http://prowlarr.media.svc.cluster.local:9696 + URL: http://prowlarr.media.svc.cluster.local.:9696 envFrom: - secretRef: name: prowlarr-exporter-secret diff --git a/kubernetes/apps/monitoring/exporters/qbittorrent-exporter/app/helmrelease.yaml b/kubernetes/apps/monitoring/exporters/qbittorrent-exporter/app/helmrelease.yaml index 176b0dabb6..5a0e8a3488 100644 --- a/kubernetes/apps/monitoring/exporters/qbittorrent-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/exporters/qbittorrent-exporter/app/helmrelease.yaml @@ -32,7 +32,7 @@ spec: tag: v1.4.0@sha256:332695b34a532758ae6abef342ba537d6cd61cf1bec01c2bc31bd45955562a33 env: EXPORTER_PORT: &port 8000 - QBITTORRENT_HOST: qbittorrent.media.svc.cluster.local + QBITTORRENT_HOST: qbittorrent.media.svc.cluster.local. QBITTORRENT_PORT: 8080 resources: requests: diff --git a/kubernetes/apps/monitoring/exporters/radarr-exporter/app/helmrelease.yaml b/kubernetes/apps/monitoring/exporters/radarr-exporter/app/helmrelease.yaml index 7d69fafcef..d6689fdfb2 100644 --- a/kubernetes/apps/monitoring/exporters/radarr-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/exporters/radarr-exporter/app/helmrelease.yaml @@ -38,7 +38,7 @@ spec: - --enable-unknown-queue-items env: PORT: &port 9707 - URL: http://radarr.media.svc.cluster.local:7878 + URL: http://radarr.media.svc.cluster.local.:7878 envFrom: - secretRef: name: radarr-exporter-secret diff --git a/kubernetes/apps/monitoring/exporters/sabnzbd-exporter/app/helmrelease.yaml b/kubernetes/apps/monitoring/exporters/sabnzbd-exporter/app/helmrelease.yaml index 7a48197f03..ce3150a2d0 100644 --- a/kubernetes/apps/monitoring/exporters/sabnzbd-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/exporters/sabnzbd-exporter/app/helmrelease.yaml @@ -36,7 +36,7 @@ spec: - sabnzbd env: PORT: &port 9712 - URL: http://sabnzbd.media.svc.cluster.local:8080 + URL: http://sabnzbd.media.svc.cluster.local.:8080 envFrom: - secretRef: name: sabnzbd-exporter-secret diff --git a/kubernetes/apps/monitoring/exporters/sonarr-exporter/app/helmrelease.yaml b/kubernetes/apps/monitoring/exporters/sonarr-exporter/app/helmrelease.yaml index 02b71adf1c..fd194cead1 100644 --- a/kubernetes/apps/monitoring/exporters/sonarr-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/exporters/sonarr-exporter/app/helmrelease.yaml @@ -38,7 +38,7 @@ spec: - --enable-unknown-queue-items env: PORT: &port 9707 - URL: http://sonarr.media.svc.cluster.local:8989 + URL: http://sonarr.media.svc.cluster.local.:8989 envFrom: - secretRef: name: sonarr-exporter-secret diff --git a/kubernetes/apps/monitoring/exporters/tautulli-exporter/app/helmrelease.yaml b/kubernetes/apps/monitoring/exporters/tautulli-exporter/app/helmrelease.yaml index 149abfde41..3bf2719c5c 100644 --- a/kubernetes/apps/monitoring/exporters/tautulli-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/exporters/tautulli-exporter/app/helmrelease.yaml @@ -34,7 +34,7 @@ spec: tag: v0.1.0@sha256:36b53431ac19d8196e2b4431b98b221b3009c9d97dc3509bc229c7b569b23350 env: SERVE_PORT: &port 9487 - TAUTULLI_URI: http://tautulli.media.svc.cluster.local:8181 + TAUTULLI_URI: http://tautulli.media.svc.cluster.local.:8181 envFrom: - secretRef: name: tautulli-exporter-secret