Skip to content

Commit

Permalink
Bumps MLB version (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarhee authored Apr 8, 2020
1 parent fed9b6b commit 06977e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/cluster_pool/controller.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ function check_cluster {
}

function metal_lb {
k3s kubectl apply -f https://raw.githubusercontent.com/google/metallb/v0.9.3/manifests/namespace.yaml && \
k3s kubectl apply -f https://raw.githubusercontent.com/google/metallb/v0.9.3/manifests/metallb.yaml && \
k3s kubectl create secret generic -n metallb-system memberlist --from-literal=secretkey="$(openssl rand -base64 128)" && \
echo "Configuring MetalLB for ${packet_network_cidr}..." && \
cat << EOF > /var/lib/rancher/k3s/server/manifests/metal_lb.yaml
apiVersion: v1
Expand Down Expand Up @@ -56,8 +59,7 @@ function apply_workloads {
cd /var/lib/rancher/k3s/server/manifests && \
wget https://raw.githubusercontent.com/packethost/csi-packet/master/deploy/kubernetes/setup.yaml && \
wget https://raw.githubusercontent.com/packethost/csi-packet/master/deploy/kubernetes/node.yaml && \
wget https://raw.githubusercontent.com/packethost/csi-packet/master/deploy/kubernetes/controller.yaml && \
wget https://raw.githubusercontent.com/google/metallb/v0.7.3/manifests/metallb.yaml
wget https://raw.githubusercontent.com/packethost/csi-packet/master/deploy/kubernetes/controller.yaml
}

function start_anycast {
Expand Down

0 comments on commit 06977e4

Please sign in to comment.