Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions deploy/ccm-linode-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ rules:
- apiGroups: [""]
resources: ["endpoints"]
verbs: ["get", "watch", "list", "update", "create"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["get", "watch", "list", "update", "create"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "watch", "list", "update", "delete", "patch"]
Expand Down Expand Up @@ -101,10 +104,10 @@ spec:
imagePullPolicy: Always
name: ccm-linode
args:
- --leader-elect-resource-lock=endpoints
- --leader-elect-resource-lock=leases
- --v=3
- --port=0
- --secure-port=10253
- --webhook-secure-port=0
volumeMounts:
- mountPath: /etc/kubernetes
name: k8s
Expand Down
5 changes: 5 additions & 0 deletions deploy/generate-manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ set -o pipefail -o noclobber -o nounset

die() { echo "$*" 1>&2; exit 1; }

echo -e "\n********************************************************************"
echo -e "WARNING: This script is deprecated and may be removed in future."
echo -e "Please use helm for installs, or refer to the docs for alternatives."
echo -e "********************************************************************\n"

[ "$#" -eq 2 ] || die "First argument must be a Linode APIv4 Personal Access Token with all permissions.
(https://cloud.linode.com/profile/tokens)

Expand Down
Loading