Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
k3s
Commits
d832e6ae
Commit
d832e6ae
authored
7 years ago
by
Sandeep Rajan
Browse files
Options
Download
Email Patches
Plain Diff
coredns 1.0.0
parent
ca37d420
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/kubeadm/app/phases/addons/dns/versions.go
+2
-2
cmd/kubeadm/app/phases/addons/dns/versions.go
with
2 additions
and
2 deletions
+2
-2
cmd/kubeadm/app/phases/addons/dns/versions.go
View file @
d832e6ae
...
...
@@ -27,14 +27,14 @@ const (
kubeDNSProbeSRV
=
"SRV"
kubeDNSProbeA
=
"A"
coreDNSVersion
=
"0.
9.1
0"
coreDNSVersion
=
"
1.
0.0"
)
// GetDNSVersion returns the right kube-dns version for a specific k8s version
func
GetDNSVersion
(
kubeVersion
*
version
.
Version
,
dns
string
)
string
{
// v1.8.0+ uses kube-dns 1.14.5
// 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
// Also, the version might be bumped for different k8s releases on the same branch
...
...
This diff is collapsed.
Click to expand it.
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