View Source Helmex.Repo (Helmex v0.0.1)

Helm Repo

add, list, remove, update, and index chart repositories

Link to this section Summary

Link to this section Functions

Link to this function

add(helm, name, url, opts \\ [])

View Source

add a chart repository

Available options:

OptionType
:allow_deprecated_reposflag only
:force_updateflag only
:insecure_skip_tls_verifyflag only
:pass_credentialsflag only
:ca_file:value
:cert_filevalue
:password:value
:usernamevalue

examples

Examples

iex> Helmex.init(kubeconfig: "/path/to/kube/config")
|> Helmex.Repo.add("kvaps", "https://kvaps.github.io/charts", allow_deprecated_repos: true)
|> Helmex.call()
Link to this function

index(helm, dir, opts \\ [])

View Source

generate an index file given a directory containing packaged charts

Available options:

OptionType
:url:value
:mergevalue

examples

Examples

iex> Helmex.init(kubeconfig: "/path/to/kube/config")
|> Helmex.Repo.index("fantastic-charts", url: "https://fantastic-charts.storage.googleapis.com")
|> Helmex.call()

list chart repositories

Available options:

OptionType
:output:value

examples

Examples

iex> Helmex.init(kubeconfig: "/path/to/kube/config")
|> Helmex.Repo.list(output: "json")
|> Helmex.call()

remove one chart repository

examples

Examples

iex> Helmex.init(kubeconfig: "/path/to/kube/config")
|> Helmex.Repo.remove("bitnami")
|> Helmex.call()
Link to this function

update(helm, repo, opts \\ [])

View Source

update information of available charts locally from chart repositories

Available options:

OptionType
:fail_on_repo_update_fail:flag

examples

Examples

iex> Helmex.init(kubeconfig: "/path/to/kube/config")
|> Helmex.Repo.list(output: "json")
|> Helmex.call()