Skip to content

Commit

Permalink
[release/v1.59] Update AMI filter for rocky linux (#1803) (#1809)
Browse files Browse the repository at this point in the history
* [release/v1.59] Update AMI filter for rocky linux (#1803)

* pin cluster-exposer to KKP 2.25 (Go 1.22)

---------

Co-authored-by: Waleed Malik <[email protected]>
  • Loading branch information
xrstf and ahmedwaleedmalik authored Jun 5, 2024
1 parent eba98e3 commit ac3065c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions hack/ci/setup-kind-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,11 @@ if [ -z "${DISABLE_CLUSTER_EXPOSER:-}" ]; then
cd /tmp/kubermatic
echodate "Cloning cluster exposer"
KKP_REPO_URL="${KKP_REPO_URL:-https://github.com/kubermatic/kubermatic.git}"
KKP_REPO_TAG="${KKP_REPO_BRANCH:-main}"
git clone --depth 1 --branch "${KKP_REPO_TAG}" "${KKP_REPO_URL}" .
KKP_REPO_TAG="${KKP_REPO_BRANCH:-release/v2.25}"
(
set -x
git clone --depth 1 --branch "${KKP_REPO_TAG}" "${KKP_REPO_URL}" .
)

echodate "Building cluster exposer"
CGO_ENABLED=0 go build --tags ce -v -o /tmp/clusterexposer ./pkg/test/clusterexposer/cmd
Expand Down
4 changes: 2 additions & 2 deletions pkg/cloudprovider/provider/aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ var (
},
providerconfigtypes.OperatingSystemRockyLinux: {
awstypes.CPUArchitectureX86_64: {
description: "*Rocky-8-ec2-8*.x86_64",
description: "*Rocky-8-EC2-*.x86_64",
// The AWS marketplace ID from Rocky Linux Community Platform Engineering (CPE)
owner: "792107900819",
},
awstypes.CPUArchitectureARM64: {
description: "*Rocky-8-ec2-8*.aarch64",
description: "*Rocky-8-EC2-*.aarch64",
// The AWS marketplace ID from Rocky Linux Community Platform Engineering (CPE)
owner: "792107900819",
},
Expand Down

0 comments on commit ac3065c

Please sign in to comment.