Closed ramkrishna2k3 closed 2 years ago
When podMonitor enabled is false
, then ytt doesn't try to run over below code and hence it is passing
#@ if data.values.podMonitor.enabled:
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
...
app.kubernetes.io/instance: release-name
#@ end
But when it is set to true, then ytt run over the above code. Can you share the files with the correct indentation. I think there might be some misindentation w.r.t. scrapeTimeout: 30s
@ramkrishna2k3 , this looks like a ytt issue, transferred to the ytt repo.
rohitagg2020. Please find the attached file . config.yml.txt pkginstall.yml.txt values.yml.txt
@ramkrishna2k3 , this looks like a ytt issue, transferred to the ytt repo.
@renuy : how do that, please help.
@ramkrishna2k3
I can't seem to make out where values.yml
is located.
It must be in the bundle of your package in order to be the schema for your package.
Given the fact that a data value that is most definitely defined in your schema is apparently undefined, I suspect values.yml
is not in the package.
Unrelated: heads-up, the tomcat credential (i.e. Secret named tomcat
) appears to not have been redacted in the file you've uploaded to this ticket; we recommend you consider that password compromised.
@ramkrishna2k3 if you still need assistance with this issue, please feel free to comment here and we'll be notified.
For now, closing.
I have a weird issue. Unable to resolve, Kindly help
error :
I pass the value in config.yml from values.yml
config.yml
values.yml
But when I give podMonitor, enabled false then reconcile is succeed, but when i give false reconcile get failed.
pkginstall.yml
2022-03-21 (@pivotaljohn) — added code fences to make clearer the indentation of the provided YAML files (indentation doesn't show up in plain markdown).