Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
d832e6ae
Commit
d832e6ae
authored
Dec 04, 2017
by
Sandeep Rajan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coredns 1.0.0
parent
ca37d420
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
versions.go
cmd/kubeadm/app/phases/addons/dns/versions.go
+2
-2
No files found.
cmd/kubeadm/app/phases/addons/dns/versions.go
View file @
d832e6ae
...
@@ -27,14 +27,14 @@ const (
...
@@ -27,14 +27,14 @@ const (
kubeDNSProbeSRV
=
"SRV"
kubeDNSProbeSRV
=
"SRV"
kubeDNSProbeA
=
"A"
kubeDNSProbeA
=
"A"
coreDNSVersion
=
"
0.9.1
0"
coreDNSVersion
=
"
1.0.
0"
)
)
// GetDNSVersion returns the right kube-dns version for a specific k8s version
// GetDNSVersion returns the right kube-dns version for a specific k8s version
func
GetDNSVersion
(
kubeVersion
*
version
.
Version
,
dns
string
)
string
{
func
GetDNSVersion
(
kubeVersion
*
version
.
Version
,
dns
string
)
string
{
// v1.8.0+ uses kube-dns 1.14.5
// v1.8.0+ uses kube-dns 1.14.5
// v1.9.0+ uses kube-dns 1.14.7
// v1.9.0+ uses kube-dns 1.14.7
// v1.9.0+ uses CoreDNS
0.9.1
0
// v1.9.0+ uses CoreDNS
1.0.
0
// In the future when the version is bumped at HEAD; add conditional logic to return the right versions
// In the future when the version is bumped at HEAD; add conditional logic to return the right versions
// Also, the version might be bumped for different k8s releases on the same branch
// Also, the version might be bumped for different k8s releases on the same branch
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment