Documentation ¶
Index ¶
- Constants
- func Deployment(cluster *config.Cluster) (string, error)
- func MachineDeployments(cluster *config.Cluster) (string, error)
- func MutatingwebhookConfiguration(ca *triple.KeyPair) (*admissionregistrationv1beta1.MutatingWebhookConfiguration, error)
- func Service() (*corev1.Service, error)
- func TLSServingCertificate(ca *triple.KeyPair) (*corev1.Secret, error)
- func WebhookConfiguration(cluster *config.Cluster, runtimeConfig *util.Configuration) (string, error)
- func WebhookDeployment(cluster *config.Cluster) (*appsv1.Deployment, error)
Constants ¶
View Source
const ( MachineControllerNamespace = metav1.NamespaceSystem MachineControllerAppLabelKey = "app" MachineControllerAppLabelValue = "machine-controller" MachineControllerTag = "v0.10.0" MachineControllerCredentialsSecretName = "machine-controller-credentials" )
MachineController related constants
View Source
const ( WebhookName = "machine-controller-webhook" WebhookAppLabelKey = "app" WebhookAppLabelValue = WebhookName WebhookTag = MachineControllerTag WebhookNamespace = "kube-system" WebhookCredentialsSecretName = "machine-controller-credentials" )
MachineController Webhook related constants
Variables ¶
This section is empty.
Functions ¶
func Deployment ¶
Deployment returns YAML manifests for MachineController deployment with RBAC
func MachineDeployments ¶
MachineDeployments returns YAML manifests for MachineDeployments
func MutatingwebhookConfiguration ¶
func MutatingwebhookConfiguration(ca *triple.KeyPair) (*admissionregistrationv1beta1.MutatingWebhookConfiguration, error)
MutatingwebhookConfiguration returns the MutatingwebhookConfiguration for the machine controler
func TLSServingCertificate ¶
TLSServingCertificate returns a secret with the machine-controller-webhook tls certificate
func WebhookConfiguration ¶
func WebhookConfiguration(cluster *config.Cluster, runtimeConfig *util.Configuration) (string, error)
WebhookConfiguration returns YAML manifest for MachineController webhook deployment
func WebhookDeployment ¶
func WebhookDeployment(cluster *config.Cluster) (*appsv1.Deployment, error)
WebhookDeployment returns the deployment for the machine-controllers MutatignAdmissionWebhook
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.