resourceactuation

package
v1.117.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecideActuationMode added in v1.114.0

DecideActuationMode looks at CC and CCC to see if they specify an actuationMode. - If both CC & CCC specify a actuationMode in Namespaced mode, we defer to the CCC's value.

  • If only CC specifies a actuationMode in Namespaced mode, we defer to the CC's value.

- If both CC & CCC specify an actuationMode in cluster mode, the CCC specification is irrelevant. - If neither CC nor CCC specify a actuationMode, we defer to the default value defined in apis.

func ShouldSkip

func ShouldSkip(u *unstructured.Unstructured) (bool, error)

ShouldSkip skips a resource actuatation if the ReconcileIntervalInSecondsAnnotation = 0 and the KRM resource has not changed since its last UpToDate. This will disable drift correction on corresponding GCP resources since the reconcileInterval is set to 0.

Types

This section is empty.

Jump to

Keyboard shortcuts

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