From bde6d64308277c46ee02bd079d58a63bc9a0f49c Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Mon, 28 Feb 2022 11:21:49 -0700 Subject: [PATCH] build: update ceph base image to v16.2.7-20220216 The latest ceph image should be used for the base of the rook image to pick up the latest security releases. Signed-off-by: Travis Nielsen (cherry picked from commit a98678585ae6d0c169f717f31eaca3113ca5a8a6) --- Documentation/ceph-upgrade.md | 4 ++-- deploy/examples/cluster.yaml | 2 +- images/ceph/Makefile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/ceph-upgrade.md b/Documentation/ceph-upgrade.md index 7268fe110..f2e6b32d5 100644 --- a/Documentation/ceph-upgrade.md +++ b/Documentation/ceph-upgrade.md @@ -482,7 +482,7 @@ Prior to August 2021, official images were on docker.io. While those images will These images are tagged in a few ways: -* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v16.2.7-20211208`). +* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v16.2.7-20220216`). These tags are recommended for production clusters, as there is no possibility for the cluster to be heterogeneous with respect to the version of Ceph running in containers. * Ceph major version tags (e.g., `v16`) are useful for development and test clusters so that the @@ -498,7 +498,7 @@ The majority of the upgrade will be handled by the Rook operator. Begin the upgr Ceph image field in the cluster CRD (`spec.cephVersion.image`). ```sh -NEW_CEPH_IMAGE='quay.io/ceph/ceph:v16.2.7-20211208' +NEW_CEPH_IMAGE='quay.io/ceph/ceph:v16.2.7-20220216' CLUSTER_NAME="$ROOK_CLUSTER_NAMESPACE" # change if your cluster name is not the Rook namespace kubectl -n $ROOK_CLUSTER_NAMESPACE patch CephCluster $CLUSTER_NAME --type=merge -p "{\"spec\": {\"cephVersion\": {\"image\": \"$NEW_CEPH_IMAGE\"}}}" ``` diff --git a/deploy/examples/cluster.yaml b/deploy/examples/cluster.yaml index 619c8aaaf..74232aedc 100644 --- a/deploy/examples/cluster.yaml +++ b/deploy/examples/cluster.yaml @@ -19,7 +19,7 @@ spec: # v15 is octopus, and v16 is pacific. # RECOMMENDATION: In production, use a specific version tag instead of the general v14 flag, which pulls the latest release and could result in different # versions running within the cluster. See tags available at https://hub.docker.com/r/ceph/ceph/tags/. - # If you want to be more precise, you can always use a timestamp tag such quay.io/ceph/ceph:v16.2.7-20211208 + # If you want to be more precise, you can always use a timestamp tag such quay.io/ceph/ceph:v16.2.7-20220216 # This tag might not contain a new Ceph version, just security fixes from the underlying operating system, which will reduce vulnerabilities image: quay.io/ceph/ceph:v16.2.7 # Whether to allow unsupported versions of Ceph. Currently `octopus` and `pacific` are supported. diff --git a/images/ceph/Makefile b/images/ceph/Makefile index 2899ae4e4..3355b470d 100755 --- a/images/ceph/Makefile +++ b/images/ceph/Makefile @@ -18,9 +18,9 @@ include ../image.mk # Image Build Options ifeq ($(GOARCH),amd64) -CEPH_VERSION = v16.2.7-20211208 +CEPH_VERSION = v16.2.7-20220216 else -CEPH_VERSION = v16.2.7-20211208 +CEPH_VERSION = v16.2.7-20220216 endif REGISTRY_NAME = quay.io BASEIMAGE = $(REGISTRY_NAME)/ceph/ceph-$(GOARCH):$(CEPH_VERSION)