Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

[timescaledb-single] Add tolerations to patroni config update job #307

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Art3mK
Copy link

@Art3mK Art3mK commented Oct 8, 2021

This will use tolerations set for the STS to allow job pod to be scheduled on tainted nodes, in my case there is cluster, where all nodes are tainted in some way, so no tolerations on job pod will prevent its scheduling.

@CLAassistant
Copy link

CLAassistant commented Oct 8, 2021

CLA assistant check
All committers have signed the CLA.

@Art3mK
Copy link
Author

Art3mK commented Nov 26, 2021

sorry, but bump!

@@ -4,7 +4,7 @@
apiVersion: v1
name: timescaledb-single
description: 'TimescaleDB HA Deployment.'
version: 0.10.0
version: 0.10.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you trying to update the chart version? This is up to the maintainers.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not. We require chart update on each PR as mentioned in contributing doc - https://github.com/timescale/helm-charts/blob/main/CONTRIBUTING.md#technical-requirements

Comment on lines +40 to +43
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
tolerations:
{{ toYaml .Values.tolerations | nindent 8 }}

Copy link
Contributor

@agronholm agronholm Sep 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that I think about it, what happens when the list is empty? Shouldn't this block be guarded against that?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants