Files
Néstor Salceda b5bd582e6a [stable/sysdig] Use app.kubernetes.io labels instead of custom ones (#22022)
* [stable/sysdig] Use app.kubernetes.io labels instead of custom ones

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* [stable/sysdig] Bump chart version

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2020-04-20 07:07:39 -07:00

25 lines
621 B
YAML

{{- if and .Values.auditLog.enabled .Values.auditLog.dynamicBackend.enabled }}
apiVersion: auditregistration.k8s.io/v1alpha1
kind: AuditSink
metadata:
name: {{ template "sysdig.fullname" . }}
labels:
{{ include "sysdig.labels" . | indent 4 }}
spec:
policy:
level: RequestResponse
stages:
- ResponseComplete
- ResponseStarted
webhook:
throttle:
qps: 10
burst: 15
clientConfig:
service:
namespace: {{ .Release.Namespace }}
name: {{ template "sysdig.fullname" . }}
port: {{ .Values.auditLog.auditServerPort }}
path: /k8s_audit
{{- end }}