Documentation ¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(mgr manager.Manager, targetCluster cluster.Cluster) error
- func (r *Reconciler) ConfigMapPredicate() predicate.Predicate
- func (r *Reconciler) NamespacePredicate() predicate.Predicate
- func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
Constants ¶
View Source
const ( // RootCACertConfigMapName is a constant for the name of the ConfigMap which contains the root CA certificate. RootCACertConfigMapName = "kube-root-ca.crt" // RootCADataKey is a constant for the data key in a ConfigMap containing the root CA certificate. RootCADataKey = "ca.crt" // DescriptionAnnotation is constant for annotation key of the config map. DescriptionAnnotation = "kubernetes.io/description" )
View Source
const ControllerName = "root-ca-publisher"
ControllerName is the name of the controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶ added in v1.59.0
type Reconciler struct { TargetClient client.Client Config config.RootCAPublisherControllerConfig RootCA string }
Reconciler distributes the root CA.
func (*Reconciler) AddToManager ¶ added in v1.59.0
AddToManager adds Reconciler to the given manager.
func (*Reconciler) ConfigMapPredicate ¶ added in v1.59.0
func (r *Reconciler) ConfigMapPredicate() predicate.Predicate
ConfigMapPredicate returns the predicate for ConfigMaps.
func (*Reconciler) NamespacePredicate ¶ added in v1.59.0
func (r *Reconciler) NamespacePredicate() predicate.Predicate
NamespacePredicate returns the predicate for Namespaces.
Click to show internal directories.
Click to hide internal directories.