Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalClientProvider ¶ added in v1.27.0
type LocalClientProvider struct {
// contains filtered or unexported fields
}
func (*LocalClientProvider) GetClientFor ¶ added in v1.27.0
func (p *LocalClientProvider) GetClientFor(apiVersion, kind string) (dynamic.NamespaceableResourceInterface, bool, error)
type RenderChartOptions ¶
type RenderChartOptions struct {
common.ChartRepoConnectionOptions
common.ValuesOptions
ChartProvenanceKeyring string
ChartProvenanceStrategy string
ChartRepoNoUpdate bool
ChartVersion string
DenoBinaryPath string
ExtraAPIVersions []string
HelmOptions helmopts.HelmOptions
IgnoreBundleJS bool
LocalKubeVersion string
LocalLookupResourcesPaths []string
NoStandaloneCRDs bool
Remote bool
SubchartNotes bool
TempDirPath string
TemplatesAllowDNS bool
}
type RenderChartResult ¶
type RenderChartResult struct {
Chart *helmchart.Chart
Notes string
ReleaseConfig map[string]interface{}
ResourceSpecs []*spec.ResourceSpec
Values map[string]interface{}
}
func RenderChart ¶
func RenderChart(ctx context.Context, chartPath, releaseName, releaseNamespace string, revision int, deployType common.DeployType, registryClient *registry.Client, clientFactory kube.ClientFactorier, opts RenderChartOptions) (*RenderChartResult, error)
Download chart and its dependencies, build and merge values, then render templates. Most of the logic is in Helm SDK, in Nelm its mostly orchestration level.
Click to show internal directories.
Click to hide internal directories.