Skip to content

Commit

Permalink
Remove ImagePullPolicy from containers
Browse files Browse the repository at this point in the history
Closes #23
  • Loading branch information
nrvnrvn committed Nov 16, 2020
1 parent 549d566 commit 7d74d97
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/controller/redis/object_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ func generateStatefulSet(r *k8sv1alpha1.Redis, password string) *appsv1.Stateful
Handler: corev1.Handler{Exec: &corev1.ExecAction{Command: []string{"redis-cli", "ping"}}},
InitialDelaySeconds: r.Spec.Redis.InitialDelaySeconds,
},
ImagePullPolicy: corev1.PullAlways,
SecurityContext: r.Spec.Redis.SecurityContext,
}}

Expand Down Expand Up @@ -363,7 +362,6 @@ func generateStatefulSet(r *k8sv1alpha1.Redis, password string) *appsv1.Stateful
Resources: r.Spec.Exporter.Resources,
LivenessProbe: &corev1.Probe{Handler: corev1.Handler{HTTPGet: &corev1.HTTPGetAction{Path: "/", Port: intstr.FromInt(exporterPort)}}},
ReadinessProbe: &corev1.Probe{Handler: corev1.Handler{HTTPGet: &corev1.HTTPGetAction{Path: "/", Port: intstr.FromInt(exporterPort)}}},
ImagePullPolicy: corev1.PullAlways,
SecurityContext: r.Spec.Exporter.SecurityContext,
})

Expand Down

0 comments on commit 7d74d97

Please sign in to comment.