Skip to main content

owner_reference

Source: base/pkg/kusion_kubernetes/apimachinery/apis/owner_reference.k

This is the owner_reference module in kusion_kubernetes.apimachinery.apis package.
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
Editing this file might prove futile when you re-run the KCL auto-gen generate command.

Schema OwnerReference

OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.

Attributes

Name and DescriptionTypeDefault ValueRequired
apiVersion
API version of the referent.
strUndefinedrequired
blockOwnerDeletion
If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
boolUndefinedoptional
controller
If true, this reference points to the managing controller.
boolUndefinedoptional
kind
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md\#types-kinds
strUndefinedrequired
name
Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers\#names
strUndefinedrequired
uid
UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers\#uids
strUndefinedrequired