devspace
devspace copied to clipboard
Profile patches are not applied to helm values loaded with `$(cat values.yaml)`
What happened?
Profile patches are not applied if helm values are loaded from a file with $(cat values.yaml). I have used this feature in v5 as values can't be patched if imported using valuesFiles.
What did you expect to happen instead? Able to apply profiles patches to helm values
How can we reproduce the bug? (as minimally and precisely as possible)
- create component chart helm values file.
- load values file using
$(cat values.yaml) - try applying profile patches on it
My devspace.yaml:
version: v2beta1
deployments:
server:
helm:
chart:
name: component-chart
repo: https://charts.devspace.sh
values: $(cat values.yaml)
profiles:
- name: beta
activation:
- vars:
ENV: beta
patches:
- op: replace
path: deployments.server.helm.values.containers[0].image
value: vizmo/server
Local Environment:
- DevSpace Version: v6.1.1
- Operating System: mac
- ARCH of the OS: AMD64
/kind bug
@hariprasadiit thanks for creating this issue! We will take a look and see if we can fix the problem with the next version