cmca

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceCAConfigMap        = "service-ca"
	DefaultIngressCAConfigMap = "default-ingress-cert"
)
View Source
const (
	ManagedConfigNamespace                 = "openshift-config-managed"
	ControllerManagerAdditionalCAConfigMap = "controller-manager-additional-ca"
)

Variables

This section is empty.

Functions

Types

type ManagedCAObserver

type ManagedCAObserver struct {
	// contains filtered or unexported fields
}

ManagedCAObserver watches 2 CA configmaps in the target cluster: - openshift-managed-config/router-ca - openshift-managed-config/service-ca It populates a configmap on the management cluster with their content. A separate controller uses that content to adjust the configmap for the Kube controller manager CA.

func (*ManagedCAObserver) Reconcile

func (r *ManagedCAObserver) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile periodically watches configmaps in the guest cluster and syncs them to the control plane side

Jump to

Keyboard shortcuts

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