-
Notifications
You must be signed in to change notification settings - Fork 2.7k
ExternalDNS requires targets
when using CRD, even if default-targets
is set
#3163
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
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
This is a valid request. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen |
@ivankatliarchuk: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What happened:
CRD validation fails when
targets
are not set: 5df90d6.Tests:
external-dns/source/crd_test.go
Lines 219 to 237 in 146ffa5
This seems not appropriate when
default-targets
are configured.external-dns/pkg/apis/externaldns/types.go
Line 426 in 8b8f175
What you expected to happen:
CRD should not expect
targets
to be set ifdefault-targets
is configured.(optionl) If CRD targets, targets in annotations or elsewhere are configured, those take precedence. Maybe put this behavior behind a flag — should
default-targets
or settargets
take precedence.How to reproduce it (as minimally and precisely as possible):
Do not set
targets
inDNSEndpoint
CR.Anything else we need to know?:
We love the product ❤️
Environment:
external-dns --version
): 0.12.2The text was updated successfully, but these errors were encountered: