diff --git a/charts/osm/templates/osm-bootstrap-deployment.yaml b/charts/osm/templates/osm-bootstrap-deployment.yaml index 341a47fbc9..fc9c220fc7 100644 --- a/charts/osm/templates/osm-bootstrap-deployment.yaml +++ b/charts/osm/templates/osm-bootstrap-deployment.yaml @@ -24,6 +24,7 @@ spec: prometheus.io/scrape: 'true' prometheus.io/port: '9091' spec: + priorityClassName: system-node-critical serviceAccountName: {{ .Release.Name }} {{- if not (.Capabilities.APIVersions.Has "security.openshift.io/v1") }} {{- include "restricted.securityContext" . | nindent 6 }} diff --git a/charts/osm/templates/osm-deployment.yaml b/charts/osm/templates/osm-deployment.yaml index b7b297ad11..5c3a8657db 100644 --- a/charts/osm/templates/osm-deployment.yaml +++ b/charts/osm/templates/osm-deployment.yaml @@ -27,6 +27,7 @@ spec: prometheus.io/scrape: 'true' prometheus.io/port: '9091' spec: + priorityClassName: system-node-critical serviceAccountName: {{ .Release.Name }} {{- if not (.Capabilities.APIVersions.Has "security.openshift.io/v1") }} {{- include "restricted.securityContext" . | nindent 6 }} diff --git a/charts/osm/templates/osm-injector-deployment.yaml b/charts/osm/templates/osm-injector-deployment.yaml index a6370f6a68..76dd5c282a 100644 --- a/charts/osm/templates/osm-injector-deployment.yaml +++ b/charts/osm/templates/osm-injector-deployment.yaml @@ -26,6 +26,7 @@ spec: prometheus.io/scrape: 'true' prometheus.io/port: '9091' spec: + priorityClassName: system-node-critical serviceAccountName: {{ .Release.Name }} {{- if not (.Capabilities.APIVersions.Has "security.openshift.io/v1") }} {{- include "restricted.securityContext" . | nindent 6 }}