machinecontroller

package
v0.1.0-beta0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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

func Deployment(cluster *config.Cluster) (string, error)

Deployment returns YAML manifests for MachineController deployment with RBAC

func MachineDeployments

func MachineDeployments(cluster *config.Cluster) (string, error)

MachineDeployments returns YAML manifests for MachineDeployments

func MutatingwebhookConfiguration

MutatingwebhookConfiguration returns the MutatingwebhookConfiguration for the machine controler

func Service

func Service() (*corev1.Service, error)

Service returns the internal service for the machine-controller webhook

func TLSServingCertificate

func TLSServingCertificate(ca *triple.KeyPair) (*corev1.Secret, error)

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.

Jump to

Keyboard shortcuts

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