diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go index 9660282c48bc1..c7fd03183887d 100644 --- a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go +++ b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go @@ -285,6 +285,18 @@ type ObjectMeta struct { // // +optional ManagedFields []ManagedFieldsEntry `json:"managedFields,omitempty" protobuf:"bytes,17,rep,name=managedFields"` + + // Liens represents the list of identifiers that require this object to be + // prevented from being deleted. + // Must be empty before the object is deleted from the registry. Each entry + // should contain identifier for the responsible component that will remove + // the entry from the list. + // Liens may be processed and removed in any order. + // Liens is a shared field, any actor with permission can reorder it. + // +optional + // +listType=set + // +patchStrategy=merge + Liens []string `json:"liens,omitempty" patchStrategy:"merge" protobuf:"bytes,18,rep,name=liens"` } const (