Skip to content

Commit

Permalink
Update Kanister-tools image (#3463)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavannd1 authored and Ilya Kislenko committed Jul 20, 2018
1 parent 7c726f5 commit 2679620
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ Example:
args:
namespace: "{{ .Deployment.Namespace }}"
pod: "{{ index .Deployment.Pods 0 }}"
image: kanisterio/kanister-tools:0.0.1
image: kanisterio/kanister-tools:0.10.0
backupArtifact: s3://bucket/path/artifact
restorePath: /mnt/data
Expand Down
2 changes: 1 addition & 1 deletion examples/time-log/blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ actions:
args:
namespace: "{{ .Deployment.Namespace }}"
pod: "{{ index .Deployment.Pods 0 }}"
image: kanisterio/kanister-tools:0.0.1
image: kanisterio/kanister-tools:0.10.0
backupArtifact: "{{ .ArtifactsIn.timeLog.KeyValue.path }}"
restorePath: /var/log
- func: ScaleWorkload
Expand Down
2 changes: 1 addition & 1 deletion examples/time-log/time-logger-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
spec:
containers:
- name: test-container
image: kanisterio/kanister-tools:0.0.1
image: kanisterio/kanister-tools:0.10.0
command: ["sh", "-c"]
args: ["while true; do for x in $(seq 1200); do date >> /var/log/time.log; sleep 1; done; truncate /var/log/time.log --size 0; done"]
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion pkg/function/delete_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (*deleteDataFunc) Exec(ctx context.Context, tp param.TemplateParams, args m
// Generate delete command
cmd := generateDeleteCommand(artifact, tp.Profile)
// Use KubeTask to delete the artifact
return kubeTask(ctx, namespace, "kanisterio/kanister-tools:0.0.1", cmd)
return kubeTask(ctx, namespace, "kanisterio/kanister-tools:0.10.0", cmd)
}

func (*deleteDataFunc) RequiredArgs() []string {
Expand Down

0 comments on commit 2679620

Please sign in to comment.