Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
[logstash] disable privileged container in psp (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlrt committed Jan 12, 2021
1 parent ae168fd commit 2ce8f7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion logstash/tests/logstash_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ def test_pod_security_policy():
r["statefulset"][name]["spec"]["template"]["spec"]["serviceAccountName"] == name
)
psp_spec = r["podsecuritypolicy"][name]["spec"]
assert psp_spec["privileged"] is True
assert psp_spec["privileged"] is False


def test_external_pod_security_policy():
Expand Down
2 changes: 1 addition & 1 deletion logstash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ podSecurityPolicy:
create: false
name: ""
spec:
privileged: true
privileged: false
fsGroup:
rule: RunAsAny
runAsUser:
Expand Down

0 comments on commit 2ce8f7f

Please sign in to comment.