Move system workloads to kube-system.

This commit is contained in:
Joseph Hanson 2024-02-17 09:03:13 -06:00
parent 6597b1aebf
commit 939e8c0b78
9 changed files with 6 additions and 21 deletions

View file

@ -4,6 +4,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: node-feature-discovery name: node-feature-discovery
namespace: kube-system
spec: spec:
interval: 30m interval: 30m
chart: chart:

View file

@ -11,7 +11,7 @@ spec:
labels: labels:
app.kubernetes.io/name: *appname app.kubernetes.io/name: *appname
interval: 10m interval: 10m
path: "./kubernetes/apps/system/node-feature-discovery/app" path: "./kubernetes/apps/kube-system/node-feature-discovery/app"
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
@ -28,7 +28,7 @@ metadata:
substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
spec: spec:
interval: 10m interval: 10m
path: "./kubernetes/apps/system/node-feature-discovery/rules" path: "./kubernetes/apps/kube-system/node-feature-discovery/rules"
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository

View file

@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://ks.hsn.dev/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json
--- ---
apiVersion: nfd.k8s-sigs.io/v1alpha1 apiVersion: nfd.k8s-sigs.io/v1alpha1
kind: NodeFeatureRule kind: NodeFeatureRule

View file

@ -4,7 +4,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: reloader name: reloader
namespace: system namespace: kube-system
spec: spec:
interval: 30m interval: 30m
chart: chart:

View file

@ -9,7 +9,7 @@ metadata:
substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
spec: spec:
interval: 10m interval: 10m
path: "./kubernetes/apps/system/reloader/app" path: "./kubernetes/apps/kube-system/reloader/app"
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository

View file

@ -1,10 +0,0 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# Pre Flux-Kustomizations
- ./namespace.yaml
# Flux-Kustomizations
- ./node-feature-discovery/ks.yaml
- ./reloader/ks.yaml

View file

@ -1,7 +0,0 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: system
labels:
goldilocks.fairwinds.com/enabled: "true"