diff --git a/charts/managed-serviceaccount/templates/manager-deployment.yaml b/charts/managed-serviceaccount/templates/manager-deployment.yaml index 92a9c21..59a67eb 100644 --- a/charts/managed-serviceaccount/templates/manager-deployment.yaml +++ b/charts/managed-serviceaccount/templates/manager-deployment.yaml @@ -14,6 +14,11 @@ spec: open-cluster-management.io/addon: managed-serviceaccount spec: serviceAccount: managed-serviceaccount + securityContext: + {{- if semverCompare ">=4.11.0" .Values.hubconfig.ocpVersion }} + seccompProfile: + type: RuntimeDefault + {{- end }} containers: - name: manager image: {{ .Values.image }}:{{ .Values.tag | default (print "v" .Chart.Version) }}