mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
falco - add psp configuration capabilities (#14813)
Signed-off-by: Maxime VISONNEAU <maxime.visonneau@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c6ebf49b94
commit
d98f440b68
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: falco
|
||||
version: 0.7.10
|
||||
version: 0.8.0
|
||||
appVersion: 0.15.3
|
||||
description: Falco
|
||||
keywords:
|
||||
|
||||
@@ -62,6 +62,7 @@ The following table lists the configurable parameters of the Falco chart and the
|
||||
| `fakeEventGenerator.enabled` | Run falco-event-generator for sample events | `false` |
|
||||
| `fakeEventGenerator.replicas` | How many replicas of falco-event-generator to run | `1` |
|
||||
| `daemonset.updateStrategy.type` | The updateStrategy for updating the daemonset | `RollingUpdate` |
|
||||
| `podSecurityPolicy.create` | If true, create & use podSecurityPolicy | `false` |
|
||||
| `proxy.httpProxy` | Set the Proxy server if is behind a firewall | `` |
|
||||
| `proxy.httpsProxy` | Set the Proxy server if is behind a firewall | `` |
|
||||
| `proxy.noProxy` | Set the Proxy server if is behind a firewall | `` |
|
||||
|
||||
@@ -29,4 +29,14 @@ rules:
|
||||
- /healthz/*
|
||||
verbs:
|
||||
- get
|
||||
{{- if .Values.podSecurityPolicy.create }}
|
||||
- apiGroups:
|
||||
- extensions
|
||||
resources:
|
||||
- podsecuritypolicies
|
||||
resourceNames:
|
||||
- {{ template "falco.fullname" . }}
|
||||
verbs:
|
||||
- use
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{{- if .Values.podSecurityPolicy.create}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: PodSecurityPolicy
|
||||
metadata:
|
||||
name: {{ template "falco.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "falco.fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
spec:
|
||||
privileged: true
|
||||
hostNetwork: true
|
||||
allowedCapabilities: ['*']
|
||||
fsGroup:
|
||||
rule: RunAsAny
|
||||
runAsUser:
|
||||
rule: RunAsAny
|
||||
seLinux:
|
||||
rule: RunAsAny
|
||||
supplementalGroups:
|
||||
rule: RunAsAny
|
||||
volumes: ['*']
|
||||
{{- end }}
|
||||
@@ -31,6 +31,10 @@ rbac:
|
||||
# Create and use rbac resources
|
||||
create: true
|
||||
|
||||
podSecurityPolicy:
|
||||
# Create a podSecurityPolicy
|
||||
create: false
|
||||
|
||||
serviceAccount:
|
||||
# Create and use serviceAccount resources
|
||||
create: true
|
||||
|
||||
Reference in New Issue
Block a user