forked from hswaw/hscloud
cluster/kube: calico: fix etcd endpoints
Change-Id: Ia93d355ca343fa5a42ec37fbcae9135cb5304f6e Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1285 Reviewed-by: implr <implr@hackerspace.pl>
This commit is contained in:
parent
0544d27c04
commit
b0e3693c0e
1 changed files with 6 additions and 1 deletions
|
@ -29,7 +29,12 @@ local bindServiceAccountClusterRole(sa, cr) = kube.ClusterRoleBinding(cr.metadat
|
|||
imageNode: "calico/node:" + cfg.version,
|
||||
// TODO(implr): migrate calico from etcd to apiserver
|
||||
etcd: {
|
||||
endpoints: ["https://bc01n%02d.hswaw.net:2379" % n for n in std.range(1, 3)],
|
||||
endpoints: [
|
||||
"https://bc01n01.hswaw.net:2379",
|
||||
"https://bc01n02.hswaw.net:2379",
|
||||
"https://dcr01s22.hswaw.net:2379",
|
||||
"https://dcr01s24.hswaw.net:2379",
|
||||
],
|
||||
ca: importstr "../../certs/ca-etcd.crt",
|
||||
cert: importstr "../../certs/etcd-calico.cert",
|
||||
key: importstr "../../secrets/plain/etcd-calico.key",
|
||||
|
|
Loading…
Reference in a new issue