diff --git a/apps/infra/ingress-nginx-helm.yaml b/apps/infra/ingress-nginx-helm.yaml deleted file mode 100644 index ae5625f..0000000 --- a/apps/infra/ingress-nginx-helm.yaml +++ /dev/null @@ -1,33 +0,0 @@ -apiVersion: helm.cattle.io/v1 -kind: HelmChart -metadata: - name: ingress-nginx - namespace: kube-system -spec: - repo: https://kubernetes.github.io/ingress-nginx - chart: ingress-nginx - version: 4.x.x - targetNamespace: ingress-nginx - valuesContent: |- - controller: - replicaCount: 2 - ingressClassResource: - name: nginx - enabled: true - default: true - controllerValue: "k8s.io/ingress-nginx" - ingressClass: nginx - service: - type: LoadBalancer - externalTrafficPolicy: Local - annotations: - metallb.io/ip-allocated-from-pool: default-pool - metallb.io/loadBalancerIPs: "192.168.20.204" - loadBalancerIP: 192.168.20.204 - resources: - requests: - cpu: 100m - memory: 90Mi - limits: - cpu: 1000m - memory: 256Mi diff --git a/apps/infra/ingress-traefik.yaml b/apps/infra/ingress-traefik.yaml new file mode 100644 index 0000000..902f92b --- /dev/null +++ b/apps/infra/ingress-traefik.yaml @@ -0,0 +1,32 @@ +apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: traefik + namespace: kube-system +spec: + repo: https://traefik.github.io/charts + chart: traefik + version: 41.2.0 + targetNamespace: traefik + createNamespace: true + valuesContent: |- + deployment: + replicas: 2 + ingressClass: + enabled: true + isDefaultClass: true + name: traefik + service: + annotations: + metallb.io/ip-allocated-from-pool: default-pool + metallb.io/loadBalancerIPs: "192.168.20.204" + spec: + type: LoadBalancer + externalTrafficPolicy: Local + resources: + requests: + cpu: 100m + memory: 90Mi + limits: + cpu: 1000m + memory: 256Mi