Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecideActuationMode ¶ added in v1.114.0
func DecideActuationMode(cc opv1beta1.ConfigConnector, ccc opv1beta1.ConfigConnectorContext) opv1beta1.ActuationMode
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.
Click to show internal directories.
Click to hide internal directories.