Ingres is now my buddy
This commit is contained in:
parent
e2af3c344b
commit
fa445c91f6
@ -56,23 +56,32 @@ spec:
|
|||||||
- port: 8080
|
- port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: IngressRoute
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
|
annotations:
|
||||||
|
# add an annotation indicating the issuer to use.
|
||||||
|
cert-manager.io/acme-challenge-type: dns01
|
||||||
|
cert-manager.io/cluster-issuer: roxedus.com-cloudflare
|
||||||
name: searxng
|
name: searxng
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
ingressClassName: traefik
|
||||||
- websecure
|
rules:
|
||||||
routes:
|
- host: searxng.roxedus.com
|
||||||
- kind: Rule
|
http:
|
||||||
match: Host("searxng.roxedus.com")
|
paths:
|
||||||
priority: 10
|
- pathType: Prefix
|
||||||
services:
|
path: /
|
||||||
- name: searxng
|
backend:
|
||||||
port: 8080
|
service:
|
||||||
|
name: searxng
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
tls:
|
tls:
|
||||||
certResolver: cloudflare
|
- hosts:
|
||||||
|
- searxng.roxedus.com
|
||||||
|
secretName: searxng-roxedus-com-cert
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
|
@ -52,31 +52,3 @@ spec:
|
|||||||
# dnsNames:
|
# dnsNames:
|
||||||
# - 'roxedus.com'
|
# - 'roxedus.com'
|
||||||
# - '*.roxedus.com'
|
# - '*.roxedus.com'
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
# add an annotation indicating the issuer to use.
|
|
||||||
cert-manager.io/acme-challenge-type: dns01
|
|
||||||
cert-manager.io/cluster-issuer: roxedus.com-cloudflare
|
|
||||||
traefik.ingress.kubernetes.io/router.middlewares: authentik-ak-outpost-localcluster@kubernetescrd
|
|
||||||
name: testingress
|
|
||||||
namespace: default
|
|
||||||
spec:
|
|
||||||
ingressClassName: traefik
|
|
||||||
rules:
|
|
||||||
- host: test.roxedus.com
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: Prefix
|
|
||||||
path: /
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: searxng
|
|
||||||
port:
|
|
||||||
number: 8080
|
|
||||||
tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
|
|
||||||
- hosts:
|
|
||||||
- test.roxedus.com
|
|
||||||
secretName: test-roxedus-com-cert # < cert-manager will store the created certificate in this secret.
|
|
Loading…
Reference in New Issue
Block a user