This repository hosts tests for kubeaddons repositories.
The intention of this repo is to keep kubeaddons repositories clean of any overhead that might break the catalog integration.
- Clone this repo inside the repository
- Run kubeaddons-tests/run-tests.sh
make kind-test TESTING_BRANCH=dev KUBEADDONS_REPO=kubeaddons-enterprise
The above command will clone the git branch dev
of kubeaddons-enterprise
in local path and
run the tests for all addons using a kind cluster.
Add addon tests in the respective kubeaddons-repository directory:
kubernetes-base-addons
,
kubeaddons-enterprise
,
etc.
For example to add tests for cassandra 0.x
addon in the kubeaddons-enterprise
repo, add the kuttl based steps with a directory structure like:
└── tests
└── kubeaddons-enterprise
└── addons
├── cassandra
├── 0.x
└── cassandra-install-0-x
├── 00-assert.yaml
├── 00-install.yaml
├── 01-assert.yaml
└── 01-update.yaml