Skip to content

Commit 98de426

Browse files
committed
helm: support tolerations (plural) and affinity in standalone deployment
1 parent a3949b0 commit 98de426

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: parseable
33
description: Parseable Helm chart - Predictive, unified observability — faster resolution, fewer escalations, happier customers.
44
type: application
5-
version: 2.7.2
5+
version: 2.7.3
66
appVersion: "v2.7.2"
77
icon: "https://raw.githubusercontent.com/parseablehq/.github/main/images/new-logo.svg"
88

helm/templates/standalone-deployment.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,12 @@ spec:
165165
nodeSelector:
166166
{{- toYaml . | nindent 8 }}
167167
{{- end }}
168-
{{- with .Values.parseable.toleration }}
168+
{{- with .Values.parseable.tolerations }}
169169
tolerations:
170170
{{- toYaml . | nindent 8 }}
171171
{{- end }}
172+
{{- with .Values.parseable.affinity }}
173+
affinity:
174+
{{- toYaml . | nindent 8 }}
175+
{{- end }}
172176
{{- end }}

helm/values.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ parseable:
159159
httpGet:
160160
path: /api/v1/readiness
161161
port: 8000
162-
toleration: []
162+
tolerations: []
163163
resources:
164164
limits:
165165
cpu: 500m
@@ -212,11 +212,9 @@ parseable:
212212
fsGroupChangePolicy: "Always"
213213
nameOverride: ""
214214
fullnameOverride: ""
215-
affinity: {}
216215
podLabels:
217216
app: parseable
218217
component: query
219-
tolerations: []
220218
## Use this section to create ServiceMonitor object for
221219
## this Parseable deployment. Read more on ServiceMonitor
222220
## here: https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.ServiceMonitor

0 commit comments

Comments
 (0)