Skip to content

Commit

Permalink
Chart: group volumes definitions
Browse files Browse the repository at this point in the history
And prepare for the upcoming 0.7.3 release.
  • Loading branch information
bpineau committed Dec 16, 2018
1 parent 28ac43f commit 4e2e2ce
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion assets/helm-chart/katafygio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: 0.7.2
appVersion: 0.7.3
description: Continuously backup Kubernetes objets as YAML files in git
name: katafygio
home: https://github.com/bpineau/katafygio
Expand Down
2 changes: 1 addition & 1 deletion assets/helm-chart/katafygio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The following table lists the configurable parameters of the Katafygio chart and
|-------------------------|-------------------------------------------------------------|--------------------------------------|
| `replicaCount` | Desired number of pods | `1` |
| `image.repository` | Katafygio container image name | `bpineau/katafygio` |
| `image.tag` | Katafygio container image tag | `v0.7.1` |
| `image.tag` | Katafygio container image tag | `v0.7.3` |
| `image.pullPolicy` | Katafygio container image pull policy | `IfNotPresent` |
| `localDir` | Container's local path where Katafygio will dump and commit | `/tmp/kf-dump` |
| `gitUrl` | Optional remote repository where changes will be pushed | `nil` |
Expand Down
19 changes: 9 additions & 10 deletions assets/helm-chart/katafygio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,20 @@ spec:
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if and .Values.gitSshKey .Values.gitUrl }}
volumes:
{{- if and .Values.gitSshKey .Values.gitUrl }}
- name: katafygio-gitssh
secret:
secretName: {{ template "katafygio.fullname" . }}
defaultMode: 256
{{- end }}
{{- end }}
- name: katafygio-data
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ .Values.persistence.existingClaim | default (include "katafygio.fullname" .) }}
{{- else }}
emptyDir: {}
{{- end -}}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
Expand All @@ -95,11 +102,3 @@ spec:
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
volumes:
- name: katafygio-data
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ .Values.persistence.existingClaim | default (include "katafygio.fullname" .) }}
{{- else }}
emptyDir: {}
{{- end -}}
2 changes: 1 addition & 1 deletion assets/helm-chart/katafygio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ serviceAccount:

image:
repository: bpineau/katafygio
tag: v0.7.2
tag: v0.7.3
pullPolicy: IfNotPresent

# resources define the deployment's cpu and memory resources.
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import "github.com/spf13/cobra"

var (
version = "0.7.1"
version = "0.7.3"

versionCmd = &cobra.Command{
Use: "version",
Expand Down

0 comments on commit 4e2e2ce

Please sign in to comment.