OSH plugin for Helm
Go to file
Vladimir Kozhukalov 5b1bcd99ab Improve get-values-overrides help
Change-Id: I59b763b6109ad7af63c3d5484a03773915b23493
2024-05-09 11:55:28 -05:00
playbooks Initial commit 2024-04-17 13:44:44 -05:00
zuul.d Initial commit 2024-04-17 13:44:44 -05:00
.gitignore Initial commit 2024-04-17 13:44:44 -05:00
.gitreview Added .gitreview 2024-04-17 12:42:06 +00:00
.golangci.yaml Initial commit 2024-04-17 13:44:44 -05:00
get-values-overrides Improve get-values-overrides help 2024-05-09 11:55:28 -05:00
go.mod Initial commit 2024-04-17 13:44:44 -05:00
go.sum Initial commit 2024-04-17 13:44:44 -05:00
LICENSE Initial commit 2024-04-17 13:44:44 -05:00
main.go Improve get-values-overrides help 2024-05-09 11:55:28 -05:00
Makefile Initial commit 2024-04-17 13:44:44 -05:00
osh.sh Initial commit 2024-04-17 13:44:44 -05:00
plugin.yaml Initial commit 2024-04-17 13:44:44 -05:00
README.md Improve get-values-overrides help 2024-05-09 11:55:28 -05:00
wait-for-pods.sh Initial commit 2024-04-17 13:44:44 -05:00

Install

helm plugin install https://opendev.org/openstack/openstack-helm-plugin.git

Uninstall

helm plugin uninstall osh

Usage

get-values-overrides

Get Helm values overrides for a set of features.

If 3 features are passed, then the overrides will be looked up in the following order:

<overrides_path>/<chart>/values_overrides/<feature-3>.yaml
<overrides_path>/<chart>/values_overrides/<feature-2>.yaml
<overrides_path>/<chart>/values_overrides/<feature-2>-<feature-3>.yaml
<overrides_path>/<chart>/values_overrides/<feature-1>.yaml
<overrides_path>/<chart>/values_overrides/<feature-1>-<feature-3>.yaml
<overrides_path>/<chart>/values_overrides/<feature-1>-<feature-2>.yaml
<overrides_path>/<chart>/values_overrides/<feature-1>-<feature-2>-<feature-3>.yaml

If you think of the features as bits of a binary number where is the least significant bit, then the order corresponds to all numbers from 001 to 111 in binary representation.

Usage:

  get-values-overrides <feature1> <feature2> ... [flags]

Flags:

  -c, --chart string      Chart to get the overrides for
  -d, --download          Download the overrides from the internet if not found in the path (default: false)
  -h, --help              help for get-values-overrides
  -p, --path string       Path to the overrides (default "$(pwd)")
  -s, --subchart string   Subchart to get the overrides for
  -u, --url string        Base url to download overrides (default "https://opendev.org/openstack/openstack-helm/raw/branch/master")

wait-for-pods

KUBECONFIG must be set properly.

helm osh wait-for-pods <namespace> [timeout]