Skip to content

Commit

Permalink
fix(clustertool): move spegel into its own namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
PrivatePuffin committed Oct 20, 2024
1 parent 97b3c76 commit 88abae9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: spegel
namespace: kube-system
namespace: spegel
spec:
interval: 30m
chart:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: Namespace
metadata:
name: spegel
labels:
pod-security.kubernetes.io/enforce: privileged
topolvm.io/webhook: ignore
2 changes: 1 addition & 1 deletion clustertool/pkg/gencmd/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 88abae9

Please sign in to comment.