Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatherAndUpload ¶
func NewManager ¶
func NewManager( ctx context.Context, clientConfig *rest.Config, scheme *runtime.Scheme, namespace string, cancelFunc context.CancelFunc, ) (manager.Manager, error)
NewManager initializes and configures a controller-runtime manager that provides: - Secure metrics endpoint on :8443 with TLS from cluster APIServer profile - Health check endpoints (healthz on :8080, readyz on :8080) - TLS security profile watcher that triggers restart on TLS configuration changes
The function fetches the current TLS profile and adherence policy from the cluster's APIServer resource, applies it to the metrics server, and sets up a watcher to detect any changes. When TLS settings change, the provided cancelFunc is called to trigger operator restart.
func NewOperator ¶
NewOperator create the command for running the Insights Operator.
func NewReceiver ¶
NewReceiver is a debug endpoint that allows testing of the status destination.
Types ¶
This section is empty.