kubernetes: k8s.io/kubernetes/pkg/controller/certificates/rootcacertpublisher Index | Files

package rootcacertpublisher

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


Package Files



const RootCACertConfigMapName = "kube-root-ca.crt"

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

type Publisher Uses

type Publisher struct {
    // contains filtered or unexported fields

Publisher manages certificate ConfigMap objects inside Namespaces

func NewPublisher Uses

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 Uses

func (c *Publisher) Run(workers int, stopCh <-chan struct{})

Run starts process

Package rootcacertpublisher imports 16 packages (graph) and is imported by 4 packages. Updated 2020-06-01. Refresh now. Tools for package owners.