Fix Rancher deployment: add cattle-system namespace, fix Traefik config with port 9442
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -14,4 +14,5 @@ spec:
|
||||
timeout: 15m
|
||||
suspend: false
|
||||
dependsOn:
|
||||
- name: addon-traefik-config
|
||||
- name: addon-tailscale-operator
|
||||
|
||||
15
infrastructure/addons/kustomization-traefik-config.yaml
Normal file
15
infrastructure/addons/kustomization-traefik-config.yaml
Normal 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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
4
infrastructure/addons/rancher/namespace.yaml
Normal file
4
infrastructure/addons/rancher/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: cattle-system
|
||||
@@ -6,6 +6,7 @@ metadata:
|
||||
spec:
|
||||
valuesContent: |-
|
||||
additionalArguments:
|
||||
- "--entryPoints.flux.address=:9001/tcp"
|
||||
- "--entryPoints.rancher.address=:9442/tcp"
|
||||
ports:
|
||||
rancher:
|
||||
4
infrastructure/addons/traefik-config/kustomization.yaml
Normal file
4
infrastructure/addons/traefik-config/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helmchartconfig-traefik.yaml
|
||||
Reference in New Issue
Block a user