Hi guys,
first: Congratulations for this amazing tool!
This is like kube-prometheus but instead of use jsonnnet I used kustomize and since 2 days ago kpt.
But I notice a problem into my package with "kpt live apply" command, this is because I used a lot of "json" and "yaml" files in conjunction with kustomize generators (configMaps and secrets)
see:
in the beginning, I started to refactor all the "yaml" files implementing the technique of change the name of files on the fly:
- name: config
configMap:
name: prometheus-adapter-configuration
items:
- key: config-yaml.txt
path: config.yaml
see:
But I notice that this is not exactly what I want to do, works but it is not clear at all.
so, Are you thinking about how to manage this problem?
what I mean, how to identify yaml/json files that are some kind of kubernetes element and not kubernetes elements?
Thanks again for this amazing tool!
Christian