From 783ade2e2c7d3f7d22c914d7bacd45901284512c Mon Sep 17 00:00:00 2001 From: Rishabh Raj Date: Mon, 4 Dec 2023 03:01:29 -0500 Subject: [PATCH] changes for cert-csi configurable images --- content/docs/csidriver/installation/test/certcsi.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/content/docs/csidriver/installation/test/certcsi.md b/content/docs/csidriver/installation/test/certcsi.md index aa6964e2a8..b41ed12ad2 100644 --- a/content/docs/csidriver/installation/test/certcsi.md +++ b/content/docs/csidriver/installation/test/certcsi.md @@ -631,6 +631,18 @@ Run `cert-csi test capacity-tracking -h` for more options. ```bash cert-csi test --sc --longevity ``` +### Use configurable container images + +To use custom images for creating containers pass an image config YAML file as an argument. The YAML file should have linux(test) and postgres images name with their corresponding image URL. For example + +Example: +```yaml +images: + - test: "docker.io/centos:centos7" # change this to your url + postgres: "docker.io/bitnami/postgresql:11.8.0-debian-10-r72" # change this to your url +``` +To use this feature, run cert-csi with the option `--image-config /path/to/config.yaml` along with any other arguments. + ## Kubernetes End-To-End Tests All Kubernetes end to end tests require that you provide the driver config based on the storage class you want to test and the version of the kubernetes you want to test against. These are the mandatory parameters that you can provide in command like..