Skip to content

Commit b6a2e20

Browse files
authored
Add support for tolerations in helm chart (#44)
Signed-off-by: Karl Taylor <[email protected]>
1 parent d7df06f commit b6a2e20

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

helm/argocd-rbac-operator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ After the deletion of the Role or RoleBinding, the Role will also be deleted in
282282
| namespace.create | bool | `true` | |
283283
| namespace.nameOverride | string | `""` | |
284284
| nodeSelector | object | `{}` | |
285+
| tolerations | object | `[]` | |
285286
| readinessProbe.httpGet.path | string | `"/readyz"` | |
286287
| readinessProbe.httpGet.port | int | `8081` | |
287288
| readinessProbe.initialDelaySeconds | int | `5` | |

helm/argocd-rbac-operator/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ spec:
4242
nodeSelector:
4343
{{- toYaml . | nindent 8 }}
4444
{{- end }}
45+
{{- with .Values.tolerations }}
46+
tolerations:
47+
{{- toYaml . | nindent 8 }}
48+
{{- end }}
4549
terminationGracePeriodSeconds: 10
4650
serviceAccountName: {{ include "argocd-rbac-operator.serviceAccountName" . }}
4751
containers:

helm/argocd-rbac-operator/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,5 @@ readinessProbe:
7575
periodSeconds: 10
7676

7777
nodeSelector: {}
78+
79+
tolerations: []

0 commit comments

Comments
 (0)