Skip to content

Commit

Permalink
Merge pull request #9518 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…9513-to-release-1.5

[release-1.5] 📖 Add a line about the format of key for clusterctl config
  • Loading branch information
k8s-ci-robot authored Oct 3, 2023
2 parents 6f27407 + 5abdada commit 93daac9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/book/src/clusterctl/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ variables in the `clusterctl` config file:
AWS_B64ENCODED_CREDENTIALS: XXXXXXXX
```

The format of keys should always be `UPPERCASE_WITH_UNDERSCORE` for both OS environment variables and in the `clusterctl`
config file (NOTE: this limitation derives from [Viper](https://github.com/spf13/viper), the library we are using internally to retrieve variables).

In case a variable is defined both in the config file and as an OS environment variable,
the environment variable takes precedence.

Expand Down

0 comments on commit 93daac9

Please sign in to comment.