Skip to content

Commit

Permalink
build: export ROOK_IMAGE env variable
Browse files Browse the repository at this point in the history
Update script to export ROOK_IMAGE env variable so that
it can be updated with custom values during the build

Signed-off-by: Nikhil-Ladha <[email protected]>
  • Loading branch information
Nikhil-Ladha committed Mar 22, 2024
1 parent 356780a commit a8ec716
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export GOARCH
GOARCH=$(go env GOARCH)
DEFAULT_CSV_VERSION="4.15.0"
CSV_VERSION="${CSV_VERSION:-${DEFAULT_CSV_VERSION}}"
export ROOK_IMAGE="docker.io/rook/ceph:v1.13.0.399.g9c0d795e2"
LATEST_ROOK_IMAGE="docker.io/rook/ceph:v1.13.0.399.g9c0d795e2"
ROOK_IMAGE=${ROOK_IMAGE:-${LATEST_ROOK_IMAGE}}
DEFAULT_BUNDLE_IMAGE=rook/rook-ceph-operator-bundle:"${VERSION}"
BUNDLE_IMAGE="${BUNDLE_IMAGE:-${DEFAULT_BUNDLE_IMAGE}}"

Expand Down
2 changes: 1 addition & 1 deletion deploy/olm/assemble/metadata-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ metadata:
}
]
relatedImages:
- image: docker.io/rook/ceph:master
- image: rook/ceph:master
name: rook-container
- image: quay.io/ceph/ceph:v18.2.0
name: ceph-container
Expand Down

0 comments on commit a8ec716

Please sign in to comment.