Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Release returns the release version Release = "UNKNOWN" // CompileTime returns the git repository URL CompileTime = "UNKNOWN" // Commit returns the short sha from git Commit = "UNKNOWN" )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HelmBinary string `long:"helm-binary" description:"Absolute path of the helm binary" required:"true" default:"/usr/bin/helm"` KubeConfigTemplate string `long:"kube-config-template" description:"Absolute path of the kube config template" required:"true" default:"/opt/config"` APIServer string `` /* 131-byte string literal not displayed */ Token string `long:"token" description:"Set client token" env:"PLUGIN_TOKEN" required:"true"` Certificate string `long:"certificate" description:"Set server certificate" env:"PLUGIN_CERTIFICATE" required:"true"` ServiceAccount string `long:"service-account" description:"Set service account name" env:"PLUGIN_SERVICE_ACCOUNT" required:"true"` KubeConfig string `long:"kube-config" description:"Absolute path of the kubeconfig file to be used" env:"PLUGIN_KUBE_CONFIG"` HelmCommand string `` /* 171-byte string literal not displayed */ Namespace string `long:"namespace" description:"Namespace to install the release into." env:"PLUGIN_NAMESPACE"` TLSVerify bool `long:"tls-verify" description:"Enable TLS for request and verify remote" env:"PLUGIN_TLS_VERIFY"` Set string `long:"set" description:"Set values on the command line" env:"PLUGIN_SET"` SetString string `long:"set-string" description:"Set STRING values on the command line" env:"PLUGIN_SET_STRING"` Values string `long:"values" description:"Specify values in a YAML file or a URL" env:"PLUGIN_VALUES"` GetValues bool `long:"get-values" description:"Download the values file for a named release" env:"PLUGIN_GET_VALUES"` Release string `long:"release" description:"The release name. If unspecified, it will autogenerate one for you" env:"PLUGIN_RELEASE"` HelmRepos []string `long:"helm-repos" description:"Add a chart repository" env:"PLUGIN_HELM_REPOS"` Chart string `long:"chart" description:"Chart reference" env:"PLUGIN_CHART" required:"true"` Version string `long:"chart-version" description:"Specify the exact chart version to install." env:"PLUGIN_CHART_VERSION"` Debug bool `long:"debug" description:"Enable verbose output" env:"PLUGIN_DEBUG"` DryRun bool `long:"dry-run" description:"Simulate an install" env:"PLUGIN_DRY-RUN"` TillerNamespace string `long:"tiller-namespace" description:"Namespace of Tiller" env:"PLUGIN_TILLER_NAMESPACE"` Wait bool `long:"wait" description:"If set, will wait until all parts a Deployment are in a ready state" env:"PLUGIN_WAIT"` RecreatePods bool `long:"recreate-pods" description:"Performs pods restart for the resource if applicable" env:"PLUGIN_RECREATE_PODS"` ReuseValues bool `` /* 154-byte string literal not displayed */ Timeout string `long:"timeout" description:"Time in seconds to wait for any individual Kubernetes operation." env:"PLUGIN_TIMEOUT"` Force bool `long:"force" description:"Force resource update through delete/recreate if needed" env:"PLUGIN_FORCE"` UpdateDependencies bool `` /* 144-byte string literal not displayed */ Purge bool `long:"purge" description:"Remove the release from the store and make its name free for later use" env:"PLUGIN_PURGE"` }
Click to show internal directories.
Click to hide internal directories.