multi-operator-manager

module
v0.0.0-...-03f3e0b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0

README

Multi-Operator-Manager

Building

  • make build

Testing your compatible operator

./multi-operator-manager test apply-configuration --test-dir=./test-data/apply-configuration/ --output-dir=./test-output --preserve-policy=KeepAlways

The ./test-output directory will be created and a junit.xml inside will summarize the results.

Defining a test

An example is contained in test-data. You can organize your tests however you wish, but every directory with a test.yaml is considered a test and must have an input-dir and an expected-output dir.

TODO probably allow missing to mean no output. It's painful otherwise.

Testing this repo

make test-operator-integration will run the sample-operator against the local test data here.

test.yaml

This repo contains examples, but to test your operator the operator binary name must be present.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL