package
0.0.0-20250228164547-bad2d1bf3a37
Repository: https://github.com/openshift/library-go.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
WithConfigMapHashAnnotationHook creates a deployment hook that annotates a Deployment with a config map's hash.
WithControlPlaneTopologyHook modifies the nodeSelector of the deployment based on the control plane topology reported in Infrastructure.Status.ControlPlaneTopology.
WithLeaderElectionReplacerHook modifies ${LEADER_ELECTION_*} parameters in a yaml file with OpenShift's recommended values.
WithObservedProxyDeploymentHook creates a deployment hook that injects into the deployment's containers the observed proxy config.
WithPlaceholdersHook is a manifest hook which replaces the variable with appropriate values set.
WithReplicasHook sets the deployment.Spec.Replicas field according to the ControlPlaneTopology mode.
WithSecretHashAnnotationHook creates a deployment hook that annotates a Deployment with a secret's hash.
WithServingInfo is a manifest hook that replaces ${TLS_CIPHER_SUITES} and ${TLS_MIN_VERSION} placeholders with the observed configuration.