Fix Rancher deployment: add cattle-system namespace, fix Traefik config with port 9442
All checks were successful
Deploy Cluster / Terraform (push) Successful in 35s
Deploy Cluster / Ansible (push) Successful in 4m27s

This commit is contained in:
2026-03-24 19:09:28 +00:00
parent 4ffbcfa312
commit ecf17113fb
9 changed files with 28 additions and 2 deletions

View File

@@ -4,5 +4,4 @@ resources:
- cluster-user-auth-externalsecret.yaml
- gitrepository-weave-gitops.yaml
- helmrelease-weave-gitops.yaml
- traefik-helmchartconfig-flux-entrypoint.yaml
- ingress-flux-ui.yaml

View File

@@ -11,6 +11,7 @@ spec:
name: platform
path: ./infrastructure/addons/flux-ui
dependsOn:
- name: addon-traefik-config
- name: addon-external-secrets
wait: true
timeout: 5m

View File

@@ -14,4 +14,5 @@ spec:
timeout: 15m
suspend: false
dependsOn:
- name: addon-traefik-config
- name: addon-tailscale-operator

View File

@@ -0,0 +1,15 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: addon-traefik-config
namespace: flux-system
spec:
interval: 10m
prune: true
sourceRef:
kind: GitRepository
name: platform
path: ./infrastructure/addons/traefik-config
wait: true
timeout: 5m
suspend: false

View File

@@ -3,6 +3,7 @@ kind: Kustomization
resources:
- kustomization-ccm.yaml
- kustomization-csi.yaml
- kustomization-traefik-config.yaml
- kustomization-external-secrets.yaml
- kustomization-flux-ui.yaml
- kustomization-tailscale-operator.yaml

View File

@@ -1,8 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- helmrepository-rancher.yaml
- helmrelease-rancher.yaml
- traefik-helmchartconfig-rancher-entrypoint.yaml
- ingress-rancher.yaml
- rancher-bootstrap-password-externalsecret.yaml

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: cattle-system

View File

@@ -6,6 +6,7 @@ metadata:
spec:
valuesContent: |-
additionalArguments:
- "--entryPoints.flux.address=:9001/tcp"
- "--entryPoints.rancher.address=:9442/tcp"
ports:
rancher:

View File

@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helmchartconfig-traefik.yaml