kubernetes-sigs / cluster-addons

Addon operators for Kubernetes clusters.
Apache License 2.0
155 stars 47 forks source link

Update coredns operator to kubebuilder v3 #103

Closed justinsb closed 2 years ago

justinsb commented 3 years ago

A relatively mechanical update, rebuilt with v3 and then copied across code.

kubebuilder init  --plugins="go/v3,declarative,klogr" --project-version=3 \
  --domain x-k8s.io --repo sigs.k8s.io/cluster-addons/coredns \
  --owner "The Kubernetes Authors" --license apache2

kubebuilder create api --group addons --kind CoreDNS --version v1alpha1
atoato88 commented 3 years ago

prow job failed, here said the reason. Go version is updated to 1.16, so we need update golang version to 1.16 in prow job settings at here?

justinsb commented 2 years ago

Well spotted @atoato88 ... I found https://github.com/kubernetes/test-infra/pull/22416 which should bring us more up to date, so I approved that one!

justinsb commented 2 years ago

/test pull-cluster-addons-unit-test

k8s-ci-robot commented 2 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justinsb, rajansandeep

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/cluster-addons/blob/master/OWNERS)~~ [justinsb,rajansandeep] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment