Skip to content

Commit

Permalink
Merge pull request #14 from ccremer/znapzend-args
Browse files Browse the repository at this point in the history
[znapzend] Allow to override image arguments
  • Loading branch information
ccremer authored May 1, 2020
2 parents b87dd0c + aaf6596 commit 9af5966
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion znapzend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description: Znapzend Helm Chart for automated ZFS snapshot & replication

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.3.6
version: 0.4.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
3 changes: 2 additions & 1 deletion znapzend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ znapzend
========
Znapzend Helm Chart for automated ZFS snapshot & replication

Current chart version is `0.3.6`
Current chart version is `0.4.0`



Expand Down Expand Up @@ -54,3 +54,4 @@ Current chart version is `0.3.6`
| ssh.knownHosts | string | `nil` | List of {host, pubKey} dicts where the public key of each host is configured |
| ssh.path | string | `"/root/.ssh"` | Path where your SSH config and identities get mounted in the container |
| tolerations | list | `[]` | |
| znapzend.args | list | `["znapzend","--logto=/dev/stdout","--autoCreation"]` | List of command arguments |
4 changes: 4 additions & 0 deletions znapzend/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
value: {{ $value }}
{{- end }}
{{- end }}
{{- with .Values.znapzend.args }}
args:
{{- toYaml . | nindent 12 }}
{{- end }}
livenessProbe:
exec:
command:
Expand Down
7 changes: 7 additions & 0 deletions znapzend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ serviceAccount:
# env -- A dict with KEY: VALUE pairs
env: {}

znapzend:
# znapzend.args -- List of command arguments
args:
- znapzend
- --logto=/dev/stdout
- --autoCreation

host:
# host.zfsDevice -- The device on the host which is used by the 'zfs' binary within the container
zfsDevice: /dev/zfs
Expand Down

0 comments on commit 9af5966

Please sign in to comment.