ceph-config-helper container image

This container builds a small image with kubectl and some other utilites for use in the ceph charts or interact with a ceph deployment.

Manual build

Ubuntu Xenial

Here are the instructions for building Xenial image:

IMAGE="ceph-config-helper"
VERSION=${VERSION:-latest}
DISTRO=${DISTRO:-ubuntu_jammy}
REGISTRY_URI=${REGISTRY_URI:-"openstackhelm/"}
EXTRA_TAG_INFO=${EXTRA_TAG_INFO:-""}
docker build -f ${IMAGE}/Dockerfile.${DISTRO} --network=host -t ${REGISTRY_URI}${IMAGE}:${VERSION}-${DISTRO}${EXTRA_TAG_INFO} ${extra_build_args} ${IMAGE}

Alternatively, this step can be performed by running the script directly:

./ceph-config-helper/build.sh

openSUSE Leap 15

To build an openSUSE leap 15 image, you can export varibles before running the build script:

DISTRO=suse_15 ./ceph-config-helper/build.sh