From dc6ebcab8f7773ff1314d19da31b8dbf59593987 Mon Sep 17 00:00:00 2001 From: Tariq Ibrahim Date: Fri, 24 Jul 2026 10:35:07 -0700 Subject: [PATCH] add finalizer directly to the GPUCluster manifest Signed-off-by: Tariq Ibrahim --- .../gpu-operator-certified.clusterserviceversion.yaml | 5 ++++- deployments/gpu-operator/templates/gpucluster.yaml | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml b/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml index a55f71877..a15f68231 100644 --- a/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml +++ b/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml @@ -158,7 +158,10 @@ metadata: "apiVersion": "nvidia.com/v1alpha1", "kind": "GPUCluster", "metadata": { - "name": "gpu-cluster" + "name": "gpu-cluster", + "finalizers": [ + "gpucluster.nvidia.com/dra-resourceclaim" + ] }, "spec": { "draDriver": { diff --git a/deployments/gpu-operator/templates/gpucluster.yaml b/deployments/gpu-operator/templates/gpucluster.yaml index 8868265b6..1edfd80a0 100644 --- a/deployments/gpu-operator/templates/gpucluster.yaml +++ b/deployments/gpu-operator/templates/gpucluster.yaml @@ -10,6 +10,8 @@ metadata: # keep helm from also deleting it. annotations: "helm.sh/resource-policy": keep + finalizers: + - gpucluster.nvidia.com/dra-resourceclaim spec: draDriver: {{- if .Values.draDriver.repository }}