Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4205 from shalier/addPriorityClassNames
Browse files Browse the repository at this point in the history
feat(charts): Adding priorityClassName to the OSM deployments
  • Loading branch information
shalier authored Oct 4, 2021
2 parents ae5c9d8 + a6b59b9 commit a84e325
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/osm/templates/osm-bootstrap-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions charts/osm/templates/osm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions charts/osm/templates/osm-injector-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a84e325

Please sign in to comment.