You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Max Erenberg 4d9f57bf1b add debug message if up-to-date 3 months ago
pkg add debug message if up-to-date 3 months ago
.gitignore edit kube-controller-manager manifest after upgrade 3 months ago
README.md add README 3 months ago
go.mod edit kube-controller-manager manifest after upgrade 3 months ago
go.sum edit kube-controller-manager manifest after upgrade 3 months ago
main.go first commit 3 months ago

README.md

cloudstack-k8s-upgrader

cloudstack-k8s-upgrader upgrades the managed CSC Kubernetes cluster in CloudStack to the next minor version whenever a new Kubernetes ISO is available.

Running the program

Make sure the following environment variables are set:

# these values must be obtained from the CloudStack web UI
export CLOUDSTACK_API_KEY=secret
export CLOUDSTACK_SECRET_KEY=secret
# name of Kubernetes cluster
export CLUSTER_NAME=Kube1
# notification emails will be sent here
export EMAIL_RECIPIENT=root@csclub.uwaterloo.ca
# path of SSH key used to SSH into VMs created in CloudStack
export SSH_KEY_PATH=~/.ssh/id_rsa_cloudstack