Closed YusukeSugiyamaTG closed 3 weeks ago
Hi @YusukeSugiyamaTG, yes, it seems the schema file is incorrect after all 😞 It was added on the request for the specific use case and locally it seemed to work, AFAIR. Thanks for the report!
I'll need to look into this, perhaps even remove the schema file completely if it causes such problems. Meanwhile, I believe you can just switch off the schema step with --skip-schema-validation
.
The quickest way to repeat this (without ArgoCD): install Helm as per instructions, providing values.yaml
with affinity
and tolerations
, etc.
Hi @yorugac , thank you very much for your response. As you suggested, I will try using the --skip-schema-validation
option and following the instructions. I would be very happy if it worked on Argo CD, so I would be grateful if you could consider it.
Re-opening for now: most of the fixes were done in https://github.com/grafana/k6-operator/pull/474 But there is still a fix for tolerations left, a WIP in https://github.com/grafana/k6-operator/pull/481
Fix for tolerations was merged. And a new Helm release was just made: https://github.com/grafana/helm-charts/releases/tag/helm-k6-operator-3.9.1 With that, closing this issue 🤞
@yorugac Thank you!! 😄
Brief summary
When using Argo CD and Helm chart for installation, specifying tolerations and affinity as follows will cause an error.
Error details
I think that
values.schema.json
was added with this upgrade.https://github.com/grafana/k6-operator/commit/735f8759b2030c3441e61ab8477bb1d03e5555c4#diff-5b1691e101964ac9ed5929dabe795fa6d9a722e062c88d3245e23a06b76a6317R5
Here, the
additionalProperties
ofaffinity
is set tofalse
, so it seems that additional elements cannot be specified inaffinity
. Regardingtolerations
, it seems to be a pure type error.k6-operator version or image
0.0.17
Helm chart version (if applicable)
3.9.0
TestRun / PrivateLoadZone YAML
This does not apply in this case.
Other environment details (if applicable)
No response
Steps to reproduce the problem
The following definition and execution in the
application.yaml
file of Argo CD will cause an error.Expected behaviour
Using the
application.yaml
mentioned above, I expect that the installation will be completed successfully with Argo CD and Helm chart.Actual behaviour
As mentioned above, the following error occurs.
Error details