diff options
-rw-r--r-- | kubernetes/searx/searx-configmap.yaml | 2 | ||||
-rw-r--r-- | kubernetes/searx/searx-deployment.yaml | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/kubernetes/searx/searx-configmap.yaml b/kubernetes/searx/searx-configmap.yaml index b36005f..4f2f7c5 100644 --- a/kubernetes/searx/searx-configmap.yaml +++ b/kubernetes/searx/searx-configmap.yaml @@ -3,4 +3,4 @@ kind: ConfigMap metadata: name: searx-configmap data: - searx-base-url: http://searx.lan:8080 + searx-base-url: http://searx.lan diff --git a/kubernetes/searx/searx-deployment.yaml b/kubernetes/searx/searx-deployment.yaml index d71c383..256ea2b 100644 --- a/kubernetes/searx/searx-deployment.yaml +++ b/kubernetes/searx/searx-deployment.yaml @@ -16,32 +16,32 @@ spec: spec: containers: - name: searx - image: searx/searx:1.0.0-297-f2f72575 + image: avpnusr/searx:07-11-2021 ports: - containerPort: 8080 env: - name: BASE_URL valueFrom: - secretKeyRef: + configMapKeyRef: name: searx-configmap key: searx-base-url --- apiVersion: v1 kind: Service metadata: - name: pihole-service + name: searx-service spec: selector: - app: pihole - type: NodePort + app: searx + type: LoadBalancer ports: - protocol: TCP - port: 8080 + port: 27080 targetPort: 8080 nodePort: 30501 name: "searx-tcp-8080" - - protocol: UDP - port: 8080 - targetPort: 8080 - nodePort: 30501 - name: "searx-udp-8080" + # - protocol: UDP + # port: 8080 + # targetPort: 8080 + # nodePort: 30501 + # name: "searx-udp-8080" |