WIP: E2E test for VM that checks policy and risk#184
Conversation
|
Tag for build #204253 is 💻 For deploying this image using the dev scripts, run the following first: export MAIN_IMAGE_TAG='3.68.x-189-gb80cf4cba2'📦 You can also generate an installation bundle with: docker run -i --rm stackrox/main:3.68.x-189-gb80cf4cba2 central generate interactive > bundle.zip🕹️ A |
931a86e to
598f2c6
Compare
There was a problem hiding this comment.
assert here to see if the approval went thru
There was a problem hiding this comment.
It's not necessary. The test above checks it already and it's implicitly checked because otherwise the policy would be triggered.
There was a problem hiding this comment.
Is this matching the namespace in which the deployment is being created?
There was a problem hiding this comment.
I think the deployment is created in default namespace, but the policy is scoped to qa namespace.
There was a problem hiding this comment.
It gets created in qa by default which is what that const evaluates to:
$ kubectl get pods -n=qa -w
NAME READY STATUS RESTARTS AGE
vulnerable-deploy-58ff9487b6-84llt 1/1 Running 0 65s
598f2c6 to
79ee0b4
Compare
f3c103e to
5b2390f
Compare
6da86e1 to
b1690dc
Compare
25542b3 to
5ac3808
Compare
8fdd7f3 to
b40a833
Compare
4585e03 to
1f6ec50
Compare
7455c5b to
30e6cd3
Compare
5a21eb1 to
be7cf75
Compare
be7cf75 to
2b6f0ce
Compare
a67b940 to
2f72b39
Compare
2f72b39 to
b80cf4c
Compare
|
@theencee: PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@theencee: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist
If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why you did not do so. (Valid reasons include "CI is sufficient" or "No testable changes")
In addition to reviewing your code, reviewers must also review your testing instructions, and make sure they are sufficient.
For more details, ref the Confluence page about this section.