Browse Source

Merge "k8s-fcos: Source bashrc for clusterconfig"

changes/10/762510/1
Zuul 9 months ago
committed by Gerrit Code Review
parent
commit
427da5a68f
  1. 3
      magnum/drivers/common/templates/kubernetes/fragments/install-clients.sh
  2. 1
      magnum/drivers/k8s_fedora_coreos_v1/templates/kubecluster.yaml

3
magnum/drivers/common/templates/kubernetes/fragments/install-clients.sh

@ -31,6 +31,7 @@ do
done
echo "INFO Installed kubectl."
echo "PATH=/srv/magnum/bin:\$PATH" >> /etc/bashrc
echo "export PATH=/srv/magnum/bin:\$PATH" >> /etc/bashrc
export PATH=/srv/magnum/bin:$PATH
printf "Finished running ${step}\n"

1
magnum/drivers/k8s_fedora_coreos_v1/templates/kubecluster.yaml

@ -1308,6 +1308,7 @@ resources:
- "\n"
-
- "#!/bin/bash"
- "source /etc/bashrc"
- get_file: ../../common/templates/kubernetes/fragments/kube-apiserver-to-kubelet-role.sh
- get_file: ../../common/templates/kubernetes/fragments/core-dns-service.sh
- if:

Loading…
Cancel
Save