Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DNSEndpoint CRD #360

Merged
merged 1 commit into from
Mar 16, 2021
Merged

Update DNSEndpoint CRD #360

merged 1 commit into from
Mar 16, 2021

Conversation

k0da
Copy link
Collaborator

@k0da k0da commented Mar 10, 2021

Sync DNSEndpoint CRD from upstream where it was updated to
apiextentions.k8s.io/v1

kubernetes-sigs/external-dns#2001

Signed-off-by: Dinar Valeev dinar.valeev@absa.africa

Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please link the upstream PR.

Shouldn't we update external-dns before crd version bump?

Copy link
Contributor

@somaritane somaritane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just a small question

.kube-linter.yaml Show resolved Hide resolved
@k0da
Copy link
Collaborator Author

k0da commented Mar 10, 2021

@ytsarev this is unrelated to external-dns version. There are no changes to the object itself, what changed is a representation of an object to kubernetes API

@k0da k0da requested review from somaritane and ytsarev March 10, 2021 09:22
Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see terratest

Error: CustomResourceDefinition.apiextensions.k8s.io "dnsendpoints.externaldns.k8s.io" is invalid: metadata.annotations[api-approved.kubernetes.io]: Required value: protected groups must have approval annotation "api-approved.kubernetes.io", see https://github.com/kubernetes/enhancements/pull/1111

@kuritka
Copy link
Collaborator

kuritka commented Mar 10, 2021

Just a question: all fields in CRD are optional. Is it ok ?

@k0da
Copy link
Collaborator Author

k0da commented Mar 10, 2021

Sent upstream for approval kubernetes-sigs/external-dns#2007

Sync DNSEndpoint CRD from upstream where it was updated to
apiextentions.k8s.io/v1

kubernetes-sigs/external-dns#2001

Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
@k0da
Copy link
Collaborator Author

k0da commented Mar 16, 2021

Upstream finally got merged, updated PR with new annotated CRD

@k0da k0da merged commit d5224d9 into master Mar 16, 2021
@ytsarev ytsarev mentioned this pull request Mar 16, 2021
1 task
@k0da k0da deleted the crd_v1 branch March 18, 2021 13:29
@somaritane somaritane linked an issue Mar 22, 2021 that may be closed by this pull request
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate off deprecated APIs
4 participants