Skip to content

Commit

Permalink
fix image url parsing
Browse files Browse the repository at this point in the history
Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
  • Loading branch information
eguzki committed Oct 21, 2024
1 parent 572beac commit cc36c18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,10 @@ bundle: manifests manifests-gen-base-csv kustomize operator-sdk ## Generate bund
$(MAKE) bundle-ignore-createdAt

bundle-operator-image-url: $(YQ) ## Read operator image reference URL from the manifest bundle.
@$(YQ) '.metadata.annotations.containerImage' bundle/manifests/dns-operator.clusterserviceversion.yaml
@$(YQ) -0 '.metadata.annotations.containerImage' bundle/manifests/dns-operator.clusterserviceversion.yaml

bundle-operator-image-tag: $(YQ) ## Read operator image reference TAG from the manifest bundle.
@$(YQ) '.metadata.annotations.containerImage | split(":") | .[1]' bundle/manifests/dns-operator.clusterserviceversion.yaml
@$(YQ) -0 '.metadata.annotations.containerImage | split(":") | .[1]' bundle/manifests/dns-operator.clusterserviceversion.yaml

# Since operator-sdk 1.26.0, `make bundle` changes the `createdAt` field from the bundle
# even if it is patched:
Expand Down

0 comments on commit cc36c18

Please sign in to comment.