Skip to content

Commit

Permalink
Merge pull request #1127 from fluxcd/debug-helm-values
Browse files Browse the repository at this point in the history
docs: Rendering the final Values locally
  • Loading branch information
stefanprodan authored Dec 11, 2024
2 parents ee75549 + ebf4126 commit 66f024c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/spec/v2/helmreleases.md
Original file line number Diff line number Diff line change
Expand Up @@ -1451,6 +1451,23 @@ Besides being reported in Events, the controller may also log reconciliation
errors. The Flux CLI offers commands for filtering the logs for a specific
HelmRelease, e.g. `flux logs --level=error --kind=HelmRelease --name=<release-name>.`

#### Rendering the final Values locally

When using multiple [values references](#values-references) in a
HelmRelease, it can be useful to inspect the final values computed from the various sources.
This can be done by pointing the Flux CLI to the in-cluster HelmRelease object:

```shell
flux debug hr <release-name> -n <namespace> --show-values
```

The command will output the final values by merging the in-line values from the HelmRelease
with the values from the referenced ConfigMaps and/or Secrets.

**Note:** The debug command will print sensitive information if Kubernetes Secrets
are referenced in the HelmRelease `.spec.valuesFrom` field, so exercise caution
when using this command.

## HelmRelease Status

### Events
Expand Down

0 comments on commit 66f024c

Please sign in to comment.