# How can a HelmRelease take its Helm values from a ConfigMap or Secret?

Flux CD, Medium (Advanced), Integration. https://k8wiz.com/uquiz/how-can-a-helmrelease-take-its-helm-values-from-a-configmap-or-secret

- A. Mount them into the helm-controller pod
- B. Reference them from the chart's values.yaml
- C. Set spec.values.configMapRef to their names
- D. List them in spec.valuesFrom

**Answer:** List them in spec.valuesFrom

**Explanation:** valuesFrom merges values from the listed ConfigMaps and Secrets in order, and spec.values is merged on top. Keeping sensitive values in a Secret lets you encrypt them with SOPS instead of writing them into the HelmRelease.
