mirror of https://github.com/k3s-io/k3s
715 B
715 B
Updating Salt debs
We are caching all of the salt debs in GCS for speed and reliability.
To update them, follow this simple N step process:
- Start up a new base image without salt installed. SSH into this image.
- Install salt via their recommended method:
curl -L https://bootstrap.saltstack.com | sudo sh -s -- -M -X
- Find and download the debs that originated at the saltstack.com repo:
aptitude search --disable-columns -F "%p %V" "?installed?origin(saltstack.com)" | xargs aptitude download
- Upload these to GCS:
gsutil cp *.deb gs://kubernetes-release/salt/
- Make sure that everything is publicly readable:
gsutil acl ch -R -g all:R gs://kubernetes-release/salt/
- Test things well :)