flink-on-k8s-operator icon indicating copy to clipboard operation
flink-on-k8s-operator copied to clipboard

Restricted CRD API group "k8s.io"

Open elanv opened this issue 4 years ago • 3 comments

Controller-tools 0.4.1, which fixes the issue #311 , has been released. However, this only applies to CRD v1. (Now we use v1beta1.)

Not only that, but CRD v1 restricts the "k8s.io" API domain for custom resources. We use API group domain "flinkoperator.k8s.io", so it is likely that should be approved to use or the domain needs to be changed.

Note: https://github.com/kubernetes/enhancements/pull/1111

Originally posted by @elanv in https://github.com/GoogleCloudPlatform/flink-on-k8s-operator/issues/311#issuecomment-736597016

elanv avatar Dec 05 '20 10:12 elanv

I think it's okay to use k8s.io if that's the only option.

functicons avatar Dec 08 '20 06:12 functicons

@functicons It would be a good idea to update the CRD version to v1 to fix various CRD issues and apply the operator to the latest kubernetes. To do this, it seems that the operator API domain need to be approved from the kubernetes community. Do you have any plans about it? If not, the domain must be changed. Which do you prefer?

elanv avatar Feb 19 '21 11:02 elanv

@functicons In addition, updating the controller-tools will reduce the default webhook and default test code, which will help keep the operator code simpler. In order to improve and fix various related issues, I would like to be able to simultaneously update the CRD version to v1 and the controller-tools to the latest. Let me know if you have any idea.

elanv avatar Mar 01 '21 06:03 elanv