diff --git a/cmd/k8s-operator/deploy/chart/templates/deployment.yaml b/cmd/k8s-operator/deploy/chart/templates/deployment.yaml index fc39baff1..a451cf27f 100644 --- a/cmd/k8s-operator/deploy/chart/templates/deployment.yaml +++ b/cmd/k8s-operator/deploy/chart/templates/deployment.yaml @@ -29,7 +29,7 @@ spec: serviceAccountName: operator {{- with .Values.operatorConfig.podSecurityContext }} securityContext: - {{- toYaml .Values.operatorConfig.podSecurityContext | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} volumes: - name: oauth