Repository navigation
Replies: 2 comments
|
The marker Seems that to do what you are looking for your can avoid to use For instance: ```go type SomeConfig struct { In the above struct, However, if that does not answered your question please raise an issue agains controller-tools project (https://github.com/kubernetes-sigs/controller-tools) it is the project responsible for the markers so you might find a better help. I hope that helps you out. |
|
I no longer have the details of the issue I was facing even when |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
How can I use
//+kubebuilder:validation:EmbeddedResourcementioned in
https://book.kubebuilder.io/reference/markers/crd-validation.html
to set
x-kubernetes-embedded-resource: falsein the CRD yaml to support resources without fields apiVersion/kind/metadata.
The field annonation does not seem to support a boolean as a value.
The objective is to pass through a CR objects (configuration data) without fields like kind/apiVersion/...
All reactions