update
This commit is contained in:
@@ -1,20 +1,20 @@
|
|||||||
#apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
#kind: Application
|
kind: Application
|
||||||
#metadata:
|
metadata:
|
||||||
# name: kong
|
name: kong
|
||||||
# namespace: argocd
|
namespace: argocd
|
||||||
#spec:
|
spec:
|
||||||
# project: default
|
project: default
|
||||||
# source:
|
source:
|
||||||
# repoURL: https://gitlab.com/developerdurp/homelab.git
|
repoURL: https://gitlab.com/developerdurp/homelab.git
|
||||||
# targetRevision: main
|
targetRevision: main
|
||||||
# path: kong
|
path: kong
|
||||||
# destination:
|
destination:
|
||||||
# namespace: kong
|
namespace: kong
|
||||||
# name: in-cluster
|
name: in-cluster
|
||||||
# syncPolicy:
|
syncPolicy:
|
||||||
# automated:
|
automated:
|
||||||
# prune: true
|
prune: true
|
||||||
# selfHeal: true
|
selfHeal: true
|
||||||
# syncOptions:
|
syncOptions:
|
||||||
# - CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|||||||
@@ -1,45 +1,45 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
#apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: IngressRoute
|
#kind: IngressRoute
|
||||||
metadata:
|
#metadata:
|
||||||
name: "{{ .Chart.Name }}-ingress"
|
# name: "{{ .Chart.Name }}-ingress"
|
||||||
spec:
|
#spec:
|
||||||
entryPoints:
|
# entryPoints:
|
||||||
- websecure
|
# - websecure
|
||||||
routes:
|
# routes:
|
||||||
- match: Host("api.durp.info") && PathPrefix(`/durpapi`)
|
# - match: Host("api.durp.info") && PathPrefix(`/durpapi`)
|
||||||
middlewares:
|
# middlewares:
|
||||||
- name: authentik-proxy-provider
|
# - name: authentik-proxy-provider
|
||||||
namespace: traefik
|
# namespace: traefik
|
||||||
- name: durpapi-stripprefix
|
# - name: durpapi-stripprefix
|
||||||
kind: Rule
|
# kind: Rule
|
||||||
services:
|
# services:
|
||||||
- name: durpapi-service
|
# - name: durpapi-service
|
||||||
port: 80
|
# port: 80
|
||||||
tls:
|
# tls:
|
||||||
secretName: durpapi-tls
|
# secretName: durpapi-tls
|
||||||
|
#
|
||||||
---
|
#---
|
||||||
|
#
|
||||||
apiVersion: cert-manager.io/v1
|
#apiVersion: cert-manager.io/v1
|
||||||
kind: Certificate
|
#kind: Certificate
|
||||||
metadata:
|
#metadata:
|
||||||
name: durpapi-tls
|
# name: durpapi-tls
|
||||||
spec:
|
#spec:
|
||||||
secretName: durpapi-tls
|
# secretName: durpapi-tls
|
||||||
issuerRef:
|
# issuerRef:
|
||||||
name: letsencrypt-production
|
# name: letsencrypt-production
|
||||||
kind: ClusterIssuer
|
# kind: ClusterIssuer
|
||||||
commonName: api.durp.info
|
# commonName: api.durp.info
|
||||||
dnsNames:
|
# dnsNames:
|
||||||
- api.durp.info
|
# - api.durp.info
|
||||||
|
#
|
||||||
---
|
#---
|
||||||
|
#
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
#apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: Middleware
|
#kind: Middleware
|
||||||
metadata:
|
#metadata:
|
||||||
name: durpapi-stripprefix
|
# name: durpapi-stripprefix
|
||||||
spec:
|
#spec:
|
||||||
stripPrefix:
|
# stripPrefix:
|
||||||
prefixes:
|
# prefixes:
|
||||||
- /durpapi
|
# - /durpapi
|
||||||
|
|||||||
@@ -82,6 +82,9 @@ spec:
|
|||||||
- websecure
|
- websecure
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`api.durp.info`) && PathPrefix(`/`)
|
- match: Host(`api.durp.info`) && PathPrefix(`/`)
|
||||||
|
middlewares:
|
||||||
|
- name: authentik-proxy-provider
|
||||||
|
namespace: traefik
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: kong-kong-proxy
|
- name: kong-kong-proxy
|
||||||
|
|||||||
Reference in New Issue
Block a user