mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
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:
parent
227c2e7c2b
commit
8774dee09e
@ -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"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user