-
Notifications
You must be signed in to change notification settings - Fork 170
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
Fixing values.yaml docs for schema generation, corrected values.schema.json #474
Fixing values.yaml docs for schema generation, corrected values.schema.json #474
Conversation
0c76c98
to
a794f8b
Compare
Hi @julian-perge, thanks for the PR. |
7203bd9
to
271f44e
Compare
Thanks for the issue link, and I signed the CLA, but had my signing keys messed up. Should be fixed now. Will probably work on improving the schema throughout the rest of the week when in down time. |
271f44e
to
16739bc
Compare
@yorugac Updated PR to include the rest of the schema fixes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @julian-perge, apologies for the delay! I've finally tested this: it seems that tolerations
should also be changed to array
- please see my comment below.
That's the only request from me: the rest seems to be working, AFAIS 🙌 Would you be able to update that part?
# required: false | ||
# type: object | ||
# @schema | ||
# affinity -- Affinity to be applied on all containers | ||
affinity: {} | ||
|
||
# @schema | ||
# additionalProperties: true | ||
# required: false | ||
# type: object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# type: object | |
# type: array |
I'm getting the following error now:
- tolerations: Invalid type. Expected: object, given: array
And tolerations are normally defined as an array:
https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears this change request was done in a new PR by another contributor over here:
https://github.com/grafana/k6-operator/pull/481/files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@julian-perge, I'll be merging your PR as is now, and merge the fix for tolerations from #481. I hope that's alright with you!
Thank you again, for fixing this 🙌
With 3.9.0, the
values.schema.json
is created incorrectly from thevalues.yaml
, therefore not allowing any extra env values frommanager.env
to be placed in there since it's requiring an object, butenv
is supposed to be an array of objects.Should fix #471