could you please suggest if it is possible to have patch in kustomize for configMapGenerator with json values from file.
For instance I have a patch file:
But I’d like to have a magic way to specify file path in “value” section to include data in json format.
Something like this:
- patch: |- - op: replace path: /some/existing/path value: @pure_json_data.json
As a real-world example - I want to patch Grafana dashboards per environment. But these dashboards are extremely huge json file and for everyone in my team it would be nicer/convenient to store these dashboards in standalone files.
It might be already implemeted - could you please point me?)