Tomasz Smelcerz

Results 17 comments of Tomasz Smelcerz

The `kubectl` tool offers client-side validation of the CR (vs CRD schema), but it reads the CRD OpenAPI v3 schema from the cluster. Perhaps we could reuse that code, pointing...

@jakobmoellersap status object shouldn't be set by end users, but by the controller only, isn't it? The scope of the validation, as I understand it, is to detect errors in...

I have tried to debug how the kubectl tool is performing the CR validation, but I haven't managed to actually debug the code within one day - it's too complex...

To see how hard it is to actually validate CRDs exactly like K8s does: https://danielmangum.com/posts/how-kubernetes-validates-custom-resources/

We decided to use [EnvTest](https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/envtest) library for testing the CR. This gives us the most complete and correct validation, because it's performed by the locally running K8s api-server. It will...

@clebs How do we find a module CRD? The "default.yaml" is in the module root, and has a known name. The CRD file is embedded in the "charts" - somewhere....

A question about detecting, if "we are connected to the SKR cluster". How should we check that? We can - for example - test if the `kyma-system` namespace exists. Or...

@NHingerl @tobiscr FYI: I am taking Nina's version of warning message :)

For now the AC doesn't address the very first steps of the Kyma installation process. In the Open Source scenario, these steps are to install the necessary "generic" operators like...

As for the: **Given a module template, deploy it to the cluster.** step: 1. I assume it is given as a file, e.g. `kyma alpha deploy module /path/to/the/module_template.yaml` 2. If...