Closed SpComb closed 6 years ago
The configure-etcd.sh script incorrectly uses if [ ! func_call ] as a conditional, which is always false (the func_call string literal is never an empty string): https://github.com/kontena/pharos-cluster/blob/0561caa3470593b1d53fa1ea21073da68c6523e1/lib/pharos/scripts/configure-etcd.sh#L11
configure-etcd.sh
if [ ! func_call ]
func_call
This prevents changes to ETCD_VERSION=... from triggering a new /etc/kubernetes/manifests/pharos-etcd.yaml write.
ETCD_VERSION=...
/etc/kubernetes/manifests/pharos-etcd.yaml
The etcd_healthy check is also broken... there is no such function anymore.
etcd_healthy
The
configure-etcd.sh
script incorrectly usesif [ ! func_call ]
as a conditional, which is always false (thefunc_call
string literal is never an empty string): https://github.com/kontena/pharos-cluster/blob/0561caa3470593b1d53fa1ea21073da68c6523e1/lib/pharos/scripts/configure-etcd.sh#L11This prevents changes to
ETCD_VERSION=...
from triggering a new/etc/kubernetes/manifests/pharos-etcd.yaml
write.