Skip to content

Commit 500d176

Browse files
author
Mike Ludwig
committed
add controller seccomp profile
1 parent 78c2dfa commit 500d176

File tree

2 files changed

+422
-1
lines changed

2 files changed

+422
-1
lines changed

helm/openwhisk/templates/controller-pod.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,14 @@ spec:
3535
name: {{ .Release.Name }}-controller
3636
{{ include "openwhisk.label_boilerplate" . | indent 8 }}
3737

38-
{{- if .Values.metrics.prometheusEnabled }}
3938
annotations:
39+
{{- if .Values.metrics.prometheusEnabled }}
4040
prometheus.io/scrape: 'true'
4141
prometheus.io/port: '{{ .Values.controller.port }}'
4242
{{- end }}
43+
{{- if .Values.controller.secure }}
44+
seccomp.security.alpha.kubernetes.io/pod: localhost/controller.json
45+
{{- end }}
4346

4447
spec:
4548
serviceAccountName: {{ .Release.Name }}-core

0 commit comments

Comments
 (0)