fix(clustertool): move spegel into its own namespace

This commit is contained in:
Kjeld Schouten
2024-10-20 12:06:18 +02:00
parent 97b3c76291
commit 88abae90ba
4 changed files with 11 additions and 4 deletions
@@ -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
@@ -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
+1 -1
View File
@@ -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)