mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-10 09:11:30 -05:00
add searxng
This commit is contained in:
parent
04b638b8f9
commit
a6437bb109
7 changed files with 206 additions and 0 deletions
45
dmz/searxng/templates/ingress.yaml
Normal file
45
dmz/searxng/templates/ingress.yaml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: searxng-ingress
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`searxng.durp.info`) && PathPrefix(`/`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: authentik-proxy-provider
|
||||
namespace: traefik
|
||||
services:
|
||||
- name: searxng
|
||||
port: 3000
|
||||
tls:
|
||||
secretName: searxng-tls
|
||||
|
||||
---
|
||||
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: searxng-tls
|
||||
spec:
|
||||
secretName: searxng-tls
|
||||
issuerRef:
|
||||
name: letsencrypt-production
|
||||
kind: ClusterIssuer
|
||||
commonName: "searxng.durp.info"
|
||||
dnsNames:
|
||||
- "searxng.durp.info"
|
||||
|
||||
---
|
||||
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: searxng-external-dns
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/hostname: searxng.durp.info
|
||||
spec:
|
||||
type: ExternalName
|
||||
externalName: durp.info
|
||||
Loading…
Add table
Add a link
Reference in a new issue