Merge "Fix for VRRP preKubeadmcommand list concatenating to a single line"

This commit is contained in:
Zuul 2021-04-26 15:01:31 +00:00 committed by Gerrit Code Review
commit 80d0fdced7

View File

@ -29,5 +29,10 @@
- op: add
path: "/spec/kubeadmConfigSpec/preKubeadmCommands/-"
value:
apt-get update && apt-get install -y bridge-utils keepalived ipset ipvsadm
# Please note the a list of string get appended.It is better to
# add one item at a time using op: add
systemctl enable --now keepalived
- op: add
path: "/spec/kubeadmConfigSpec/preKubeadmCommands/-"
value:
systemctl restart keepalived