-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openapi2jsonschema.py fails for AlertmanagerConfig
#103
Comments
eyarz
pushed a commit
to eyarz/kubeconform
that referenced
this issue
Apr 5, 2022
Equal sign (=) was not parsed properly by pyyaml. Added constructor to parse equal sign as string. Related issue: yannh#103
I submitted a PR to fix that. |
yannh
pushed a commit
that referenced
this issue
Apr 6, 2022
Equal sign (=) was not parsed properly by pyyaml. Added constructor to parse equal sign as string. Related issue: #103
yannh
pushed a commit
that referenced
this issue
Oct 16, 2022
Equal sign (=) was not parsed properly by pyyaml. Added constructor to parse equal sign as string. Related issue: #103
yannh
pushed a commit
that referenced
this issue
Oct 16, 2022
Equal sign (=) was not parsed properly by pyyaml. Added constructor to parse equal sign as string. Related issue: #103
yannh
pushed a commit
that referenced
this issue
Nov 10, 2022
* add constructor to handle equal sign (=) Equal sign (=) was not parsed properly by pyyaml. Added constructor to parse equal sign as string. Related issue: #103 * Update Readme.md
yannh
pushed a commit
that referenced
this issue
Nov 10, 2022
* add constructor to handle equal sign (=) Equal sign (=) was not parsed properly by pyyaml. Added constructor to parse equal sign as string. Related issue: #103 * Update Readme.md * Update Readme.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to integrate
kubeconform
into the CI workflow of an internal project. On the intial runhelm template . | kubeconform
it had trouble finding the schemas for
I followed the advice in #51 (comment) to generate a schema using
openapi2jsonschema.py
from the OpenAPI-Specs provided for AlertmanagerConfig, PrometheusRule and ServiceMonitors.It worked for
ServiceMonitors
andPrometheusRule
but failed forAlertmanagerConfig
with the following error:https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/main/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/main/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/main/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
The text was updated successfully, but these errors were encountered: