Helm operations for pipelines.
4.0K
Helm chart toolkit for pipelines.
pipe-helm [GLOBAL FLAGS] [COMMAND] [FLAGS]
CLI
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$LOG_LEVEL | Define the log level for the application. | stringenum("panic", "fatal", "warn", "info", "debug", "trace") | "info" |
$ENV_FILE | Environment files to inject. | string[] |
pipe-helm installInstall Helm chart dependencies.
pipe-helm install [FLAGS]
Helm
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$HELM_CWD$HELM_ROOT | Working directory for helm commands. | string | "." |
Helm Registry
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$HELM_LOGIN_REGISTRY_URI$HELM_REGISTRY_URI | Helm registry URL to login to. | string | "docker.io" |
$HELM_LOGIN_REGISTRY_USERNAME$HELM_REGISTRY_USERNAME | Helm registry username for the given registry. | string | |
$HELM_LOGIN_REGISTRY_PASSWORD$HELM_REGISTRY_PASSWORD | Helm registry password for the given registry. | string |
pipe-helm lintLint Helm chart templates.
pipe-helm lint [FLAGS]
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$HELM_CWD$HELM_ROOT | Working directory for helm commands. | string | "." |
Helm Lint
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$HELM_LINT_KUBERNETES_VERSION$KUBERNETES_VERSION | Kubernetes version to use for linting charts. | string | |
$HELM_LINT_SHOULD_TEMPLATE | Template the chart while linting. | bool | true |
pipe-helm testRun helm-unittest suites of the Helm chart.
pipe-helm test [FLAGS]
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$HELM_CWD$HELM_ROOT | Working directory for helm commands. | string | "." |
Helm Test
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$HELM_TEST_FILES | Test suite files relative to the chart, helm-unittest reads tests/*_test.yaml when none is given. | string[]format(glob) | |
$HELM_TEST_VALUES | Values files overriding the chart values for every test suite. | string[]format(glob) | |
$HELM_TEST_STRICT | Parse the test suites strictly, failing on unknown fields. | bool | false |
$HELM_TEST_OUTPUT_FILE | File to write the test results to. Leave empty to write no report. | string | |
$HELM_TEST_OUTPUT_TYPE | Format of the test results file. | stringformat(enum("JUnit", "NUnit", "XUnit", "Sonar")) | "JUnit" |
pipe-helm publishPublish Helm chart templates.
pipe-helm publish [FLAGS]
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$HELM_CWD$HELM_ROOT | Working directory for helm commands. | string | "." |
Helm Chart
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$HELM_PUBLISH_CHART_TARGET$HELM_CHART_TARGET* | Helm chart repository target to publish to. | string | |
$HELM_PUBLISH_CHART_VERSIONS$HELM_CHART_VERSIONS | Versions for the helm chart to be published. | string[] | |
$HELM_PUBLISH_CHART_VERSIONS_TEMPLATE$HELM_CHART_VERSIONS_TEMPLATE | Modifies every version that matches a certain condition. Template is interpolated with the given matches in the regular expression. | stringformat(yaml([]struct{ match: RegExp, template: Template(match) })) | "[]" |
$HELM_PUBLISH_CHART_VERSIONS_SANITIZE$HELM_CHART_SANITIZE_VERSIONS | Sanitizes the given regex pattern out of version name. Template is interpolated with the given matches in the regular expression. | stringformat(yaml([]struct{ match: RegExp, template: Template(match) })) | "[\n { \"match\": \"([^/]*)/(.*)\", \"template\": \"{{ index $ 1 | upper }}_{{ index $ 2 }}\" }\n]" |
$HELM_PUBLISH_CHART_DESTINATION$HELM_CHART_DESTINATION | Destination directory for the packaged helm chart. | string | "./dist/" |
$HELM_PUBLISH_CHART_APP_VERSION$HELM_CHART_APP_VERSION | Application version for the packaged helm chart. | string |
* required
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$HELM_LOGIN_REGISTRY_URI$HELM_REGISTRY_URI | Helm registry URL to login to. | string | "docker.io" |
$HELM_LOGIN_REGISTRY_USERNAME$HELM_REGISTRY_USERNAME | Helm registry username for the given registry. | string | |
$HELM_LOGIN_REGISTRY_PASSWORD$HELM_REGISTRY_PASSWORD | Helm registry password for the given registry. | string |
Tags From Environment
| Flag / Environment | Description | Type | Default |
|---|---|---|---|
$TAGS_FROM_ENVIRONMENT | Environment variables to read tags from, where a name ending in "*" reads every variable under that prefix. An unset or empty variable is skipped. | string[] |
Content type
Image
Digest
sha256:e9c232c7b…
Size
87.6 MB
Last updated
about 16 hours ago
docker pull cenk1cenk2/pipe-helm