switch to traefik 2
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2024-02-18 06:17:03 +01:00
parent b5bcfff108
commit bce6e8f315
Signed by: aaron
GPG key ID: 643004654D40D577
4 changed files with 13 additions and 13 deletions

View file

@ -2,24 +2,24 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nginx-ingress
name: traefik
namespace: argocd
spec:
project: default
sources:
- repoURL: https://helm.nginx.com/stable
chart: nginx-ingress
targetRevision: 1.1.2
- repoURL: https://traefik.github.io/charts
chart: traefik
targetRevision: 26.0.0
helm:
releaseName: nginx
releaseName: traefik
valueFiles:
- $values/ingress/values.yaml
- $values/traefik/values.yaml
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
ref: values
destination:
server: https://kubernetes.default.svc
namespace: nginx-ingress
namespace: traefik
syncPolicy:
syncOptions:
- CreateNamespace=true

View file

@ -69,7 +69,7 @@ metadata:
namespace: example
#annotations:
# Use for Basic auth:
# traefik.ingress.kubernetes.io/router.middlewares: default-basic-auth@kubernetescrd
# traefik.ingress.kubernetes.io/router.middlewares: traefik-basic-auth@kubernetescrd
spec:
rules:
- host: "example.apps.yolokube.de"

View file

@ -25,7 +25,7 @@ ingress:
ingressClassName: nginx
host: longhorn.services.yolokube.de
annotations:
nginx.org/basic-auth-secret: longhorn-basic-auth-secret
traefik.ingress.kubernetes.io/router.middlewares: traefik-basic-auth@kubernetescrd
metrics:
serviceMonitor:
enabled: true

View file

@ -60,7 +60,7 @@ alertmanager:
hosts:
- alertmanager.services.yolokube.de
annotations:
nginx.org/basic-auth-secret: prometheus-basic-auth-secret
traefik.ingress.kubernetes.io/router.middlewares: traefik-basic-auth@kubernetescrd
ingressPerReplica:
pathType: ImplementationSpecific
paths:
@ -70,7 +70,7 @@ alertmanager:
hostPrefix: alertmanager
hostDomain: services.yolokube.de
annotations:
nginx.org/basic-auth-secret: prometheus-basic-auth-secret
traefik.ingress.kubernetes.io/router.middlewares: traefik-basic-auth@kubernetescrd
servicePerReplica:
enabled: true
podAntiAffinity: "hard"
@ -107,7 +107,7 @@ prometheus:
hosts:
- prometheus.services.yolokube.de
annotations:
nginx.org/basic-auth-secret: prometheus-basic-auth-secret
traefik.ingress.kubernetes.io/router.middlewares: traefik-basic-auth@kubernetescrd
ingressPerReplica:
pathType: ImplementationSpecific
paths:
@ -116,7 +116,7 @@ prometheus:
hostPrefix: prometheus
hostDomain: services.yolokube.de
annotations:
nginx.org/basic-auth-secret: prometheus-basic-auth-secret
traefik.ingress.kubernetes.io/router.middlewares: traefik-basic-auth@kubernetescrd
prometheusSpec:
retentionSize: "45GB"
replicas: 2