Skip to content

Commit 469ac86

Browse files
author
Mike Ludwig
committed
add seccomp profile for invoker
1 parent c568e23 commit 469ac86

File tree

3 files changed

+466
-2
lines changed

3 files changed

+466
-2
lines changed

helm/openwhisk/templates/invoker-pod.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ spec:
4343
labels:
4444
name: {{ .Release.Name }}-invoker
4545
{{ include "openwhisk.label_boilerplate" . | indent 8 }}
46-
47-
{{- if .Values.metrics.prometheusEnabled }}
4846
annotations:
47+
{{- if .Values.metrics.prometheusEnabled }}
4948
prometheus.io/scrape: 'true'
5049
prometheus.io/port: '{{ .Values.invoker.port }}'
5150
{{- end }}
51+
{{- if .Values.invoker.secure }}
52+
seccomp.security.alpha.kubernetes.io/pod: localhost/invoker.json
53+
{{- end }}
5254

5355
spec:
5456
{{- if eq .Values.invoker.containerFactory.impl "kubernetes" }}

0 commit comments

Comments
 (0)