vals icon indicating copy to clipboard operation
vals copied to clipboard

Feature: Support complex values

Open jkroepke opened this issue 2 years ago • 2 comments

Current Behavior

When I have the following template:

apiVersion: v1
kind: Secret
metadata:
  name: test
stringData: ref+awsssm://test

With a value in Parameter Store in YAML format:

value1: secret
value2: secret

I get the following rendered secret:

apiVersion: v1
kind: Secret
metadata:
  name: test
stringData: |-
  value1: secret
  value2: secret

I would like to give vals an hint that the value should be not handle as string, instead it just be insert as object into the existing yaml structure.

for example:

apiVersion: v1
kind: Secret
metadata:
  name: test
stringData:
  value1: secret
  value2: secret

jkroepke avatar Feb 10 '24 18:02 jkroepke

I'm also really interested in this feature. Is this part of the current roadmap?

aslafy-z avatar Oct 21 '24 13:10 aslafy-z

I think this topic is already under discussion at https://github.com/helmfile/vals/issues/115. But there are no news for 2 years. https://github.com/helmfile/vals/issues/172 is also related.

aslafy-z avatar Oct 21 '24 13:10 aslafy-z