Skip to content

Struggling to use a custom datasource #28695

Discussion options

You must be logged in to vote

Not a total answer to my problem, but one thing I found is: the customDatasource JSON is sensitive to whitespace. The example I have in this discussion was pretty-printed so you could read it, but the actual file didn't have any delimiting spaces, just regular JSON with all the braces, etc. but no whitespace for readability. When I checked in the formatted JSON, I started getting the substitutions I expected.

Here's my next problem: now it is only substituting for the chart versions in the helm_resources but not touching the set blocks and the command in my module. Any thoughts on that?

UPDATE: Just so the whole answer is here for somebody, it was the depName template. Two of my matches d…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jwilkicki
Comment options

You must be logged in to vote
1 reply
@jwilkicki
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants