Skip to content

Commit

Permalink
fix(tools): set default helper pod image to latest (#1538)
Browse files Browse the repository at this point in the history
Helper pods are used to run tasks like:
- cleaning up of jiva files after jiva PV is deleted or
- create or remove host path directories for hostpath Local PV.

The container image was fixed to a specific version, which
resulted in new version of OpenEBS still using a older helper
pod image that potentially can have some security vulnerabilities.

Changed the default image to use the latest tag, which will be
built at the time of release.

Also, user can always override this default image by passing
in their custom image via the ENV/helm values or StorageClass
annotations.

Signed-off-by: kmova <[email protected]>
  • Loading branch information
kmova authored and vishnuitta committed Nov 29, 2019
1 parent ee6e765 commit 4739e54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/provisioner-localpv/app/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const (
)

var (
defaultHelperImage = "quay.io/openebs/openebs-tools:3.8"
defaultHelperImage = "quay.io/openebs/linux-utils:latest"
defaultBasePath = "/var/openebs/local"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/install/v1alpha1/jiva_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ spec:
- name: OpenEBSNamespace
value: {{env "OPENEBS_NAMESPACE"}}
- name: ScrubImage
value: "quay.io/openebs/openebs-tools:3.8"
value: "quay.io/openebs/linux-utils:latest"
# RetainReplicaData specifies whether jiva replica data folder
# should be cleared or retained.
- name: RetainReplicaData
Expand Down

0 comments on commit 4739e54

Please sign in to comment.