Skip to content

Commit

Permalink
Add image repo prefix field for AWS upgrader project (#7103)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhay-krishna authored Nov 28, 2023
1 parent 4922ca1 commit e30828c
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 65 deletions.
1 change: 1 addition & 0 deletions release/cli/pkg/assets/config/bundle_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,7 @@ var bundleReleaseAssetsConfigMap = []assettypes.AssetConfig{
},
},
},
ImageRepoPrefix: "aws",
ImageTagOptions: []string{
"eksDReleaseChannel",
"eksDReleaseNumber",
Expand Down
70 changes: 35 additions & 35 deletions release/cli/pkg/test/testdata/main-bundle-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/image-builder/v0.3.1/image-builder-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/image-builder/v0.3.2/image-builder-v0.0.0-dev-build.0-linux-amd64.tar.gz
kindNode:
arch:
- amd64
Expand Down Expand Up @@ -759,7 +759,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: upgrader
os: linux
uri: public.ecr.aws/release-container-registry/upgrader:v1-24-30-eks-a-v0.0.0-dev-build.1
uri: public.ecr.aws/release-container-registry/aws/upgrader:v1-24-30-eks-a-v0.0.0-dev-build.1
vSphere:
clusterAPIController:
arch:
Expand All @@ -769,11 +769,11 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: cluster-api-provider-vsphere
os: linux
uri: public.ecr.aws/release-container-registry/kubernetes-sigs/cluster-api-provider-vsphere/release/manager:v1.7.0-eks-a-v0.0.0-dev-build.1
uri: public.ecr.aws/release-container-registry/kubernetes-sigs/cluster-api-provider-vsphere/release/manager:v1.7.4-eks-a-v0.0.0-dev-build.1
clusterTemplate:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/cluster-template.yaml
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/cluster-template.yaml
components:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/infrastructure-components.yaml
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/infrastructure-components.yaml
kubeProxy:
arch:
- amd64
Expand Down Expand Up @@ -802,8 +802,8 @@ spec:
os: linux
uri: public.ecr.aws/release-container-registry/kubernetes/cloud-provider-vsphere/cpi/manager:v1.24.4-eks-d-1-24-eks-a-v0.0.0-dev-build.1
metadata:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/metadata.yaml
version: v1.7.0+abcdef1
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/metadata.yaml
version: v1.7.4+abcdef1
- bootstrap:
components:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api/manifests/bootstrap-kubeadm/v1.5.3/bootstrap-components.yaml
Expand Down Expand Up @@ -1076,7 +1076,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/image-builder/v0.3.1/image-builder-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/image-builder/v0.3.2/image-builder-v0.0.0-dev-build.0-linux-amd64.tar.gz
kindNode:
arch:
- amd64
Expand Down Expand Up @@ -1528,7 +1528,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: upgrader
os: linux
uri: public.ecr.aws/release-container-registry/upgrader:v1-25-26-eks-a-v0.0.0-dev-build.1
uri: public.ecr.aws/release-container-registry/aws/upgrader:v1-25-26-eks-a-v0.0.0-dev-build.1
vSphere:
clusterAPIController:
arch:
Expand All @@ -1538,11 +1538,11 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: cluster-api-provider-vsphere
os: linux
uri: public.ecr.aws/release-container-registry/kubernetes-sigs/cluster-api-provider-vsphere/release/manager:v1.7.0-eks-a-v0.0.0-dev-build.1
uri: public.ecr.aws/release-container-registry/kubernetes-sigs/cluster-api-provider-vsphere/release/manager:v1.7.4-eks-a-v0.0.0-dev-build.1
clusterTemplate:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/cluster-template.yaml
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/cluster-template.yaml
components:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/infrastructure-components.yaml
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/infrastructure-components.yaml
kubeProxy:
arch:
- amd64
Expand Down Expand Up @@ -1571,8 +1571,8 @@ spec:
os: linux
uri: public.ecr.aws/release-container-registry/kubernetes/cloud-provider-vsphere/cpi/manager:v1.25.1-eks-d-1-25-eks-a-v0.0.0-dev-build.1
metadata:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/metadata.yaml
version: v1.7.0+abcdef1
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/metadata.yaml
version: v1.7.4+abcdef1
- bootstrap:
components:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api/manifests/bootstrap-kubeadm/v1.5.3/bootstrap-components.yaml
Expand Down Expand Up @@ -1845,7 +1845,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/image-builder/v0.3.1/image-builder-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/image-builder/v0.3.2/image-builder-v0.0.0-dev-build.0-linux-amd64.tar.gz
kindNode:
arch:
- amd64
Expand Down Expand Up @@ -2297,7 +2297,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: upgrader
os: linux
uri: public.ecr.aws/release-container-registry/upgrader:v1-26-22-eks-a-v0.0.0-dev-build.1
uri: public.ecr.aws/release-container-registry/aws/upgrader:v1-26-22-eks-a-v0.0.0-dev-build.1
vSphere:
clusterAPIController:
arch:
Expand All @@ -2307,11 +2307,11 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: cluster-api-provider-vsphere
os: linux
uri: public.ecr.aws/release-container-registry/kubernetes-sigs/cluster-api-provider-vsphere/release/manager:v1.7.0-eks-a-v0.0.0-dev-build.1
uri: public.ecr.aws/release-container-registry/kubernetes-sigs/cluster-api-provider-vsphere/release/manager:v1.7.4-eks-a-v0.0.0-dev-build.1
clusterTemplate:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/cluster-template.yaml
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/cluster-template.yaml
components:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/infrastructure-components.yaml
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/infrastructure-components.yaml
kubeProxy:
arch:
- amd64
Expand Down Expand Up @@ -2340,8 +2340,8 @@ spec:
os: linux
uri: public.ecr.aws/release-container-registry/kubernetes/cloud-provider-vsphere/cpi/manager:v1.26.0-eks-d-1-26-eks-a-v0.0.0-dev-build.1
metadata:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/metadata.yaml
version: v1.7.0+abcdef1
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/metadata.yaml
version: v1.7.4+abcdef1
- bootstrap:
components:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api/manifests/bootstrap-kubeadm/v1.5.3/bootstrap-components.yaml
Expand Down Expand Up @@ -2614,7 +2614,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/image-builder/v0.3.1/image-builder-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/image-builder/v0.3.2/image-builder-v0.0.0-dev-build.0-linux-amd64.tar.gz
kindNode:
arch:
- amd64
Expand Down Expand Up @@ -3066,7 +3066,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: upgrader
os: linux
uri: public.ecr.aws/release-container-registry/upgrader:v1-27-16-eks-a-v0.0.0-dev-build.1
uri: public.ecr.aws/release-container-registry/aws/upgrader:v1-27-16-eks-a-v0.0.0-dev-build.1
vSphere:
clusterAPIController:
arch:
Expand All @@ -3076,11 +3076,11 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: cluster-api-provider-vsphere
os: linux
uri: public.ecr.aws/release-container-registry/kubernetes-sigs/cluster-api-provider-vsphere/release/manager:v1.7.0-eks-a-v0.0.0-dev-build.1
uri: public.ecr.aws/release-container-registry/kubernetes-sigs/cluster-api-provider-vsphere/release/manager:v1.7.4-eks-a-v0.0.0-dev-build.1
clusterTemplate:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/cluster-template.yaml
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/cluster-template.yaml
components:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/infrastructure-components.yaml
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/infrastructure-components.yaml
kubeProxy:
arch:
- amd64
Expand Down Expand Up @@ -3109,8 +3109,8 @@ spec:
os: linux
uri: public.ecr.aws/release-container-registry/kubernetes/cloud-provider-vsphere/cpi/manager:v1.27.0-eks-d-1-27-eks-a-v0.0.0-dev-build.1
metadata:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/metadata.yaml
version: v1.7.0+abcdef1
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/metadata.yaml
version: v1.7.4+abcdef1
- bootstrap:
components:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api/manifests/bootstrap-kubeadm/v1.5.3/bootstrap-components.yaml
Expand Down Expand Up @@ -3383,7 +3383,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/image-builder/v0.3.1/image-builder-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/image-builder/v0.3.2/image-builder-v0.0.0-dev-build.0-linux-amd64.tar.gz
kindNode:
arch:
- amd64
Expand Down Expand Up @@ -3835,7 +3835,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: upgrader
os: linux
uri: public.ecr.aws/release-container-registry/upgrader:v1-28-9-eks-a-v0.0.0-dev-build.1
uri: public.ecr.aws/release-container-registry/aws/upgrader:v1-28-9-eks-a-v0.0.0-dev-build.1
vSphere:
clusterAPIController:
arch:
Expand All @@ -3845,11 +3845,11 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: cluster-api-provider-vsphere
os: linux
uri: public.ecr.aws/release-container-registry/kubernetes-sigs/cluster-api-provider-vsphere/release/manager:v1.7.0-eks-a-v0.0.0-dev-build.1
uri: public.ecr.aws/release-container-registry/kubernetes-sigs/cluster-api-provider-vsphere/release/manager:v1.7.4-eks-a-v0.0.0-dev-build.1
clusterTemplate:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/cluster-template.yaml
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/cluster-template.yaml
components:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/infrastructure-components.yaml
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/infrastructure-components.yaml
kubeProxy:
arch:
- amd64
Expand Down Expand Up @@ -3878,6 +3878,6 @@ spec:
os: linux
uri: public.ecr.aws/release-container-registry/kubernetes/cloud-provider-vsphere/cpi/manager:v1.28.0-eks-d-1-28-eks-a-v0.0.0-dev-build.1
metadata:
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.0/metadata.yaml
version: v1.7.0+abcdef1
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/cluster-api-provider-vsphere/manifests/infrastructure-vsphere/v1.7.4/metadata.yaml
version: v1.7.4+abcdef1
status: {}
Loading

0 comments on commit e30828c

Please sign in to comment.