Skip to content

Commit 0b3cb9c

Browse files
committed
Add kuttl tests for watcherapi creation from watcher top CR
After integrating watcherapi into watcher we need to validate watcherapi and the nested resources are properly created as part of the Watcher creation. Also, this patch is removing the previous kuttl scenario which created watcherapi directly without watcher top level CR.
1 parent a18e89e commit 0b3cb9c

14 files changed

+170
-116
lines changed

tests/kuttl/test-suites/default/common/deploy-with-defaults.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ metadata:
55
namespace: watcher-kuttl-default
66
spec:
77
databaseInstance: "openstack"
8+
apiContainerImageURL: "quay.io/podified-master-centos9/openstack-watcher-api:current-podified"
9+
decisionengineContainerImageURL: "quay.io/podified-master-centos9/openstack-watcher-decision-engine:current-podified"
10+
applierContainerImageURL: "quay.io/podified-master-centos9/openstack-watcher-applier:current-podified"

tests/kuttl/test-suites/default/watcher-api/00-cleanup-watcher.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/kuttl/test-suites/default/watcher-api/01-cleanup-watcherapi.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/kuttl/test-suites/default/watcher-api/02-deploy-with-defaults.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/kuttl/test-suites/default/watcher-api/03-assert.yaml

Lines changed: 0 additions & 67 deletions
This file was deleted.

tests/kuttl/test-suites/default/watcher-api/03-deploy-watcher-api.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/kuttl/test-suites/default/watcher-api/04-cleanup-watcher.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/kuttl/test-suites/default/watcher-api/05-assert.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/kuttl/test-suites/default/watcher-api/05-cleanup-watcherapi.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/kuttl/test-suites/default/watcher-api/05-errors.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)