File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414limitations under the License.
1515*/}}
1616
17+ {{- if (semverCompare "<1.25.0-0" .Capabilities.KubeVersion.Version) }}
1718{{- if and .Values.rbac.create .Values.podSecurityPolicy.enabled -}}
1819{{- $useHostNetwork := .Values.daemonset.useHostNetwork -}}
1920{{- $useHostPort := .Values.daemonset.useHostPort -}}
8182 {{- toYaml . | nindent 4 }}
8283 {{- end }}
8384{{- end }}
85+ {{- end }}
Original file line number Diff line number Diff line change @@ -363,10 +363,11 @@ podSecurityContext: {}
363363# # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
364364securityContext : {}
365365# enabled: true
366+ # runAsNonRoot: true
366367# runAsUser: 1000
367368# runAsGroup: 1000
368- # allowPrivilegeEscalation: true
369- # runAsNonRoot: true
369+ # fsGroup: 1000
370+ # allowPrivilegeEscalation: false
370371# capabilities:
371372# drop:
372373# - ALL
You can’t perform that action at this time.
0 commit comments