mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-08 00:11:21 -05:00
update
This commit is contained in:
parent
a8e743d0b6
commit
25855b2b5d
4 changed files with 92 additions and 33 deletions
33
api/templates/ingress.yaml
Normal file
33
api/templates/ingress.yaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: "{{ .Chart.Name }}-ingress"
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host("api.durp.info") && Path(`/durpapi`)
|
||||
middlewares:
|
||||
- name: authentik-proxy-provider
|
||||
namespace: traefik
|
||||
kind: Rule
|
||||
services:
|
||||
- name: durpapi-service.durpapi.traefik.mesh
|
||||
port: 80
|
||||
tls:
|
||||
secretName: durpapi-tls
|
||||
|
||||
---
|
||||
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: durpapi-tls
|
||||
spec:
|
||||
secretName: durpapi-tls
|
||||
issuerRef:
|
||||
name: letsencrypt-production
|
||||
kind: ClusterIssuer
|
||||
commonName: api.durp.info
|
||||
dnsNames:
|
||||
- api.durp.info
|
||||
Loading…
Add table
Add a link
Reference in a new issue