rootcacertpublisher

package
v1.25.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 20 Imported by: 15

Documentation

Index

Constants

View Source
const (
	RootCACertConfigMapName = "kube-root-ca.crt"
	DescriptionAnnotation   = "kubernetes.io/description"
	Description             = "Contains a CA bundle that can be used to verify the kube-apiserver when using internal endpoints such as the internal service IP or kubernetes.default.svc. " +
		"No other usage is guaranteed across distributions of Kubernetes clusters."
)

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

View Source
const RootCACertPublisher = "root_ca_cert_publisher"

RootCACertPublisher - subsystem name used by root_ca_cert_publisher

Variables

This section is empty.

Functions

This section is empty.

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

Jump to

Keyboard shortcuts

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