Commit Graph

6 Commits

Author SHA1 Message Date
Dinar Valeev
add7a4102a Approve crd v1
All CRDs under k8s.io and kubernetes.io API groups should go through API
approval.

Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
2021-03-10 11:36:18 +01:00
Dinar Valeev
544d245464 Update apiextentions to v1
v1 is available since kubernetes 1.16, since then v1beta1 is deprecated
and will be dropped in kubernetes 1.22

Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
2021-03-08 20:12:08 +01:00
Dinar Valeev
a143a6cd59 Generate CRD with controller-gen
Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
2021-03-08 20:12:05 +01:00
Yury Tsarev
95624432b7 Update CRD source doc with RBAC, fix CRD manifest
* Add RBAC piece of documentation

* Remove `status:` to avoid validation failure

Otherwise it fails with
```
$ kubectl apply -f crd-manifest.yaml
error: error validating "crd-manifest.yaml": error validating data: ValidationError(CustomResourceDefinition.status): missing required field "storedVersions" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus;
```
2019-12-28 15:51:09 +01:00
Erik Swets
e0e7a9defd Allow setting Cloudflare proxying by annotation 2018-11-16 12:52:47 +01:00
shashidharatd
1529c0231f Add documentation for CRD source 2018-08-22 19:37:21 +05:30