Skip to content

Commit

Permalink
Temporarily override the CAPI AWS provider image
Browse files Browse the repository at this point in the history
This allows OCP 4.13 clusters to work while we bump the CAPA dependency (and API version) in our code
  • Loading branch information
csrwng committed Dec 8, 2022
1 parent 8277f09 commit c5e7b02
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion hypershift-operator/main.go
Expand Up @@ -231,7 +231,14 @@ func run(ctx context.Context, opts *StartOptions, log logr.Logger) error {
HypershiftOperatorImage: operatorImage,
ReleaseProvider: &releaseinfo.RegistryMirrorProviderDecorator{
Delegate: &releaseinfo.CachedProvider{
Inner: &releaseinfo.RegistryClientProvider{},
Inner: &releaseinfo.StaticProviderDecorator{
Delegate: &releaseinfo.RegistryClientProvider{},
ComponentImages: map[string]string{
// TODO: Remove this override when we update CAPA to match the master branch of openshift/cluster-api-provider-aws
// Currently, this image points to CAPA in OCP release 4.12.0-ec.5
"aws-cluster-api-controllers": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0fe3b95dad471e6840e8f38624fcd0ee6cbc92503460fe7f3503e640e13402d3",
},
},
Cache: map[string]*releaseinfo.ReleaseImage{},
},
RegistryOverrides: opts.RegistryOverrides,
Expand Down

0 comments on commit c5e7b02

Please sign in to comment.