refactor: install traefik via helm chart directly to avoid issues where traefik silently fails installation

This commit is contained in:
Jose Diaz-Gonzalez
2024-01-24 03:58:39 -05:00
parent e164f8393a
commit ea55db2747
4 changed files with 40 additions and 27 deletions

View File

@@ -1,16 +0,0 @@
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: traefik-crd
namespace: kube-system
spec:
bootstrap: true
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: traefik
namespace: kube-system
spec:
bootstrap: true

View File

@@ -0,0 +1,26 @@
logs:
access:
enabled: true
format: json
podAnnotations:
prometheus.io/port: "8082"
prometheus.io/scrape: "true"
providers:
kubernetesCRD:
enabled: true
allowCrossNamespace: true
kubernetesIngress:
publishedService:
enabled: true
priorityClassName: "system-cluster-critical"
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
service:
ipFamilyPolicy: "PreferDualStack"