Skip to content

Commit

Permalink
Backups scheduling (#98)
Browse files Browse the repository at this point in the history
* Add nodeSelector for backups from master setup

Signed-off-by: Manuel Morejon <[email protected]>

* Update changelog file

Signed-off-by: Manuel Morejon <[email protected]>
  • Loading branch information
mmorejon authored Oct 19, 2020
1 parent 2f57e6f commit 46a857e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions charts/jenkins/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Use the following links to reference issues, PRs, and commits prior to v2.6.0.

The change log until v1.5.7 was auto-generated based on git commits. Those entries include a reference to the git commit to be able to get more details.

## 2.13.2

Add nodeSelector in the backup pod
Fix tolerations in the backup pod

## 2.13.1

Update list of maintainers
Expand Down
2 changes: 1 addition & 1 deletion charts/jenkins/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: jenkins
home: https://jenkins.io/
version: 2.13.1
version: 2.13.2
appVersion: lts
description: Open source continuous integration server. It supports multiple SCM tools
including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based
Expand Down
6 changes: 5 additions & 1 deletion charts/jenkins/templates/jenkins-backup-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,12 @@ spec:
operator: In
values:
- {{ .Release.Name }}
{{- with .Values.tolerations }}
{{- with .Values.master.tolerations }}
tolerations:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.master.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}

0 comments on commit 46a857e

Please sign in to comment.