switch to traefik #39

Merged
aaron merged 2 commits from traefik into main 2024-02-18 06:26:05 +01:00
4 changed files with 13 additions and 13 deletions
Showing only changes of commit bce6e8f315 - Show all commits

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