mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-08 08:21:19 -05:00
add ingress
This commit is contained in:
parent
e263e46e15
commit
d3cc4da5f7
1 changed files with 35 additions and 0 deletions
35
kubeclarity/templates/ingress.yaml
Normal file
35
kubeclarity/templates/ingress.yaml
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: kubeclarity-ingress
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- match: Host(`kubeclarity.durp.info`) && PathPrefix(`/`)
|
||||||
|
middlewares:
|
||||||
|
- name: whitelist
|
||||||
|
namespace: traefik
|
||||||
|
- name: authentik-proxy-provider
|
||||||
|
namespace: traefik
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: kubeclarity-kubeclarity
|
||||||
|
port: 8080
|
||||||
|
tls:
|
||||||
|
secretName: kubeclarity-tls
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: kubeclarity-tls
|
||||||
|
spec:
|
||||||
|
secretName: kubeclarity-tls
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-production
|
||||||
|
kind: ClusterIssuer
|
||||||
|
commonName: "kubeclarity.durp.info"
|
||||||
|
dnsNames:
|
||||||
|
- "kubeclarity.durp.info"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue