Skip to content

Commit 5ed601a

Browse files
authored
chore: Add value for priorityClassName to helm chart (#4317)
1 parent 73a5c80 commit 5ed601a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

operations/pyroscope/helm/pyroscope/templates/deployments-statefulsets.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ spec:
149149
tolerations:
150150
{{- toYaml . | nindent 8 }}
151151
{{- end }}
152+
{{- if hasKey $values "priorityClassName" }}
153+
priorityClassName: {{ $values.priorityClassName | quote }}
154+
{{- end }}
152155
{{- if $values.terminationGracePeriodSeconds }}
153156
terminationGracePeriodSeconds: {{ $values.terminationGracePeriodSeconds }}
154157
{{- end }}

operations/pyroscope/helm/pyroscope/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ pyroscope:
145145

146146
affinity: {}
147147

148+
# Override the PodPriorityClass
149+
# priorityClassName: high
150+
148151
# run specific components separately
149152
components: {}
150153

0 commit comments

Comments
 (0)