mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-09 00:31:31 -05:00
Update folder location
This commit is contained in:
parent
dc324a2d8b
commit
c39f20e371
170 changed files with 8461 additions and 25 deletions
44
master/durpapi/templates/ingress.yaml
Normal file
44
master/durpapi/templates/ingress.yaml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: "{{ .Chart.Name }}-ingress"
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host("api.durp.info") && PathPrefix(`/api`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: jwt
|
||||
services:
|
||||
- name: "durpapi-service"
|
||||
port: 80
|
||||
|
||||
---
|
||||
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: "{{ .Chart.Name }}-swagger"
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host("api.durp.info") && PathPrefix(`/swagger`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: "durpapi-service"
|
||||
port: 80
|
||||
|
||||
---
|
||||
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: jwt
|
||||
spec:
|
||||
plugin:
|
||||
jwt:
|
||||
Required: true
|
||||
Keys:
|
||||
- https://authentik.durp.info/application/o/api/jwks
|
||||
Loading…
Add table
Add a link
Reference in a new issue