update
This commit is contained in:
6
api/Chart.yaml
Normal file
6
api/Chart.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: api
|
||||
description: A Helm chart for Kubernetes
|
||||
type: application
|
||||
version: 0.0.1
|
||||
appVersion: 0.0.1
|
||||
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
|
||||
Reference in New Issue
Block a user