From 51c2c6f439103307f094da8f62a49223c9c63ab5 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sun, 31 Mar 2024 08:08:44 -0500 Subject: [PATCH] Re-add nvidia-device-plugin. --- .../apps}/nvidia-device-plugin/kustomization.yaml | 0 .../apps}/nvidia-device-plugin/namespace.yaml | 1 - .../nvidia-device-plugin/app/config/config.yml | 0 .../nvidia-device-plugin/app/helmrelease.yaml | 4 +--- .../nvidia-device-plugin/app/kustomization.yaml | 2 +- .../apps}/nvidia-device-plugin/nvidia-device-plugin/ks.yaml | 0 6 files changed, 2 insertions(+), 5 deletions(-) rename {.archive/kubernetes => kubernetes/apps}/nvidia-device-plugin/kustomization.yaml (100%) rename {.archive/kubernetes => kubernetes/apps}/nvidia-device-plugin/namespace.yaml (74%) rename .archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/app/config/config.yaml => kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app/config/config.yml (100%) rename {.archive/kubernetes => kubernetes/apps}/nvidia-device-plugin/nvidia-device-plugin/app/helmrelease.yaml (93%) rename {.archive/kubernetes => kubernetes/apps}/nvidia-device-plugin/nvidia-device-plugin/app/kustomization.yaml (87%) rename {.archive/kubernetes => kubernetes/apps}/nvidia-device-plugin/nvidia-device-plugin/ks.yaml (100%) diff --git a/.archive/kubernetes/nvidia-device-plugin/kustomization.yaml b/kubernetes/apps/nvidia-device-plugin/kustomization.yaml similarity index 100% rename from .archive/kubernetes/nvidia-device-plugin/kustomization.yaml rename to kubernetes/apps/nvidia-device-plugin/kustomization.yaml diff --git a/.archive/kubernetes/nvidia-device-plugin/namespace.yaml b/kubernetes/apps/nvidia-device-plugin/namespace.yaml similarity index 74% rename from .archive/kubernetes/nvidia-device-plugin/namespace.yaml rename to kubernetes/apps/nvidia-device-plugin/namespace.yaml index 73f112b4..f7ddb2a7 100644 --- a/.archive/kubernetes/nvidia-device-plugin/namespace.yaml +++ b/kubernetes/apps/nvidia-device-plugin/namespace.yaml @@ -5,4 +5,3 @@ metadata: name: nvidia-device-plugin labels: kustomize.toolkit.fluxcd.io/prune: disabled - volsync.backube/privileged-movers: "true" diff --git a/.archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/app/config/config.yaml b/kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app/config/config.yml similarity index 100% rename from .archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/app/config/config.yaml rename to kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app/config/config.yml diff --git a/.archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/app/helmrelease.yaml b/kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app/helmrelease.yaml similarity index 93% rename from .archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/app/helmrelease.yaml rename to kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app/helmrelease.yaml index b9b7687f..cf0d0131 100644 --- a/.archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/app/helmrelease.yaml +++ b/kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app/helmrelease.yaml @@ -15,7 +15,6 @@ spec: kind: HelmRepository name: nvdp namespace: flux-system - maxHistory: 2 install: remediation: retries: 3 @@ -23,8 +22,7 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false + strategy: rollback values: config: name: nvidia-plugin-configs diff --git a/.archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/app/kustomization.yaml b/kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app/kustomization.yaml similarity index 87% rename from .archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/app/kustomization.yaml rename to kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app/kustomization.yaml index d36e4f89..b9de271a 100644 --- a/.archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/app/kustomization.yaml +++ b/kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app/kustomization.yaml @@ -7,6 +7,6 @@ resources: configMapGenerator: - name: nvidia-plugin-configs files: - - config.yaml=./config/config.yaml + - config.yaml=./config/config.yml generatorOptions: disableNameSuffixHash: true diff --git a/.archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/ks.yaml b/kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/ks.yaml similarity index 100% rename from .archive/kubernetes/nvidia-device-plugin/nvidia-device-plugin/ks.yaml rename to kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/ks.yaml