From 356bf65f531837f0cef9e42ce119e448207b5140 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Sat, 2 Dec 2023 16:23:40 +0800 Subject: [PATCH] fix(whoogle): cleanup --- kube/deploy/apps/whoogle/app/hr.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/kube/deploy/apps/whoogle/app/hr.yaml b/kube/deploy/apps/whoogle/app/hr.yaml index 2497b6f9..0d0f2855 100644 --- a/kube/deploy/apps/whoogle/app/hr.yaml +++ b/kube/deploy/apps/whoogle/app/hr.yaml @@ -18,6 +18,9 @@ spec: controller: strategy: RollingUpdate fullNameOverride: whoogle + podLabels: + ingress.home.arpa/nginx-internal: "allow" + egress.home.arpa/world-https: "allow" image: repository: docker.io/benbusby/whoogle-search tag: 0.8.4 @@ -34,13 +37,6 @@ spec: WHOOGLE_TOR_SERVICE: 0 WHOOGLE_PROXY_TYPE: "socks5" WHOOGLE_PROXY_LOC: "10.64.0.1:1080" - dnsPolicy: None - dnsConfig: - options: - - name: ndots - value: "1" - nameservers: - - "${IP_HOME_DNS}" service: main: ports: @@ -52,13 +48,12 @@ spec: primary: true ingressClassName: "nginx-internal" hosts: - - host: "${APP_DNS_WHOOGLE}" + - host: &host "${APP_DNS_WHOOGLE}" paths: - path: / pathType: Prefix tls: - - hosts: - - "${APP_DNS_WHOOGLE}" + - hosts: [*host] resources: requests: cpu: 5m