Skip to content

Commit 1ae7e2b

Browse files
authored
updating containerImage format in clusterserviceversion (#203)
Issue #, if available: fixes aws-controllers-k8s/community#967 Description of changes: Updating the default `containerImage` and updating the clusterserviceversion template to follow the new image repository formate. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 386373b commit 1ae7e2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/generate/olm/olm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func DefaultServiceConfig() ServiceConfig {
106106
SuggestedNamespace: "ack-system",
107107
ShortDescription: "This is the placeholder short description for the default configuration",
108108
IsCertified: false,
109-
ContainerImage: "public.ecr.aws/aws-controllers-k8s/controller",
109+
ContainerImage: "public.ecr.aws/aws-controllers-k8s/",
110110
Support: "Community",
111111
},
112112
[]Sample{},

templates/config/manifests/bases/clusterserviceversion.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
capabilities: {{.Annotations.CapabilityLevel}}
88
operatorframework.io/suggested-namespace: "ack-system"
99
repository: {{.Annotations.Repository}}
10-
containerImage: {{.Annotations.ContainerImage}}:{{.ServiceIDClean}}-v{{.Version}}
10+
containerImage: {{.Annotations.ContainerImage}}{{.ServiceIDClean}}-controller:v{{.Version}}
1111
description: {{.Annotations.ShortDescription}}
1212
createdAt: {{.CreatedAt}}
1313
support: {{.Annotations.Support}}

0 commit comments

Comments
 (0)