equinor / radix-operator

The operator for the Radix platform
MIT License
10 stars 2 forks source link

Current client generator is end of life #1111

Open Richard87 opened 5 months ago

Richard87 commented 5 months ago

Instead of using https://github.com/kubernetes/code-generator/blob/master/generate-groups.sh

we should use https://github.com/kubernetes/code-generator/blob/master/kube_codegen.sh

Example repo - usage here: https://github.com/kubernetes/sample-controller/blob/master/pkg/apis/samplecontroller/v1alpha1/types.go#L23 https://github.com/kubernetes/sample-controller/blob/master/hack/update-codegen.sh

But is should be tweaked a bit to look in GOPATH, not in local vendor folder (that usually doesnt exist)

nilsgstrabo commented 4 months ago

https://github.com/equinor/radix-operator/pull/1118