Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add priorityClassName #817

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
app: olm-operator
spec:
serviceAccountName: olm-operator-serviceaccount
{{- if and .Values.installType (eq .Values.installType "ocp") }}
priorityClassName: "system-cluster-critical"
{{- end }}
containers:
- name: olm-operator
command:
Expand Down Expand Up @@ -47,9 +50,6 @@ spec:
{{- end }}
image: {{ .Values.olm.image.ref }}
imagePullPolicy: {{ .Values.olm.image.pullPolicy }}
{{- if and .Values.installType (eq .Values.installType "ocp") }}
priorityClassName: "system-cluster-critical"
{{- end }}
ports:
- containerPort: {{ .Values.olm.service.internalPort }}
- containerPort: 8081
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
app: catalog-operator
spec:
serviceAccountName: olm-operator-serviceaccount
{{- if and .Values.installType (eq .Values.installType "ocp") }}
priorityClassName: "system-cluster-critical"
{{- end }}
containers:
- name: catalog-operator
command:
Expand Down Expand Up @@ -49,9 +52,6 @@ spec:
{{- end }}
image: {{ .Values.catalog.image.ref }}
imagePullPolicy: {{ .Values.catalog.image.pullPolicy }}
{{- if and .Values.installType (eq .Values.installType "ocp") }}
priorityClassName: "system-cluster-critical"
{{- end }}
ports:
- containerPort: {{ .Values.catalog.service.internalPort }}
- containerPort: 8081
Expand Down
6 changes: 3 additions & 3 deletions deploy/chart/templates/_packageserver.deployment-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ spec:
app: packageserver
spec:
serviceAccountName: packageserver
{{- if and .Values.installType (eq .Values.installType "ocp") }}
priorityClassName: "system-cluster-critical"
{{- end }}
{{- if .Values.package.nodeSelector }}
nodeSelector:
{{- toYaml .Values.package.nodeSelector | nindent 8 }}
Expand Down Expand Up @@ -41,9 +44,6 @@ spec:
{{- end }}
image: {{ .Values.package.image.ref }}
imagePullPolicy: {{ .Values.package.image.pullPolicy }}
{{- if and .Values.installType (eq .Values.installType "ocp") }}
priorityClassName: "system-cluster-critical"
{{- end }}
ports:
- containerPort: {{ .Values.package.service.internalPort }}
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion manifests/0000_50_olm_07-olm-operator.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
app: olm-operator
spec:
serviceAccountName: olm-operator-serviceaccount
priorityClassName: "system-cluster-critical"
containers:
- name: olm-operator
command:
Expand All @@ -31,7 +32,6 @@ spec:
- /var/run/secrets/serving-cert/tls.key
image: quay.io/operator-framework/olm@sha256:7e4b13b89b3d59876b228697bbd0c9e364fd73f946ab90308c34fd82053a5a76
imagePullPolicy: IfNotPresent
priorityClassName: "system-cluster-critical"
ports:
- containerPort: 8080
- containerPort: 8081
Expand Down
2 changes: 1 addition & 1 deletion manifests/0000_50_olm_08-catalog-operator.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
app: catalog-operator
spec:
serviceAccountName: olm-operator-serviceaccount
priorityClassName: "system-cluster-critical"
containers:
- name: catalog-operator
command:
Expand All @@ -34,7 +35,6 @@ spec:
- /var/run/secrets/serving-cert/tls.key
image: quay.io/operator-framework/olm@sha256:7e4b13b89b3d59876b228697bbd0c9e364fd73f946ab90308c34fd82053a5a76
imagePullPolicy: IfNotPresent
priorityClassName: "system-cluster-critical"
ports:
- containerPort: 8080
- containerPort: 8081
Expand Down
4 changes: 2 additions & 2 deletions manifests/0000_50_olm_11-olm-operators.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ data:
app: packageserver
spec:
serviceAccountName: packageserver
priorityClassName: "system-cluster-critical"
nodeSelector:
beta.kubernetes.io/os: linux
node-role.kubernetes.io/master: ""
Expand All @@ -102,7 +103,6 @@ data:
- openshift-operator-lifecycle-manager
image: quay.io/operator-framework/olm@sha256:7e4b13b89b3d59876b228697bbd0c9e364fd73f946ab90308c34fd82053a5a76
imagePullPolicy: IfNotPresent
priorityClassName: "system-cluster-critical"
ports:
- containerPort: 5443
livenessProbe:
Expand Down Expand Up @@ -131,4 +131,4 @@ data:
- packageName: packageserver
channels:
- name: alpha
currentCSV: packageserver.v0.9.0
currentCSV: packageserver.v0.9.0
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ spec:
app: packageserver
spec:
serviceAccountName: packageserver
priorityClassName: "system-cluster-critical"
nodeSelector:
beta.kubernetes.io/os: linux
node-role.kubernetes.io/master: ""
Expand All @@ -94,7 +95,6 @@ spec:
- openshift-operator-lifecycle-manager
image: quay.io/operator-framework/olm@sha256:7e4b13b89b3d59876b228697bbd0c9e364fd73f946ab90308c34fd82053a5a76
imagePullPolicy: IfNotPresent
priorityClassName: "system-cluster-critical"
ports:
- containerPort: 5443
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion manifests/0000_50_olm_17-packageserver.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
app: packageserver
spec:
serviceAccountName: packageserver
priorityClassName: "system-cluster-critical"
nodeSelector:
beta.kubernetes.io/os: linux
node-role.kubernetes.io/master: ""
Expand All @@ -36,7 +37,6 @@ spec:
- openshift-operator-lifecycle-manager
image: quay.io/operator-framework/olm@sha256:7e4b13b89b3d59876b228697bbd0c9e364fd73f946ab90308c34fd82053a5a76
imagePullPolicy: IfNotPresent
priorityClassName: "system-cluster-critical"
ports:
- containerPort: 5443
livenessProbe:
Expand Down