diff --git a/charts/selenium-grid/templates/_helpers.tpl b/charts/selenium-grid/templates/_helpers.tpl index b7860bb89a..92de53cabf 100644 --- a/charts/selenium-grid/templates/_helpers.tpl +++ b/charts/selenium-grid/templates/_helpers.tpl @@ -319,6 +319,9 @@ template: {{- with .node.resources }} resources: {{- toYaml . | nindent 10 }} {{- end }} + {{- with .node.securityContext }} + securityContext: {{- toYaml . | nindent 10 }} + {{- end }} {{- if .recorder.enabled }} - name: "pre-puller-{{ .recorder.name }}" image: {{ printf "%s/%s:%s" $videoImageRegistry .recorder.imageName $videoImageTag }} @@ -326,6 +329,9 @@ template: {{- with .recorder.resources }} resources: {{- toYaml . | nindent 10 }} {{- end }} + {{- with .recorder.securityContext }} + securityContext: {{- toYaml . | nindent 10 }} + {{- end }} {{- end }} {{- with .node.initContainers }} {{- toYaml . | nindent 6 }}