Skip to content

Commit

Permalink
Make use tags default to true for couchdb (#152)
Browse files Browse the repository at this point in the history
#148

---------

Signed-off-by: shoaebjindani <[email protected]>
Co-authored-by: Shoaeb Jindani <[email protected]>
  • Loading branch information
shoaebjindani and Shoaeb Jindani authored Nov 28, 2023
1 parent 1fbf12d commit bda3480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/offering/base/console/override/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (o *Override) CommonDeployment(instance *current.IBPConsole, deployment *de
}

couchdbImage = image.GetImage(registryURL, defaultimage.CouchDBImage, images.CouchDBImage)
if instance.Spec.UseTags != nil && *(instance.Spec.UseTags) {
if instance.Spec.UseTags == nil || *(instance.Spec.UseTags) == true {
couchdbTag = image.GetTag(arch, defaultimage.CouchDBTag, images.CouchDBTag)
} else {
couchdbTag = image.GetTag(arch, defaultimage.CouchDBDigest, images.CouchDBDigest)
Expand Down

0 comments on commit bda3480

Please sign in to comment.