Documentation ¶
Index ¶
- func DeploymentManifest(opts *Options) (string, error)
- func Install(client kubernetes.Interface, opts *Options) error
- func SecretManifest(opts *Options) (string, error)
- func ServiceManifest(namespace string) (string, error)
- func Uninstall(client internalclientset.Interface, opts *Options) error
- func Upgrade(client kubernetes.Interface, opts *Options) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeploymentManifest ¶
DeploymentManifest gets the manifest (as a string) that describes the Tiller Deployment resource.
func Install ¶
func Install(client kubernetes.Interface, opts *Options) error
Install uses Kubernetes client to install Tiller.
Returns an error if the command failed.
func SecretManifest ¶
SecretManifest gets the manifest (as a string) that describes the Tiller Secret resource.
func ServiceManifest ¶
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 // ServiceAccount is the Kubernetes service account to add to Tiller. ServiceAccount 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 // EnableHostNetwork installs Tiller with net=host. EnableHostNetwork bool }
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.