-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
GCE: Don't remove (shared) DNS Zone #3398
GCE: Don't remove (shared) DNS Zone #3398
Conversation
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.
Question
pkg/resources/gce.go
Outdated
}, nil | ||
// We never delete the hosted zone, because it is usually shared and we don't create it | ||
return nil, nil | ||
//if dns.IsGossipHostname(d.clusterName) { |
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.
Can we just remove the code?
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.
I want to keep it so that when we merge the Shared-resource PR we can reintroduce it.
Will add a comment.
We don't create it, we shouldn't be deleting it.
6326678
to
8ff3123
Compare
Added comment PTAL @chrislovecnm |
/lgtm Don't like commented code, but I will live with it for now ;) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrislovecnm The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. . |
We don't create it, we shouldn't be deleting it.