Replies: 1 comment 1 reply
-
If I remove all the Is this the intended behavior, or is it a bug? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm having a difficult user experience. I've only been using kcl since this week, so it is possible user error.
I've used kcl-openapi to generate the model for fluxcd HelmRelease v2beta2. The relevant configuration looks like this
My use case is that I'm creating an instance of HelmRelease with some default values that all of my HelmReleases will use. Then I am creating specific HelmReleases that inherit from my "default" HelmRelease.
The trouble happens when I don't specify optional fields that have checks. This is just an example with
releaseName
. It is not a required field, but kcl throws the error below. If I set that field in my "default" HelmRelease the error goes away and kcl shows a similar error for other optional fields that I haven't defined.As they are optional fields, how do I avoid this error without providing a value?
Beta Was this translation helpful? Give feedback.
All reactions