-
Notifications
You must be signed in to change notification settings - Fork 451
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
Promote DisableDNSProviderManagement
to GA
#6341
Promote DisableDNSProviderManagement
to GA
#6341
Conversation
/uncc |
/assign |
There are a few more occurrences of the |
I still have problems to run the e2e tests locally to understand the failure of the managed seed test.
I will take a look at them after I fixed the e2e test. Any hint is welcome. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR!.
While doing joint review with @acumino, we have the following comments:
DisableDNSProviderManagement: false |
DisableDNSProviderManagement
should be set to true or this can be removed.
gardener/pkg/features/features.go
Line 113 in b7d9ffa
// beta: v1.50 |
// GA: v1.52.0
needs to be added after this line.
gardener/docs/extensions/dns.md
Lines 76 to 102 in 788e942
```yaml | |
apiVersion: dns.gardener.cloud/v1alpha1 | |
kind: DNSProvider | |
... | |
status: | |
state: Ready | |
message: everything ok | |
``` | |
Other possible states are `Pending`, `Error`, and `Invalid`. | |
The DNS controller may provide an explanation of the `.status.state` in the `.status.message` field. | |
Now Gardener may create `DNSEntry` objects that represent the ask to create an actual external DNS record: | |
```yaml | |
--- | |
apiVersion: dns.gardener.cloud/v1alpha1 | |
kind: DNSEntry | |
metadata: | |
name: dns | |
namespace: default | |
spec: | |
dnsName: apiserver.cluster1.dev.my-fancy-domain.com | |
ttl: 600 | |
targets: | |
- 8.8.8.8 | |
``` |
Do we still need these in the documents ?
The remaining external-dns-management imports are related to the calculation of the required extensions.
We need also to discuss which component should be responsible for deploying the CRDs for |
@MartinWeindel I think we should drop support for registering I think the clean solution would be that
Same like above, it should be |
@rfranzke |
Sure. For now, probably it makes sense to still document (or at least announce via release note) that |
Thank you for the changes. I don't have any further comments. Please rebase the PR. |
ping @MartinWeindel, please rebase so that we can go ahead with this PR |
/assign |
ec04ccf
to
46a4408
Compare
pkg/operation/seed/types.go
Outdated
@@ -45,7 +45,5 @@ type Components struct { | |||
|
|||
// DNS contains all necessary DNS components for the Seed cluster. | |||
type DNS struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need this struct anymore now, or?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The struct still has one field record
used to create the managed Ingress DNSRecord
.
See https://github.com/gardener/gardener/blob/master/pkg/operation/seed/seed.go#L1615
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making it more clear: My point was about dropping
gardener/pkg/operation/seed/types.go
Lines 46 to 51 in 5ac7715
// DNS contains all necessary DNS components for the Seed cluster. | |
type DNS struct { | |
entry component.DeployWaiter | |
owner component.DeployWaiter | |
record component.DeployMigrateWaiter | |
} |
gardener/pkg/operation/seed/types.go
Lines 41 to 44 in 5ac7715
// Components contains different components deployed in the Seed cluster. | |
type Components struct { | |
dns *DNS | |
} |
// Components contains different components deployed in the Seed cluster.[29 days ago • Tim Usner [Add CA rotation support for multi-node etcd c…]](https://sourcegraph.com/github.com/gardener/gardener/-/commit/bdd5621e4e882be510d08ae01bc1f7774803efbb)
type Components struct {
dnsRecord component. DeployMigrateWaiter
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
Thank you @MartinWeindel !
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rfranzke 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:
Approvers can indicate their approval by writing |
/milestone v1.52 |
How to categorize this PR?
/area open-source
/kind cleanup
What this PR does / why we need it:
The
DisableDNSProviderManagement
feature gate is promoted to GA and is now unconditionally enabled.Code has been cleaned up regarding usage of
DNSEntry
andDNSProvider
which is not used anymore sinceUseDNSRecord
was promoted to GA or now with promotion ofDisableDNSProviderManagement
.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Follow-up of #6142
Part of #5270
Release note: