k8wiz
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.

Read more about Helm