Merge pull request #16564 from rook/mergify/bp/release-1.18/pr-16563
build: Add csi operator image to images.txt (backport #16563)
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -2,6 +2,7 @@
|
||||
gcr.io/k8s-staging-sig-storage/objectstorage-sidecar:v20240513-v0.1.0-35-gefb3255
|
||||
quay.io/ceph/ceph:v19.2.3
|
||||
quay.io/ceph/cosi:v0.1.2
|
||||
quay.io/cephcsi/ceph-csi-operator:v0.4.1
|
||||
quay.io/cephcsi/cephcsi:v3.15.0
|
||||
quay.io/csiaddons/k8s-sidecar:v0.13.0
|
||||
registry.k8s.io/sig-storage/csi-attacher:v4.8.1
|
||||
|
||||
@@ -96,12 +96,12 @@ IMAGE_TMP="/tmp/rook-ceph-image-list"
|
||||
list-image: ## Create a list of images for offline installation
|
||||
@echo "producing list of images for offline installation"
|
||||
rm -f $(IMAGE_TMP)
|
||||
awk '/image:/ {print $2}' $(MANIFESTS_DIR)/operator.yaml $(MANIFESTS_DIR)/cluster.yaml | \
|
||||
awk '/image:/ {print $2}' $(MANIFESTS_DIR)/operator.yaml $(MANIFESTS_DIR)/cluster.yaml $(MANIFESTS_DIR)/csi-operator.yaml | \
|
||||
cut -d: -f2- | tee $(IMAGE_TMP)
|
||||
awk '/quay.io/ || /registry.k8s.io/ {print $3}' ../../pkg/operator/ceph/csi/spec.go | \
|
||||
cut -d= -f2- | tr -d '"' | tee -a $(IMAGE_TMP)
|
||||
awk '/quay.io/ || /gcr.io/ {print $4}' ../../pkg/operator/ceph/object/cosi/spec.go | \
|
||||
cut -d= -f2- | tr -d '"' | tee -a $(IMAGE_TMP)
|
||||
rm -f $(MANIFESTS_DIR)/images.txt
|
||||
cat $(IMAGE_TMP) | sort -h | uniq | tee $(MANIFESTS_DIR)/images.txt
|
||||
cat $(IMAGE_TMP) | sort -h | uniq | grep -v '^[[:space:]]*$$' | tee $(MANIFESTS_DIR)/images.txt
|
||||
rm -f $(IMAGE_TMP)
|
||||
Reference in new issue
Block a user