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 support for CRD list and read #108

Open
siaomingjeng opened this issue Jun 23, 2022 · 1 comment · May be fixed by #109
Open

Add support for CRD list and read #108

siaomingjeng opened this issue Jun 23, 2022 · 1 comment · May be fixed by #109

Comments

@siaomingjeng
Copy link
Contributor

Currently there is no support for custom resource definition.
We need at least add list and read, in order to test whether the required CRD exists for many test cases.

@siaomingjeng siaomingjeng linked a pull request Jun 23, 2022 that will close this issue
5 tasks
@siaomingjeng
Copy link
Contributor Author

siaomingjeng commented Jun 23, 2022

Anybody can help with below checks?

Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "grafana" namespace: "" from "": no matches for kind "PodSecurityPolicy" in version "extensions/v1beta1"
ensure CRDs are installed first
............Env var "SECRET_NAME" value "wrong" not matching actual "webhook-server-secret"
Env var "NOT_EXISTING" not found in actual
Failed parsing Container Env Var JSON:{"badlyformatted:}
.Annotation "checksum/config" value "wrong" not matching actual "1c42968a1b9eca0bafc3273ca39c4705fe71dc632e721db9e8ce44ab1b8e1428"
Annotation "notexists" not found in actual
Failed parsing Pod Annotations JSON:{"badlyformatted:}
.Label "app" value "wrong" not matching actual "octopus"
Label "notexists" not found in actual
Failed parsing Pod Labels JSON:{"badlyformatted:}
......s.................................
----------------------------------------------------------------------
Ran 54 tests in 0.410s

OK (skipped=1)
Name                             Stmts   Miss  Cover
----------------------------------------------------
src/KubeLibrary/KubeLibrary.py     441     66    85%
src/KubeLibrary/__init__.py          1      0   100%
src/KubeLibrary/exceptions.py        5      0   100%
src/KubeLibrary/version.py           1      0   100%
----------------------------------------------------
TOTAL                              448     66    85%
Coverage failure: total of 85 is less than fail-under=86

Exited with code exit status 2

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 a pull request may close this issue.

1 participant