Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 2b5e0cd

Browse files
authored
Merge pull request #166 from gianarb/fix/configure-ccm-eip-management
Enable Control Plane elastic ip management in CCM
2 parents 09c2adf + fbfbd0b commit 2b5e0cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cluster-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec:
3434
netmask 255.255.255.255
3535
EOF
3636
- systemctl restart networking
37-
- 'kubectl --kubeconfig /etc/kubernetes/admin.conf create secret generic -n kube-system packet-cloud-config --from-literal=cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}"}'''
37+
- 'kubectl --kubeconfig /etc/kubernetes/admin.conf create secret generic -n kube-system packet-cloud-config --from-literal=cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}", "eipTag": "cluster-api-provider-packet:cluster-id:${CLUSTER_NAME}"}'''
3838
- kubectl apply --kubeconfig /etc/kubernetes/admin.conf -f https://github.com/packethost/packet-ccm/releases/download/v1.1.0/deployment.yaml
3939
preKubeadmCommands:
4040
- sed -ri '/\sswap\s/s/^#?/#/' /etc/fstab

0 commit comments

Comments
 (0)