Comments (6)
Hi @eyarz
Thanks for looking at it. I identified the same thing, the schema is out of date.
I already have the up-to-date custom resource deployed in my cluster and I tried using the crd-extractor tool to generate a new schema from it but the result I got didn't include anything extra for the new http2 option.
If I get a chance a bit later I will try again in case I was doing something wrong
from crds-catalog.
Hi @martinrw , it is worth checking to see if there is a new version of the schema, but in the meantime you can use the --permissive-schema
flag to allow additional properties.
from crds-catalog.
Hey @hadar-co
Thanks for the quick reply and your suggestion.
I am using the latest schemas from this repo.
We are using the kubeconform command and not datree so that's not an option unfortuantely.
This is my first time really looking at this but I think the workaround for now might be to change:
"additionalProperties": false
to
"additionalProperties": true
in my local copy of monitoring.coreos.com/servicemonitor_v1.json for now.
or maybe even delete this line altogether.
It's Friday afternoon now so I'll have a play with it next week
from crds-catalog.
Well, kubeconform allows additional properties by default, are you setting the -strict
flag by mistake?
If you want to send the schema I can take a closer look:)
from crds-catalog.
Thanks for the offer to look. We aren't using the strict flag but I think this setting within the schemas:
"additionalProperties": false
is effectively doing the same thing as strict.
I have adjusted my copy of the schemas to have:
"additionalProperties": true
everywhere and now it seems OK.
The ideal solution would be for the schemas to be updated so I think this ticket is still valid, but at least I can continue for now
from crds-catalog.
@martinrw I think I found the root cause for this issue.
The last update to the schema in this repo for servicemonitor_v1
was on Jun 2022.
enableHttp2
was added to the original schema (on the helm-charts repo) 20 days ago:
therefore, updating the schema in this repo will solve your issue :)
from crds-catalog.
Related Issues (20)
- Missing of 'ingressClassName' in cert-manager.io/issuer_v1 HOT 1
- Missing apache flink crds
- Sooo... what's happening to this repo? HOT 1
- Add nginx CRDs
- argoproj.io/workflowtemplate_v1alpha1.json out of date HOT 2
- `kafkaconnector_v1beta2.json` missing `autoRestart.maxRestarts` configuration parameter HOT 1
- Karpenter v1beta1 CRDs
- Invalid monitoring.coreos.com/alertmanagerconfig_v1alpha1.json HOT 7
- operators.coreos.com CRDs (Operator Framework) HOT 1
- Please add vault operator schemas
- kubeconform + monitoring.coreos.com HOT 2
- Get pascalcased kind for a schema
- Update postgresCluster postgres-operator.crunchydata.com to latest v1beta1
- Add GCP Config Connector CRDs to catalog HOT 1
- Update karpenter crds to version v0.35.0
- Add apache druid crd v1.2.3
- Add Grafana Operator CRD
- crd-extractor.sh does not work properly on CRDs with more than one line matching `kind:`
- Knative CRDs HOT 1
- Is this still maintained? YES! HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crds-catalog.