DRA api: explicitly reserve finalizer for Kubernetes

The k8s.io in the string and conventions around finalizers for DRA driver
controllers implied that this is for use by Kubernetes, but it's better to be
explicit about this.
This commit is contained in:
Patrick Ohly 2024-03-27 11:20:37 +01:00
parent 227c2e7c2b
commit 8774dee09e

View File

@ -26,6 +26,8 @@ import (
const (
// Finalizer is the finalizer that gets set for claims
// which were allocated through a builtin controller.
// Reserved for use by Kubernetes, DRA driver controllers must
// use their own finalizer.
Finalizer = "dra.k8s.io/delete-protection"
)