-
Notifications
You must be signed in to change notification settings - Fork 706
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
Fix manual remediation for SPO rule #12315
Fix manual remediation for SPO rule #12315
Conversation
/test 4.16-e2e-aws-ocp4-pci-dss-4-0 |
🤖 A k8s content image for this PR is available at: Click here to see how to deploy itIf you alread have Compliance Operator deployed: Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and: |
Looks like we need another fix for the remediation:
|
Well, that is weird, the file exists... |
/test 4.16-e2e-aws-ocp4-pci-dss-4-0 |
I don't see it in that directory.
https://github.com/ComplianceAsCode/content/tree/master/ocp-resources/e2e shows some of the other files we rely on - but it looks like we forgot to add |
No way!
|
We have a manual remediation for installing SPO, but it was failing in our e2e suite with the following error: fork/exec /go/src/github.com/ComplianceAsCode/content/applications/openshift/confinement/security_profiles_operator_exists/tests/ocp4/e2e-remediation.sh: permission denied This commit updates the script so that it's executable and doesn't fail when applied.
213450e
to
a9231d7
Compare
Rebased to pickup #12317 |
/test 4.16-e2e-aws-ocp4-pci-dss-4-0 |
/test 4.16-e2e-aws-ocp4-pci-dss-4-0 |
Looks like the deployment times out, causing the manual remediation to fail.
|
The subscription name was wrong, 🤦 . |
/test 4.16-e2e-aws-ocp4-pci-dss-4-0 |
Code Climate has analyzed commit 7d1a1c7 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 59.4% (0.0% change). View more on Code Climate. |
Cool - this worked as expected in the e2e tests for PCI-DSS v4.0:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
We have a manual remediation for installing SPO, but it was failing
in our e2e suite with the following error:
fork/exec /go/src/github.com/ComplianceAsCode/content/applications/openshift/confinement/security_profiles_operator_exists/tests/ocp4/e2e-remediation.sh: permission denied
This commit updates the script so that it's executable and doesn't fail
when applied.