pub struct Install {Show 28 fields
pub name: ReleaseName,
pub chart: ChartRef,
pub labels: BTreeMap<String, String>,
pub post_renderer_args: Vec<String>,
pub chart_path: ChartPathOptions,
pub values: Values,
pub hide_notes: bool,
pub hide_secret: bool,
pub render_subchart_notes: bool,
pub replace: bool,
pub server_side: Option<bool>,
pub create_namespace: bool,
pub dependency_update: bool,
pub description: Option<String>,
pub devel: bool,
pub disable_openapi_validation: bool,
pub dry_run: Option<DryRun>,
pub enable_dns: bool,
pub force: Option<Force>,
pub no_hooks: bool,
pub post_renderer: Option<String>,
pub rollback_on_failure: bool,
pub skip_crds: bool,
pub skip_schema_validation: bool,
pub take_ownership: bool,
pub timeout: Option<Duration>,
pub wait: Option<WaitStrategy>,
pub wait_for_jobs: bool,
}Expand description
helm install -o json (pkg/cmd/install.go, pkg/action/install.go): installs a chart and
returns the release Helm recorded (with dry_run set, the one it would record).
Fields§
§name: ReleaseNameThe NAME argument, --generate-name or --name-template.
chart: ChartRefThe CHART argument.
labels: BTreeMap<String, String>Flag --labels: labels for the release record (on upgrade they are merged into
the release’s and the value null removes a label).
post_renderer_args: Vec<String>Flag --post-renderer-args, repeated: arguments for the post-renderer.
chart_path: ChartPathOptionsWhere to find the chart and how to authenticate.
values: ValuesFlags -f, --set, --set-string, --set-file, --set-json and --set-literal.
hide_notes: boolFlag --hide-notes: leave the notes out of the output.
hide_secret: boolFlag --hide-secret: hide Secrets in a dry-run (Helm requires a dry-run mode with it).
render_subchart_notes: boolFlag --render-subchart-notes: include the subcharts’ notes.
replace: boolFlag --replace: reuse the name of a deleted release that is still in the history.
server_side: Option<bool>Flag --server-side, a boolean here that Helm defaults to true.
create_namespace: boolFlag --create-namespace: create the release namespace if it is missing (upgrade
only with --install).
dependency_update: boolFlag --dependency-update: fetch missing chart dependencies first.
description: Option<String>Flag --description: a custom release description.
devel: boolFlag --devel: also consider development versions (ignored when a version is set).
disable_openapi_validation: boolFlag --disable-openapi-validation: do not validate against the Kubernetes OpenAPI
schema.
dry_run: Option<DryRun>Flag --dry-run.
enable_dns: boolFlag --enable-dns: allow DNS lookups while rendering.
force: Option<Force>Flags --force-replace and --force-conflicts.
no_hooks: boolFlag --no-hooks: skip hooks.
post_renderer: Option<String>Flag --post-renderer: the name of a post-renderer plugin.
rollback_on_failure: boolFlag --rollback-on-failure: undo the operation when it fails (waits with watcher
unless wait says otherwise).
skip_crds: boolFlag --skip-crds: do not install CRDs (upgrade only with --install).
skip_schema_validation: boolFlag --skip-schema-validation: do not validate the values against the chart’s
schema.
take_ownership: boolFlag --take-ownership: adopt existing resources without Helm’s ownership
annotations.
timeout: Option<Duration>Flag --timeout for any single Kubernetes operation (Helm’s default is five
minutes).
wait: Option<WaitStrategy>Flag --wait (Helm’s default is hookOnly).
wait_for_jobs: boolFlag --wait-for-jobs: with a wait, also wait for Jobs to complete.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Install
Auto Trait Implementations§
impl Forget for Install
impl Freeze for Installwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<ValuesFile>: Freeze,
impl Move for Install
impl RefUnwindSafe for Install
impl Send for Install
impl Sync for Install
impl Unpin for Install
impl UnsafeUnpin for Installwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ValuesFile>: UnsafeUnpin,
impl UnwindSafe for Installwhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more