Skip to content
Snippets Groups Projects
Unverified Commit 2eef3e8a authored by Liz Rice's avatar Liz Rice Committed by GitHub
Browse files

Merge pull request #193 from maxbischoff/patch-1

Changed 1.1.14 to not fail when flag is not set
parents f6cab113 791fbba9
Branches
Tags
No related merge requests found
...@@ -220,12 +220,15 @@ groups: ...@@ -220,12 +220,15 @@ groups:
text: "Ensure that the admission control plugin NamespaceLifecycle is set (Scored)" text: "Ensure that the admission control plugin NamespaceLifecycle is set (Scored)"
audit: "ps -ef | grep $apiserverbin | grep -v grep" audit: "ps -ef | grep $apiserverbin | grep -v grep"
tests: tests:
bin_op: or
test_items: test_items:
- flag: "--disable-admission-plugins" - flag: "--disable-admission-plugins"
compare: compare:
op: nothave op: nothave
value: "NamespaceLifecycle" value: "NamespaceLifecycle"
set: true set: true
- flag: "--disable-admission-plugins"
set: false
remediation: | remediation: |
Edit the API server pod specification file $apiserverconf Edit the API server pod specification file $apiserverconf
on the master node and set the --disable-admission-plugins parameter to on the master node and set the --disable-admission-plugins parameter to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment