Skip to content

Commit ae9b48f

Browse files
committed
fix: Correct key settings.allowPrivilegeEscalation
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
1 parent 97bbff0 commit ae9b48f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/kubewarden-defaults/questions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ questions:
5151
Number of replicas of the PolicyServer Deployment
5252
group: "Default PolicyServer HA"
5353
# no-privilege-escalation policy settings
54-
- variable: recommendedPolicies.allowPrivilegeEscalationPolicy.settings.default_allow_privilege_escalation
54+
- variable: recommendedPolicies.allowPrivilegeEscalationPolicy.settings.allowPrivilegeEscalation
5555
description: >-
5656
This policy works by inspecting the containers and init containers of a Pod.
5757
If any of these containers have `allowPrivilegeEscalation` enabled, the Pod

charts/kubewarden-defaults/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ recommendedPolicies:
135135
tag: v0.2.6
136136
name: "no-privilege-escalation"
137137
settings:
138-
default_allow_privilege_escalation: false
138+
allowPrivilegeEscalation: false
139139
hostNamespacePolicy:
140140
module:
141141
repository: "kubewarden/policies/host-namespaces-psp"

0 commit comments

Comments
 (0)