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
|
- cluster-user-auth-externalsecret.yaml
|
||||||
- gitrepository-weave-gitops.yaml
|
- gitrepository-weave-gitops.yaml
|
||||||
- helmrelease-weave-gitops.yaml
|
- helmrelease-weave-gitops.yaml
|
||||||
- traefik-helmchartconfig-flux-entrypoint.yaml
|
|
||||||
- ingress-flux-ui.yaml
|
- ingress-flux-ui.yaml
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ spec:
|
|||||||
name: platform
|
name: platform
|
||||||
path: ./infrastructure/addons/flux-ui
|
path: ./infrastructure/addons/flux-ui
|
||||||
dependsOn:
|
dependsOn:
|
||||||
|
- name: addon-traefik-config
|
||||||
- name: addon-external-secrets
|
- name: addon-external-secrets
|
||||||
wait: true
|
wait: true
|
||||||
timeout: 5m
|
timeout: 5m
|
||||||
|
|||||||
@@ -14,4 +14,5 @@ spec:
|
|||||||
timeout: 15m
|
timeout: 15m
|
||||||
suspend: false
|
suspend: false
|
||||||
dependsOn:
|
dependsOn:
|
||||||
|
- name: addon-traefik-config
|
||||||
- name: addon-tailscale-operator
|
- 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:
|
resources:
|
||||||
- kustomization-ccm.yaml
|
- kustomization-ccm.yaml
|
||||||
- kustomization-csi.yaml
|
- kustomization-csi.yaml
|
||||||
|
- kustomization-traefik-config.yaml
|
||||||
- kustomization-external-secrets.yaml
|
- kustomization-external-secrets.yaml
|
||||||
- kustomization-flux-ui.yaml
|
- kustomization-flux-ui.yaml
|
||||||
- kustomization-tailscale-operator.yaml
|
- kustomization-tailscale-operator.yaml
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
- helmrepository-rancher.yaml
|
- helmrepository-rancher.yaml
|
||||||
- helmrelease-rancher.yaml
|
- helmrelease-rancher.yaml
|
||||||
- traefik-helmchartconfig-rancher-entrypoint.yaml
|
|
||||||
- ingress-rancher.yaml
|
- ingress-rancher.yaml
|
||||||
- rancher-bootstrap-password-externalsecret.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:
|
spec:
|
||||||
valuesContent: |-
|
valuesContent: |-
|
||||||
additionalArguments:
|
additionalArguments:
|
||||||
|
- "--entryPoints.flux.address=:9001/tcp"
|
||||||
- "--entryPoints.rancher.address=:9442/tcp"
|
- "--entryPoints.rancher.address=:9442/tcp"
|
||||||
ports:
|
ports:
|
||||||
rancher:
|
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