Documentation ¶
Index ¶
Constants ¶
View Source
const InvalidManagedFieldsAfterMutatingAdmissionWarningFormat = "" /* 160-byte string literal not displayed */
InvalidManagedFieldsAfterMutatingAdmissionWarningFormat is the warning that a client receives when a create/update/patch request results in invalid managedFields after going through the admission chain.
Variables ¶
This section is empty.
Functions ¶
func IgnoreManagedFieldsTimestampsTransformer ¶ added in v0.25.0
func IgnoreManagedFieldsTimestampsTransformer( _ context.Context, newObj runtime.Object, oldObj runtime.Object, ) (res runtime.Object, err error)
IgnoreManagedFieldsTimestampsTransformer reverts timestamp updates if the non-managed parts of the object are equivalent
func NewManagedFieldsValidatingAdmissionController ¶ added in v0.21.0
NewManagedFieldsValidatingAdmissionController validates the managedFields after calling the provided admission and resets them to their original state if they got changed to an invalid value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.