fix(clustertool): move spegel into its own namespace
This commit is contained in:
@@ -25,5 +25,5 @@ spec:
|
||||
- dockerd
|
||||
- --host=unix:///var/run/docker.sock
|
||||
- --group=123
|
||||
- --registry-mirror=http://spegel-registry.kube-system.svc.cluster.local:5000
|
||||
- --insecure-registry=http://spegel-registry.kube-system.svc.cluster.local:5000
|
||||
- --registry-mirror=http://spegel-registry.spegel.svc.cluster.local:5000
|
||||
- --insecure-registry=http://spegel-registry.spegel.svc.cluster.local:5000
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: spegel
|
||||
namespace: kube-system
|
||||
namespace: spegel
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: spegel
|
||||
labels:
|
||||
pod-security.kubernetes.io/enforce: privileged
|
||||
topolvm.io/webhook: ignore
|
||||
@@ -165,7 +165,7 @@ func RunBootstrap(args []string) {
|
||||
close(stopCh)
|
||||
|
||||
prioCharts := []fluxhandler.HelmChart{
|
||||
{filepath.Join(helper.ClusterPath, "/kubernetes/kube-system/spegel/app"), false, true},
|
||||
{filepath.Join(helper.ClusterPath, "/kubernetes/system/spegel/app"), false, true},
|
||||
{filepath.Join(helper.ClusterPath, "/kubernetes/system/cert-manager/app"), false, false},
|
||||
}
|
||||
fluxhandler.InstallCharts(prioCharts, HelmRepos, false)
|
||||
|
||||
Reference in New Issue
Block a user