Closed wallrj closed 4 years ago
I've gone through the diff (above) and found that we've already got most of them:
zap.New(zap.UseDevMode(true))
We do not have:
config/prometheus
kustomization was added. We might consider adding that to the operator.kubebuilder
now seems to generate an _editor
and a _viewer
role for each API kind. That might be nice thing to add to our config, so that people installing the operator would have some ready made roles to assign to people or service accounts.
Upgrade to Kubebuilder 2.3.0: https://github.com/kubernetes-sigs/kubebuilder/releases/tag/v2.3.0
The main difference is that the kubebuilder tests will now run against kube-apiserver v1.16.4 rather than v1.15.5
I've also looked at what changes were introduced to the skaffolding, but there isn't much that affects us. See comment below.
Here's a diff showing differences between projects created by 2.2.0 and 2.3.0, some of these might need applying to our project: