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

Commit

Permalink
modules/bootkube/resources/bootkube.sh: Fix etcd TLS
Browse files Browse the repository at this point in the history
The required TLS assets were not being copied to the location
expected by the control plane manifests, so external etcd was
not working if tectonic_etcd_tls_enabled was true.
  • Loading branch information
Levi Blackstone committed Mar 12, 2018
1 parent 0b6f991 commit d72aeae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/bootkube/resources/bootkube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ if [ -d /opt/tectonic/net-manifests ]; then
rm -r /opt/tectonic/net-manifests
fi

mkdir -p /etc/kubernetes/bootstrap-secrets
cp /opt/tectonic/tls/etcd-* /etc/kubernetes/bootstrap-secrets
mkdir -p /etc/kubernetes/secrets
cp /opt/tectonic/tls/etcd-* /etc/kubernetes/secrets

# shellcheck disable=SC2154
/usr/bin/docker run \
--volume "$(pwd)":/assets \
Expand Down

0 comments on commit d72aeae

Please sign in to comment.