Dagger
Search

hydrate-kubernetes

No long description provided.

Installation

dagger install github.com/prefapp/daggerverse/hydrate-kubernetes@5a9308b49001d49377e785a3dec8bf67653d6643

Entrypoint

Return Type
HydrateKubernetes !
Arguments
NameTypeDefault ValueDescription
valuesDirDirectory !-The path to the values directory, where the helm values are stored
wetRepoDirDirectory !-The path to the wet repo directory, where the wet manifests are stored
helmfileFile -The path to the helmfile.yaml file
valuesGoTmplFile -The path to the values.go.tmpl file
helmRegistryLoginNeededBoolean falseNo description provided
helmRegistryString -No description provided
helmRegistryUserString -No description provided
helmRegistryPasswordSecret -No description provided
renderTypeString "apps"Type of the render, it can be apps or sys-apps
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *HydrateKubernetes  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir)
}

Types

HydrateKubernetes 🔗

container() 🔗

Return Type
Container !
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *Container  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			Container()
}

valuesDir() 🔗

Return Type
Directory !
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *Directory  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			ValuesDir()
}

wetRepoDir() 🔗

Return Type
Directory !
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *Directory  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			WetRepoDir()
}

helmfile() 🔗

Return Type
File !
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *File  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			Helmfile()
}

valuesGoTmpl() 🔗

Return Type
File !
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *File  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			ValuesGoTmpl()
}

helmRegistryLoginNeeded() 🔗

Return Type
Boolean !
Example
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory) bool  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			HelmRegistryLoginNeeded(ctx)
}

helmRegistry() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory) string  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			HelmRegistry(ctx)
}

helmRegistryUser() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory) string  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			HelmRegistryUser(ctx)
}

helmRegistryPassword() 🔗

Return Type
Secret !
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *Secret  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			HelmRegistryPassword()
}

renderType() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory) string  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			RenderType(ctx)
}

buildNewImages() 🔗

Return Type
File !
Arguments
NameTypeDefault ValueDescription
matrixString !-No description provided
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, matrix string) *File  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			BuildNewImages(matrix)
}

splitRenderInFiles() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
renderFileFile !-No description provided
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, renderFile *File) *Directory  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			SplitRenderInFiles(renderFile)
}

dumpSysAppRenderToWetDir() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
appString !-No description provided
clusterString !-No description provided
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, app string, cluster string) *Directory  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			DumpSysAppRenderToWetDir(app, cluster)
}

dumpAppRenderToWetDir() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
appString !-No description provided
clusterString !-No description provided
tenantString !-No description provided
envString !-No description provided
newImagesMatrixString "{\"images\":[]}"No description provided
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, app string, cluster string, tenant string, env string) *Directory  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			DumpAppRenderToWetDir(app, cluster, tenant, env)
}

buildPreviousImagesApp() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
clusterString !-No description provided
tenantString !-No description provided
envString !-No description provided
Example
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory, cluster string, tenant string, env string) string  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			BuildPreviousImagesApp(ctx, cluster, tenant, env)
}

renderApp() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
envString !-No description provided
appString !-No description provided
clusterString !-No description provided
tenantString !-No description provided
newImagesMatrixString "{\"images\":[]}"No description provided
Example
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory, env string, app string, cluster string, tenant string) string  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			RenderApp(ctx, env, app, cluster, tenant)
}

getImagesFile() 🔗

Return Type
File !
Arguments
NameTypeDefault ValueDescription
clusterString !-No description provided
tenantString !-No description provided
envString !-No description provided
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, cluster string, tenant string, env string) *File  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			GetImagesFile(cluster, tenant, env)
}

renderSysService() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
clusterString !-No description provided
appString !-No description provided
Example
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory, cluster string, app string) string  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			RenderSysService(ctx, cluster, app)
}

render() 🔗

This function renders the apps or sys-apps based on the render type It returns the wet directory where the rendered files are stored

Return Type
[Directory ! ] !
Arguments
NameTypeDefault ValueDescription
appString !-No description provided
clusterString !-No description provided
tenantString ""No description provided
envString ""No description provided
newImagesMatrixString "{\"images\":[]}"No description provided
Example
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, app string, cluster string) []*Directory  {
	return dag.
			HydrateKubernetes(valuesDir, wetRepoDir).
			Render(app, cluster)
}