MCPcopy
hub / github.com/helm/helm / Install

Struct Install

pkg/action/install.go:74–140  ·  view source on GitHub ↗

Install performs an installation operation.

Source from the content-addressed store, hash-verified

72
73// Install performs an installation operation.
74type Install struct {
75 cfg *Configuration
76
77 ChartPathOptions
78
79 // ForceReplace will, if set to `true`, ignore certain warnings and perform the install anyway.
80 //
81 // This should be used with caution.
82 ForceReplace bool
83 // ForceConflicts causes server-side apply to force conflicts ("Overwrite value, become sole manager")
84 // see: https://kubernetes.io/docs/reference/using-api/server-side-apply/#conflicts
85 ForceConflicts bool
86 // ServerSideApply when true (default) will enable changes to be applied via Kubernetes server-side apply
87 // see: https://kubernetes.io/docs/reference/using-api/server-side-apply/
88 ServerSideApply bool
89 CreateNamespace bool
90 // DryRunStrategy can be set to prepare, but not execute the operation and whether or not to interact with the remote cluster
91 DryRunStrategy DryRunStrategy
92 // HideSecret can be set to true when DryRun is enabled in order to hide
93 // Kubernetes Secrets in the output. It cannot be used outside of DryRun.
94 HideSecret bool
95 DisableHooks bool
96 Replace bool
97 WaitStrategy kube.WaitStrategy
98 WaitOptions []kube.WaitOption
99 WaitForJobs bool
100 Devel bool
101 DependencyUpdate bool
102 Timeout time.Duration
103 Namespace string
104 ReleaseName string
105 GenerateName bool
106 NameTemplate string
107 Description string
108 OutputDir string
109 // RollbackOnFailure enables rolling back (uninstalling) the release on failure if set
110 RollbackOnFailure bool
111 SkipCRDs bool
112 SubNotes bool
113 HideNotes bool
114 SkipSchemaValidation bool
115 DisableOpenAPIValidation bool
116 IncludeCRDs bool
117 Labels map[string]string
118 // KubeVersion allows specifying a custom kubernetes version to use and
119 // APIVersions allows a manual set of supported API Versions to be passed
120 // (for things like templating).
121 KubeVersion *common.KubeVersion
122 APIVersions common.VersionSet
123 // Used by helm template to render charts with .Release.IsUpgrade. Ignored if Dry-Run is false
124 IsUpgrade bool
125 // Enable DNS lookups when rendering templates
126 EnableDNS bool
127 // Used by helm template to add the release as part of OutputDir path
128 // OutputDir/<ReleaseName>
129 UseReleaseName bool
130 // TakeOwnership will ignore the check for helm annotations and take ownership of the resources.
131 TakeOwnership bool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected