Skip to content

Commit

Permalink
docs: fix helm command to install starboard with conftest policies (a…
Browse files Browse the repository at this point in the history
…quasecurity#807)

Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
danielpacak authored Nov 10, 2021
1 parent 3c69491 commit d433555
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/integrations/config-checkers/conftest.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ kubectl create configmap starboard-conftest-config --namespace $STARBOARD_NAMESP
--namespace $STARBOARD_NAMESPACE --create-namespace \
--set="targetNamespaces=default" \
--set="starboard.configAuditReportsPlugin=Conftest" \
--set-file="conftest.library.kubernetes.rego=kubernetes/lib/kubernetes.rego" \
--set-file="conftest.library.utils.rego=kubernetes/lib/utils.rego" \
--set-file="conftest.library.kubernetes\.rego=kubernetes/lib/kubernetes.rego" \
--set-file="conftest.library.utils\.rego=kubernetes/lib/utils.rego" \
--set-file="conftest.policy.file_system_not_read_only.rego=kubernetes/policies/general/file_system_not_read_only.rego" \
--set-file="conftest.policy.uses_image_tag_latest.rego=kubernetes/policies/general/uses_image_tag_latest.rego" \
--set-string="conftest.policy.file_system_not_read_only.kinds=Workload" \
--set-string="conftest.policy.uses_image_tag_latest.rego=Workload"
--set-string="conftest.policy.uses_image_tag_latest.kinds=Workload"
```

To test this setup out with Starboard CLI you can create the `nginx` Deployment with the latest `nginx` image and check
Expand Down

0 comments on commit d433555

Please sign in to comment.