Documentation ¶
Index ¶
Constants ¶
View Source
const RootCACertConfigMapName = "kube-root-ca.crt"
RootCACertConfigMapName is name of the configmap which stores certificates to access api-server
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.
Click to show internal directories.
Click to hide internal directories.