topology

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 8

Documentation

Overview

Package topology implements topology utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldSkipImmutabilityChecks

func ShouldSkipImmutabilityChecks(req admission.Request, obj metav1.Object) bool

ShouldSkipImmutabilityChecks returns true if it is a dry-run request and the object has the TopologyDryRunAnnotation annotation set, false otherwise. This ensures that the immutability check is skipped only when dry-running and when the operations has been invoked by the topology controller. Instead, kubectl dry-run behavior remains consistent with the one user gets when doing kubectl apply (immutability is enforced).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL