Skip to content

Commit 9a362c8

Browse files
authored
helm: add podAnnotations, affinity, tolerations parameterssupport (ydb-platform#192)
* helm: add podAnnotations, affinity, tolerations parameterssupport * remove extra spaces * increase chat version * helm: bump appVerison
1 parent da8e30b commit 9a362c8

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

deploy/ydb-operator/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.5.2
18+
version: 0.5.3
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "0.5.2"
24+
appVersion: "0.5.3"

deploy/ydb-operator/templates/deployment.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,23 @@ spec:
1414
metadata:
1515
labels:
1616
{{- include "ydb.selectorLabels" . | nindent 8 }}
17+
{{- with .Values.podAnnotations }}
18+
annotations:
19+
{{- toYaml . | nindent 8 }}
20+
{{- end }}
1721
spec:
1822
{{- with .Values.nodeSelector }}
1923
nodeSelector:
2024
{{- toYaml . | nindent 8 -}}
2125
{{- end }}
26+
{{ with .Values.affinity }}
27+
affinity:
28+
{{- toYaml . | nindent 8 }}
29+
{{ end }}
30+
{{ with .Values.tolerations }}
31+
tolerations:
32+
{{- toYaml . | nindent 8 }}
33+
{{- end }}
2234
containers:
2335
- args:
2436
- --health-probe-bind-address=:8081

deploy/ydb-operator/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ image:
1818
imagePullSecrets: []
1919

2020
nodeSelector: {}
21+
podAnnotations: {}
22+
affinity: {}
23+
tolerations: []
2124

2225
nameOverride: ""
2326
fullnameOverride: ""

0 commit comments

Comments
 (0)