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

Commit a95184b

Browse files
author
Gianluca Arbezzano
committed
The projectID is fixed as part of the cluster template
1 parent ab54c49 commit a95184b

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
@@ -26,7 +26,7 @@ spec:
2626
kubeletExtraArgs:
2727
cloud-provider: external
2828
postKubeadmCommands:
29-
- 'kubectl --kubeconfig /etc/kubernetes/admin.conf create secret generic -n kube-system packet-cloud-config --from-literal=cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "f2a2d7ad-886e-4207-bf38-10ebdf49cf84"}'''
29+
- '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}"}'''
3030
- kubectl apply --kubeconfig /etc/kubernetes/admin.conf -f https://raw.githubusercontent.com/packethost/packet-ccm/master/deploy/releases/v1.0.0/deployment.yaml
3131
preKubeadmCommands:
3232
- sed -ri '/\sswap\s/s/^#?/#/' /etc/fstab

0 commit comments

Comments
 (0)