Closed mhoshi-vm closed 3 years ago
I've hit the same block - would appreciate any comment on this.
Hi @groundnuty 👋
I am guessing you cannot load("@ytt:data", "data") in a data file, but is this correct and is there any workaround ?
You are correct, since you have a data values annotation, #@data/values
, in the same file that you are referencing other data values, #@ data.values.tanzunet_username
, ytt will error.
This issue, and a work around has been discussed in a previous thread: https://github.com/vmware-tanzu/carvel-ytt/issues/459 so I am marking this issue as duplicate, and closing. Please reopen and comment if you have any additional questions or if that work around does not work for you. Thank you!
I am trying to do something like the following.
Of course I have another data yaml file that defines
data.values.tanzunet_username
but i fail with the following.I am guessing you cannot
load("@ytt:data", "data")
in a data file, but is this correct and is there any workaround ?