Skip to content

Commit

Permalink
use redisImage instead of alpine
Browse files Browse the repository at this point in the history
In offline mode we need to define image by outselves. so we may reuse the redis image to do the cp.
  • Loading branch information
Chen.Zhidong committed May 25, 2018
1 parent bc98d8a commit 147dfaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/redisfailover/service/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func generateSentinelDeployment(rf *redisfailoverv1alpha2.RedisFailover, labels
InitContainers: []corev1.Container{
{
Name: "sentinel-config-copy",
Image: "alpine",
Image: redisImage,
ImagePullPolicy: "IfNotPresent",
VolumeMounts: []corev1.VolumeMount{
{
Expand Down

0 comments on commit 147dfaa

Please sign in to comment.