comparison kube.py @ 295:2543a0c2b59f

upgr skaffold
author drewp@bigasterisk.com
date Tue, 07 May 2024 16:55:42 -0700
parents 7f0482453ead
children a3b7b558b9b5
comparison
equal deleted inserted replaced
294:7f0482453ead 295:2543a0c2b59f
4 from pyinfra.facts.files import FindInFile 4 from pyinfra.facts.files import FindInFile
5 from pyinfra.facts.server import Arch, LinuxDistribution 5 from pyinfra.facts.server import Arch, LinuxDistribution
6 from pyinfra.operations import files, server, systemd 6 from pyinfra.operations import files, server, systemd
7 7
8 # https://github.com/GoogleContainerTools/skaffold/releases 8 # https://github.com/GoogleContainerTools/skaffold/releases
9 skaffold_version = 'v2.10.1' 9 skaffold_version = 'v2.11.1'
10 10
11 11
12 def download_k3s(k3s_version): 12 def download_k3s(k3s_version):
13 tail = 'k3s' if host.get_fact(Arch) == 'x86_64' else 'k3s-armhf' 13 tail = 'k3s' if host.get_fact(Arch) == 'x86_64' else 'k3s-armhf'
14 if host.get_fact(Arch) == 'aarch64': 14 if host.get_fact(Arch) == 'aarch64':