Versions in this module Expand all Collapse all v1 v1.0.0 Aug 28, 2023 Changes in this version + const RootCert + const RootCertOld + const RootKey + const ServerCert + const ServerKey + type CertificateReconcilerConfig struct + CancelMgrFunc context.CancelFunc + Client client.Client + Log logr.Logger + MatchLabels labels.Set + Namespace string + Scheme *runtime.Scheme + WatchResources *ObservedObjects + type Certs struct + Data map[string][]byte + Domain string + Now time.Time + SrcData map[string][]byte + func (cs *Certs) Validate() error + type IResourceRetriever interface + GetCRDs func(ctx context.Context) (*apiv1.CustomResourceDefinitionList, error) + GetMutatingWebhooks func(ctx context.Context) (*admissionregistrationv1.MutatingWebhookConfigurationList, error) + GetValidatingWebhooks func(ctx context.Context) (*admissionregistrationv1.ValidatingWebhookConfigurationList, error) + func NewResourceRetriever(config CertificateReconcilerConfig) IResourceRetriever + type KeptnWebhookCertificateReconciler struct + CancelMgrFunc context.CancelFunc + Client client.Client + FilterPredicate predicate.Predicate + Log logr.Logger + MatchLabels labels.Set + Namespace string + ResourceRetriever IResourceRetriever + Scheme *runtime.Scheme + func NewReconciler(config CertificateReconcilerConfig) *KeptnWebhookCertificateReconciler + func (r *KeptnWebhookCertificateReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error) + func (r *KeptnWebhookCertificateReconciler) SetupWithManager(mgr ctrl.Manager) error + type LabelSelectorRetriever struct + Client client.Client + MatchLabels labels.Set + func (r LabelSelectorRetriever) GetCRDs(ctx context.Context) (*apiv1.CustomResourceDefinitionList, error) + func (r LabelSelectorRetriever) GetMutatingWebhooks(ctx context.Context) (*admissionregistrationv1.MutatingWebhookConfigurationList, error) + func (r LabelSelectorRetriever) GetValidatingWebhooks(ctx context.Context) (*admissionregistrationv1.ValidatingWebhookConfigurationList, error) + type ObservedObjects struct + CustomResourceDefinitions []string + Deployments []string + MutatingWebhooks []string + ValidatingWebhooks []string + type ResourceNameRetriever struct + Client client.Client + Log logr.Logger + WatchResources ObservedObjects + func (r ResourceNameRetriever) GetCRDs(ctx context.Context) (*apiv1.CustomResourceDefinitionList, error) + func (r ResourceNameRetriever) GetMutatingWebhooks(ctx context.Context) (*admissionregistrationv1.MutatingWebhookConfigurationList, error) + func (r ResourceNameRetriever) GetValidatingWebhooks(ctx context.Context) (*admissionregistrationv1.ValidatingWebhookConfigurationList, error)