From 91a82b3d129c0a26ca80f4c992f159e284476480 Mon Sep 17 00:00:00 2001 From: nold Date: Wed, 5 Jan 2022 16:47:55 +0100 Subject: [PATCH] Change: internal-ingress to traefik --- projects/core/project.yml | 7 ++-- projects/core/values/ingress-internal.yaml | 44 +++++++++++----------- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/projects/core/project.yml b/projects/core/project.yml index f421856f..3080ec6d 100644 --- a/projects/core/project.yml +++ b/projects/core/project.yml @@ -45,10 +45,11 @@ apps: - secretId - name: ingress-internal namespace: ingress-internal - repoURL: https://kubernetes.github.io/ingress-nginx - chart: ingress-nginx - targetRevision: 4.0.13 + repoURL: https://helm.traefik.io/traefik + chart: traefik + targetRevision: 10.9.1 syncWave: '0' + - name: ingress-external namespace: ingress-external repoURL: https://kubernetes.github.io/ingress-nginx diff --git a/projects/core/values/ingress-internal.yaml b/projects/core/values/ingress-internal.yaml index 5d8a6e8b..e82184ad 100644 --- a/projects/core/values/ingress-internal.yaml +++ b/projects/core/values/ingress-internal.yaml @@ -1,25 +1,25 @@ -controller: - name: controller-internal - electionID: ingress-controller-internal-leader - watchIngressWithoutClass: true - ingressClassResource: - name: nginx - enabled: true - default: true - - kind: Deployment - service: - annotations: - metallb.universe.tf/address-pool: internal - metrics: - enabled: true - service: - annotations: - prometheus.io/scrape: "true" - prometheus.io/port: "10254" - -defaultBackend: +ingressClass: enabled: true + isDefaultClass: true -podSecurityPolicy: +providers: + kubernetesCRD: + ingressClass: internal + +globalArguments: [] + +ports: + web: + redirectTo: websecure + websecure: + tls: + enabled: true + +service: enabled: true + type: LoadBalancer + annotations: + metallb.universe.tf/address-pool: internal + + externalIPs: + - 192.168.1.11