Skip to content

Commit 78ac73e

Browse files
authored
Revert "fix: Add PostStart lifecycle hook to reset Redis sentinel (#1674)" (#1682)
This reverts commit 69a2076.
1 parent 15b6e62 commit 78ac73e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

controllers/argocd/statefulset.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -278,17 +278,6 @@ func (r *ReconcileArgoCD) reconcileRedisStatefulSet(cr *argoproj.ArgoCD) error {
278278
Type: "RuntimeDefault",
279279
},
280280
},
281-
Lifecycle: &corev1.Lifecycle{
282-
PostStart: &corev1.LifecycleHandler{
283-
Exec: &corev1.ExecAction{
284-
Command: []string{
285-
"/bin/sh",
286-
"-c",
287-
"sleep 30; redis-cli -p 26379 sentinel reset argocd",
288-
},
289-
},
290-
},
291-
},
292281
VolumeMounts: []corev1.VolumeMount{
293282
{
294283
MountPath: "/data",

0 commit comments

Comments
 (0)