Skip to content

Commit e950a41

Browse files
authored
Update known latest k8s tools container tags (#1111)
* Update known latest k8s tools container tags * Fix test
1 parent ea14d2f commit e950a41

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

source/Octopus.Tentacle.Tests/Kubernetes/KubernetesPodContainerResolverTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ public async Task GetContainerImageForCluster_VersionMetadataExists_ClusterVersi
100100
result.Should().Be("octopusdeploy/kubernetes-agent-tools-base:latest");
101101
}
102102

103-
[TestCase(31, "latest")]
103+
[TestCase(34, "latest")]
104+
[TestCase(33, "1.33")]
105+
[TestCase(32, "1.32")]
106+
[TestCase(31, "1.31")]
104107
[TestCase(30, "1.30")]
105108
[TestCase(29, "1.29")]
106109
[TestCase(28, "1.28")]

source/Octopus.Tentacle/Kubernetes/KubernetesPodContainerResolver.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ public KubernetesPodContainerResolver(IKubernetesClusterService clusterService,
3232
new(1, 28),
3333
new(1, 29),
3434
new(1, 30),
35+
new(1, 31),
36+
new(1, 32),
37+
new(1, 33),
3538
};
3639

3740
public async Task<string> GetContainerImageForCluster()

0 commit comments

Comments
 (0)