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

remove ignored options from kubernetes plugin #3737

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

zouyee
Copy link
Member

@zouyee zouyee commented Mar 8, 2020

Signed-off-by: zouyee [email protected]

1. Why is this pull request needed and what does it do?

code pruning which remove ignored options from kubernetes plugin.

2. Which issues (if any) are related?

#3731

3. Which documentation changes (if any) need to be made?

none

4. Does this introduce a backward incompatible change or deprecation?

Yes. will cause CoreDNS to exit if resyncperiod of upstream options are present

@zouyee
Copy link
Member Author

zouyee commented Mar 9, 2020

@miekg
Copy link
Member

miekg commented Mar 9, 2020

yes, we've never done this because it's backwards incompatible and forces folks to update config for no real good reason (i.e. -5 lines). This needs to happen at some point, but there is no rush IMO

@miekg
Copy link
Member

miekg commented Mar 31, 2020

we might as well dump this in 1.7.0?

@chrisohaver
Copy link
Member

we might as well dump this in 1.7.0?

yes, i'll reopen the issue.

@zouyee
Copy link
Member Author

zouyee commented Apr 6, 2020

coredns/ci#125

@zouyee
Copy link
Member Author

zouyee commented Apr 10, 2020

/assign @chrisohaver

@codecov-io
Copy link

Codecov Report

Merging #3737 into master will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3737      +/-   ##
==========================================
+ Coverage   56.72%   56.74%   +0.02%     
==========================================
  Files         222      222              
  Lines       11296    11292       -4     
==========================================
  Hits         6408     6408              
+ Misses       4395     4391       -4     
  Partials      493      493              
Impacted Files Coverage Δ
plugin/kubernetes/setup.go 65.60% <ø> (+1.35%) ⬆️
plugin/errors/errors.go 95.23% <0.00%> (-4.77%) ⬇️
plugin/file/reload.go 75.00% <0.00%> (+5.55%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e410760...662387c. Read the comment docs.

@zouyee
Copy link
Member Author

zouyee commented Apr 10, 2020

@miekg PTAL

@miekg
Copy link
Member

miekg commented Apr 10, 2020 via email

@zouyee
Copy link
Member Author

zouyee commented Apr 10, 2020

[ Quoting [email protected] in "Re: [coredns/coredns] remove ignore..." ]
/retest
this would be a nice command to implement in your bot, don't know how though as github doesn't expose it; you need to talk directly to travis and circle-ci as far as I know.

got it, thanks!

@zouyee
Copy link
Member Author

zouyee commented Apr 13, 2020

@chrisohaver PTAL

Copy link
Member

@chrisohaver chrisohaver left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@chrisohaver chrisohaver merged commit c639615 into coredns:master Apr 14, 2020
nyodas pushed a commit to DataDog/coredns that referenced this pull request Oct 26, 2020
sgreene570 added a commit to sgreene570/cluster-dns-operator that referenced this pull request Feb 24, 2021
coredns/coredns#3737 removed the unused
`upstream` kubernetes plugin option from the CoreDNS corefile parser.
Starting in CoreDNS v1.7, corefiles that have the `upstream` option will
throw an error. This change should not affect functionality since the
`upstream` option has been ignored since CoreDNS v1.5. The
aforementioned upstream CoreDNS PR merely requires that the
`upstream` option be removed for the kubernetes plugin section of a
corefile.
airshipbot pushed a commit to airshipit/promenade that referenced this pull request May 3, 2021
* Uplift the CoreDNS image to 1.7.0 (aligning to k8s v1.20) [0]
* Update the Corefile based on corefile-tool migration [1]

Note that the previously-deprecated "upstream" option is removed in
1.7.0 [2], and if not removed from the Corefile, will cause the pods to
crashloop.

0: https://github.com/coredns/deployment/blob/master/kubernetes/CoreDNS-k8s_version.md
1: https://github.com/coredns/corefile-migration/tree/master/corefile-tool
2: coredns/coredns#3737

Change-Id: I03882240e8335f09956e412345e783e9a897ed9a
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.

4 participants