Skip to content

Commit

Permalink
Add git config to helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Clucas committed Aug 25, 2020
1 parent ee5ef22 commit 542a0e7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/helm-chart/katafygio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: katafygio
home: https://github.com/bpineau/katafygio
sources:
- https://github.com/bpineau/katafygio
version: 0.4.3
version: 0.4.4
keywords:
- backup
- dump
Expand Down
9 changes: 9 additions & 0 deletions assets/helm-chart/katafygio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ spec:
- --exclude-object={{ . }}
{{- end }}
{{- end }}
{{- if .Values.gitAuthor }}
- --git-author={{ .Values.gitAuthor }}
{{- end }}
{{- if .Values.gitEmail }}
- --git-email={{ .Values.gitEmail }}
{{- end }}
{{- if .Values.checkInterval }}
- --check-interval={{ .Values.checkInterval }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.healthcheckPort }}
Expand Down
9 changes: 9 additions & 0 deletions assets/helm-chart/katafygio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ gitSshConfig: |
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
# gitAuthor (optional) The author name used for git commits
gitAuthor: "Katafygio"

# gitEmail (optional) The email address used for git commits
gitEmail: "katafygio@localhost"

# checkInterval (optional) How long in seconds at minimum between git commits
checkInterval: 10

# healthcheckPort is the TCP port Katafygio will listen for health check requests.
healthcheckPort: 8080

Expand Down

0 comments on commit 542a0e7

Please sign in to comment.