kubernetesk8s.io/kubernetes/pkg/controller/certificates/rootcacertpublisher Index | Files

package rootcacertpublisher

import "k8s.io/kubernetes/pkg/controller/certificates/rootcacertpublisher"

Index

Constants

const (
	RootCACertConfigMapName = "kube-root-ca.crt"
	DescriptionAnnotation   = "kubernetes.io/description"
	Description             = "" /* 158 byte string literal not displayed */ +
		"No other usage is guaranteed across distributions of Kubernetes clusters."
)

RootCACertConfigMapName is name of the configmap which stores certificates to access api-server

const RootCACertPublisher = "root_ca_cert_publisher"

RootCACertPublisher - subsystem name used by root_ca_cert_publisher

Types

type Publisher

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

Publisher manages certificate ConfigMap objects inside Namespaces

func NewPublisher

func NewPublisher(cmInformer coreinformers.ConfigMapInformer, nsInformer coreinformers.NamespaceInformer, cl clientset.Interface, rootCA []byte) (*Publisher, error)

NewPublisher construct a new controller which would manage the configmap which stores certificates in each namespace. It will make sure certificate configmap exists in each namespace.

func (*Publisher) Run

func (c *Publisher) Run(ctx context.Context, workers int)

Run starts process

Source Files

metrics.go publisher.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
19 packages
Last checked
3 hours ago

Tools for package owners.