Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Give flanneld its own certs rather than consuming them from link (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvs authored May 3, 2019
1 parent 9f6b2ee commit 3b60c32
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions jobs/flanneld-windows/spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ properties:
backend-type:
description: The network backend to use
default: "win-overlay"
tls.etcdctl.ca:
description: CA for etcdctl client authentication
tls.etcdctl.certificate:
description: Certificate for etcdctl client authentication
tls.etcdctl.private_key:
description: Private key for etcdctl client authentication

consumes:
- name: etcd
Expand Down
2 changes: 1 addition & 1 deletion jobs/flanneld-windows/templates/config/etcd-ca.crt.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<%= link('etcd').p('tls.etcdctl.ca') %>
<%= p('tls.etcdctl.ca') %>

2 changes: 1 addition & 1 deletion jobs/flanneld-windows/templates/config/etcd-client.crt.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<%= link('etcd').p('tls.etcdctl.certificate') %>
<%= p('tls.etcdctl.certificate') %>

2 changes: 1 addition & 1 deletion jobs/flanneld-windows/templates/config/etcd-client.key.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<%= link('etcd').p('tls.etcdctl.private_key') %>
<%= p('tls.etcdctl.private_key') %>

0 comments on commit 3b60c32

Please sign in to comment.