Fix Rancher deployment: add cattle-system namespace, fix Traefik config with port 9442
This commit is contained in:
@@ -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
|
||||
@@ -1,15 +0,0 @@
|
||||
apiVersion: helm.cattle.io/v1
|
||||
kind: HelmChartConfig
|
||||
metadata:
|
||||
name: traefik
|
||||
namespace: kube-system
|
||||
spec:
|
||||
valuesContent: |-
|
||||
additionalArguments:
|
||||
- "--entryPoints.rancher.address=:9442/tcp"
|
||||
ports:
|
||||
rancher:
|
||||
port: 9442
|
||||
expose: true
|
||||
exposedPort: 9442
|
||||
protocol: TCP
|
||||
Reference in New Issue
Block a user