Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ConfigMap tests supporting AllNamespaces and SingleNamespace install modes #256

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

kabicin
Copy link
Contributor

@kabicin kabicin commented Sep 2, 2022

Fixes #134.

Modifies fyre-e2e.sh to also run the operator in AllNamespaces and SingleNamespace install mode in addition to already running in OwnNamespace (the default behaviour), by also running scorecard Kuttl tests in the new folders, kuttl-all-namespaces and kuttl-single-namespace, respectively.

AllNamespaces and SingleNamespace need permissions to view ConfigMap resources in openshift-operators and $WEBSPHERE_LIBERTY_OPERATOR_NAMESPACE (determined when running fyre-e2e.sh) respectively, so a separate RBAC config for ClusterRole/Role permissions is provided in kuttl-rbac-watch-all.yaml and kuttl-rbac-watch-another.yaml and used for these tests only.

@kabicin kabicin changed the title Add ConfigMap tests supporting AllNamespace and SingleNamespace install modes Add ConfigMap tests supporting AllNamespaces and SingleNamespace install modes Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a test to ensure that the operator ConfigMap is created
1 participant