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
ffd035e8
Commit
ffd035e8
authored
Jun 08, 2017
by
Dmitry Shulyak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expect that path to files will be provided not raw data
parent
a59db7c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
coredns.go
federation/pkg/dnsprovider/providers/coredns/coredns.go
+2
-2
No files found.
federation/pkg/dnsprovider/providers/coredns/coredns.go
View file @
ffd035e8
...
@@ -105,15 +105,15 @@ func newCoreDNSProviderInterface(config io.Reader) (*Interface, error) {
...
@@ -105,15 +105,15 @@ func newCoreDNSProviderInterface(config io.Reader) (*Interface, error) {
etcdEndpoints
=
cfg
.
Global
.
EtcdEndpoints
etcdEndpoints
=
cfg
.
Global
.
EtcdEndpoints
dnsZones
=
cfg
.
Global
.
DNSZones
dnsZones
=
cfg
.
Global
.
DNSZones
certFile
=
cfg
.
Global
.
CertFile
certFile
=
cfg
.
Global
.
CertFile
keyFile
=
cfg
.
Global
.
KeyFile
caFile
=
cfg
.
Global
.
CAFile
caFile
=
cfg
.
Global
.
CAFile
keyFile
=
cfg
.
Global
.
KeyFile
}
}
glog
.
Infof
(
"Using CoreDNS DNS provider"
)
glog
.
Infof
(
"Using CoreDNS DNS provider"
)
if
dnsZones
==
""
{
if
dnsZones
==
""
{
return
nil
,
fmt
.
Errorf
(
"Need to provide at least one DNS Zone"
)
return
nil
,
fmt
.
Errorf
(
"Need to provide at least one DNS Zone"
)
}
}
glog
.
Infof
(
"Creating etcd transport with %s, %s, %s"
,
certFile
,
keyFile
,
caFile
)
etcdTransport
,
err
:=
newTransportForETCD2
(
certFile
,
keyFile
,
caFile
)
etcdTransport
,
err
:=
newTransportForETCD2
(
certFile
,
keyFile
,
caFile
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
fmt
.
Errorf
(
"error creating transport for etcd: %v"
,
err
)
return
nil
,
fmt
.
Errorf
(
"error creating transport for etcd: %v"
,
err
)
...
...
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