Move nvidia-device-plugin to its own namespace.

This commit is contained in:
Joseph Hanson 2024-01-13 13:54:17 -06:00
parent 5378e7a65c
commit f920c3f207
7 changed files with 17 additions and 2 deletions

View file

@ -0,0 +1,9 @@
---
# 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
- ./nvidia-device-plugin/ks.yaml

View file

@ -0,0 +1,7 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: nvidia-device-plugin
labels:
kustomize.toolkit.fluxcd.io/prune: disabled

View file

@ -10,7 +10,7 @@ metadata:
spec:
targetNamespace: nvidia-device-plugin
interval: 10m
path: "./kubernetes/apps/system/nvidia-device-plugin/app"
path: "./kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app"
prune: true
sourceRef:
kind: GitRepository

View file

@ -7,6 +7,5 @@ resources:
- ./namespace.yaml
# Flux-Kustomizations
- ./node-feature-discovery/ks.yaml
- ./nvidia-device-plugin/ks.yaml
- ./reloader/ks.yaml
- ./snapshot-controller/ks.yaml