Documentation
¶
Index ¶
- func DeploymentManifest(opts *Options) (string, error)
- func Install(client internalclientset.Interface, opts *Options) error
- func SecretManifest(opts *Options) (string, error)
- func ServiceManifest(namespace string) (string, error)
- func Uninstall(kubeClient internalclientset.Interface, kubeCmd *kube.Client, opts *Options) error
- func Upgrade(client internalclientset.Interface, opts *Options) error
- type Options
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.
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.
Click to show internal directories.
Click to hide internal directories.