installer

package
v2.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeploymentManifest

func DeploymentManifest(opts *Options) (string, error)

DeploymentManifest gets the manifest (as a string) that describes the Tiller Deployment resource.

func Install

func Install(client internalclientset.Interface, opts *Options) error

Install uses kubernetes client to install tiller.

Returns an error if the command failed.

func SecretManifest

func SecretManifest(opts *Options) (string, error)

SecretManifest gets the manifest (as a string) that describes the Tiller Secret resource.

func ServiceManifest

func ServiceManifest(namespace string) (string, error)

ServiceManifest gets the manifest (as a string) that describes the Tiller Service resource.

func Uninstall

func Uninstall(kubeClient internalclientset.Interface, kubeCmd *kube.Client, opts *Options) error

Uninstall uses kubernetes client to uninstall tiller

func Upgrade

func Upgrade(client internalclientset.Interface, opts *Options) error

Upgrade uses kubernetes client to upgrade tiller to current version.

Returns an error if the command failed.

Types

type Options

type Options struct {
	// EnableTLS instructs tiller to serve with TLS enabled.
	//
	// Implied by VerifyTLS. If set the TLSKey and TLSCert are required.
	EnableTLS bool

	// VerifyTLS instructs tiller to serve with TLS enabled verify remote certificates.
	//
	// If set TLSKey, TLSCert, TLSCaCert are required.
	VerifyTLS bool

	// UseCanary indicates that tiller should deploy using the latest tiller image.
	UseCanary bool

	// Namespace is the kubernetes namespace to use to deploy tiller.
	Namespace string

	// ImageSpec indentifies the image tiller will use when deployed.
	//
	// Valid if and only if UseCanary is false.
	ImageSpec string

	// TLSKeyFile identifies the file containing the pem encoded TLS private
	// key tiller should use.
	//
	// Required and valid if and only if EnableTLS or VerifyTLS is set.
	TLSKeyFile string

	// TLSCertFile identifies the file containing the pem encoded TLS
	// certificate tiller should use.
	//
	// Required and valid if and only if EnableTLS or VerifyTLS is set.
	TLSCertFile string

	// TLSCaCertFile identifies the file containing the pem encoded TLS CA
	// certificate tiller should use to verify remotes certificates.
	//
	// Required and valid if and only if VerifyTLS is set.
	TLSCaCertFile string
}

Options control how to install tiller into a cluster, upgrade, and uninstall tiller from a cluster.

Jump to

Keyboard shortcuts

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