Skip to content

Commit f6eb4f5

Browse files
AdheipSinghparmesant
authored andcommitted
helm: support tolerations (plural) and affinity in standalone deployment (parseablehq#1669)
1 parent 0a594b0 commit f6eb4f5

3 files changed

Lines changed: 8 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: Helm chart for Parseable OSS version. Columnar data lake platform - purpose built for observability
44
type: application
5-
version: 2.8.1
5+
version: 2.8.2
66
appVersion: "v2.8.1"
77
icon: "https://raw.githubusercontent.com/parseablehq/.github/main/images/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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ parseable:
159159
httpGet:
160160
path: /api/v1/readiness
161161
port: 8000
162-
toleration: []
162+
tolerations: []
163+
affinity: {}
163164
resources:
164165
limits:
165166
cpu: 500m
@@ -212,11 +213,9 @@ parseable:
212213
fsGroupChangePolicy: "Always"
213214
nameOverride: ""
214215
fullnameOverride: ""
215-
affinity: {}
216216
podLabels:
217217
app: parseable
218218
component: query
219-
tolerations: []
220219
## Use this section to create ServiceMonitor object for
221220
## this Parseable deployment. Read more on ServiceMonitor
222221
## here: https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.ServiceMonitor

0 commit comments

Comments
 (0)