Helm
Medium
Commands
How can you pass a file's contents into a value using the CLI?
Select your answer:
Show answer and explanation
Answer: --set-file key=path
Explanation
--set-file key=path sets a value to the contents of a file. It suits scripts, certificates or configuration files that would be awkward to escape on the command line with --set.
More medium Helm questions
- What is semantic versioning used for in Chart.yaml 'version' field?
- What does 'helm upgrade --reuse-values' do?
- Which change in Helm v4 may require updates to automation regarding CLI flags?
- Which Helm command lists the releases stuck in a pending state in every namespace?
- Which helm history flag in Helm 4.3 adds a table column showing the revision each rollback restored?
- What does the --take-ownership flag on helm install and helm upgrade do?