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 tests for trustee-operator #34

Open
bpradipt opened this issue Jun 27, 2024 · 3 comments
Open

Add tests for trustee-operator #34

bpradipt opened this issue Jun 27, 2024 · 3 comments

Comments

@bpradipt
Copy link
Member

At least the following initial tests will be needed

  • operator install and uninstall
  • Trustee CRD creation, deletion
  • secret release
  • policy check (deny secret release due to policy deny)
  • policy check (allow secret release due to policy allow)
  • Update config, secret or policy via modifying the related K8s resources and verifying the update is reflected in the Trustee components
  • scaling trustee pods and verifying secret release, policy checks, config updatesetc
lmilleri pushed a commit to lmilleri/trustee-operator that referenced this issue Sep 2, 2024
@sarroutbi
Copy link

sarroutbi commented Nov 28, 2024

Hello @bpradipt ... when referring to tests ... do you mean a GH action to perform the different proposals?

In https://github.com/latchset/tang-operator (https://github.com/latchset/tang-operator/blob/main/.github/workflows/deploy.yaml) we had some tests where the operator was installed and uninstalled through operator-sdk ... is this the proposal?

@bpradipt
Copy link
Member Author

bpradipt commented Dec 4, 2024

@sarroutbi right. A basic test framework based on kuttl is added as part of GH action.

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

No branches or pull requests

2 participants