traefik restructure and backup
This commit is contained in:
parent
5585ff5fe6
commit
bbdcd9dc74
16
_debug/03-traefik/base/argo-cd-ui-ingress.yaml
Normal file
16
_debug/03-traefik/base/argo-cd-ui-ingress.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: argocd-ui
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`argocd.steffenillium.de`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: argocd-server
|
||||
port: 80
|
||||
tls:
|
||||
certResolver: myresolver
|
9
_debug/03-traefik/base/traefik-helm-chart.yaml
Normal file
9
_debug/03-traefik/base/traefik-helm-chart.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: builtin
|
||||
kind: HelmChartInflationGenerator
|
||||
metadata:
|
||||
name: traefik-ingress-controller
|
||||
name: traefik-ingress-controller
|
||||
namespace: traefik
|
||||
releaseName: latest
|
||||
repo: https://traefik.github.io/charts
|
||||
valuesFile: values.yaml
|
22
_debug/03-traefik/base/values.yaml
Normal file
22
_debug/03-traefik/base/values.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
deployment:
|
||||
kind: Deployment
|
||||
replicas: 1
|
||||
|
||||
rbac:
|
||||
namespaced: false
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
|
||||
ingressRoute:
|
||||
dashboard:
|
||||
enabled: true
|
||||
# Custom match rule with host domain
|
||||
matchRule: Host(`tr.steffenillium.de`)
|
||||
entryPoints: ["websecure", "web"]
|
||||
# Add custom middlewares : authentication and redirection
|
||||
# middlewares:
|
||||
# - name: traefik-dashboard-auth
|
||||
additionalArguments:
|
||||
- "--api.insecure=true"
|
||||
|
8
_debug/03-traefik/kustomization.yaml
Normal file
8
_debug/03-traefik/kustomization.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- base/argo-cd-ui-ingress.yaml
|
||||
|
||||
generators:
|
||||
- base/traefik-helm-chart.yaml
|
||||
|
@ -1,11 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
# - base/traefik-RBAC.yaml
|
||||
# - base/traefik-clusterrole.yaml
|
||||
# - base/traefik-crds.yaml
|
||||
# - base/traefik-dashboard-ingress.yaml
|
||||
# - base/traefik-service-account.yaml
|
||||
- base/argo-cd-ui-ingress.yaml
|
||||
|
||||
generators:
|
||||
|
Loading…
x
Reference in New Issue
Block a user