diff --git a/lib/kamal/commands/traefik.rb b/lib/kamal/commands/traefik.rb index c6ec8c8d..bb8f048b 100644 --- a/lib/kamal/commands/traefik.rb +++ b/lib/kamal/commands/traefik.rb @@ -1,7 +1,7 @@ class Kamal::Commands::Traefik < Kamal::Commands::Base delegate :argumentize, :optionize, to: Kamal::Utils - DEFAULT_IMAGE = "traefik:v2.9" + DEFAULT_IMAGE = "traefik:v2.10" CONTAINER_PORT = 80 DEFAULT_ARGS = { 'log.level' => 'DEBUG' diff --git a/test/integration/docker/deployer/app/config/deploy.yml b/test/integration/docker/deployer/app/config/deploy.yml index c1f6f7c5..baedca99 100644 --- a/test/integration/docker/deployer/app/config/deploy.yml +++ b/test/integration/docker/deployer/app/config/deploy.yml @@ -24,7 +24,7 @@ traefik: args: accesslog: true accesslog.format: json - image: registry:4443/traefik:v2.9 + image: registry:4443/traefik:v2.10 accessories: busybox: service: custom-busybox diff --git a/test/integration/docker/deployer/setup.sh b/test/integration/docker/deployer/setup.sh index a2c9c6e8..0cd511d9 100755 --- a/test/integration/docker/deployer/setup.sh +++ b/test/integration/docker/deployer/setup.sh @@ -19,7 +19,7 @@ push_image_to_registry_4443() { install_kamal push_image_to_registry_4443 nginx 1-alpine-slim -push_image_to_registry_4443 traefik v2.9 +push_image_to_registry_4443 traefik v2.10 push_image_to_registry_4443 busybox 1.36.0 # .ssh is on a shared volume that persists between runs. Clean it up as the diff --git a/test/integration/main_test.rb b/test/integration/main_test.rb index a0364fb2..856781cb 100644 --- a/test/integration/main_test.rb +++ b/test/integration/main_test.rb @@ -32,7 +32,7 @@ class MainTest < IntegrationTest assert_match /Traefik Host: vm2/, details assert_match /App Host: vm1/, details assert_match /App Host: vm2/, details - assert_match /traefik:v2.9/, details + assert_match /traefik:v2.10/, details assert_match /registry:4443\/app:#{first_version}/, details audit = kamal :audit, capture: true diff --git a/test/integration/traefik_test.rb b/test/integration/traefik_test.rb index ed8a956f..6f735612 100644 --- a/test/integration/traefik_test.rb +++ b/test/integration/traefik_test.rb @@ -52,11 +52,11 @@ class TraefikTest < IntegrationTest private def assert_traefik_running - assert_match /traefik:v2.9 "\/entrypoint.sh/, traefik_details + assert_match /traefik:v2.10 "\/entrypoint.sh/, traefik_details end def assert_traefik_not_running - refute_match /traefik:v2.9 "\/entrypoint.sh/, traefik_details + refute_match /traefik:v2.10 "\/entrypoint.sh/, traefik_details end def traefik_details