@@ -73,6 +73,7 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
7373 {Name : "tls-certs" , MountPath : "/app/config/tls" },
7474 {Name : "argocd-repo-server-tls" , MountPath : "/app/config/server/tls" },
7575 {Name : "argocd-operator-redis-tls" , MountPath : "/app/config/server/tls/redis" },
76+ {Name : "redis-initial-pass" , MountPath : "/app/config/redis-auth/" },
7677 {Name : "plugins-home" , MountPath : "/home/argocd" },
7778 {Name : "argocd-cmd-params-cm" , MountPath : "/home/argocd/params" },
7879 {Name : "tmp" , MountPath : "/tmp" },
@@ -111,6 +112,19 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
111112 },
112113 },
113114 },
115+ {
116+ Name : "redis-initial-pass" ,
117+ VolumeSource : corev1.VolumeSource {
118+ Secret : & corev1.SecretVolumeSource {
119+ SecretName : "argocd-redis-initial-password" ,
120+ DefaultMode : ptr .To (int32 (420 )),
121+ Items : []corev1.KeyToPath {
122+ {Key : "auth" , Path : "auth" },
123+ {Key : "auth_username" , Path : "auth_username" },
124+ },
125+ },
126+ },
127+ },
114128 {
115129 Name : "plugins-home" , VolumeSource : corev1.VolumeSource {
116130 EmptyDir : & corev1.EmptyDirVolumeSource {},
@@ -144,6 +158,7 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
144158 {Name : "gpg-keyring" , MountPath : "/app/config/gpg/keys" },
145159 {Name : "argocd-repo-server-tls" , MountPath : "/app/config/reposerver/tls" },
146160 {Name : "argocd-operator-redis-tls" , MountPath : "/app/config/reposerver/tls/redis" },
161+ {Name : "redis-initial-pass" , MountPath : "/app/config/redis-auth/" },
147162 {Name : "plugins" , MountPath : "/home/argocd/cmp-server/plugins" },
148163 {Name : "tmp" , MountPath : "/tmp" },
149164 }))
@@ -193,6 +208,19 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
193208 },
194209 },
195210 },
211+ {
212+ Name : "redis-initial-pass" ,
213+ VolumeSource : corev1.VolumeSource {
214+ Secret : & corev1.SecretVolumeSource {
215+ SecretName : "argocd-redis-initial-password" ,
216+ DefaultMode : ptr .To (int32 (420 )),
217+ Items : []corev1.KeyToPath {
218+ {Key : "auth" , Path : "auth" },
219+ {Key : "auth_username" , Path : "auth_username" },
220+ },
221+ },
222+ },
223+ },
196224 {
197225 Name : "var-files" , VolumeSource : corev1.VolumeSource {
198226 EmptyDir : & corev1.EmptyDirVolumeSource {},
@@ -218,6 +246,7 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
218246 Expect (applControllerSS .Spec .Template .Spec .Containers [0 ].VolumeMounts ).To (Equal ([]corev1.VolumeMount {
219247 {Name : "argocd-repo-server-tls" , MountPath : "/app/config/controller/tls" },
220248 {Name : "argocd-operator-redis-tls" , MountPath : "/app/config/controller/tls/redis" },
249+ {Name : "redis-initial-pass" , MountPath : "/app/config/redis-auth/" },
221250 {Name : "argocd-home" , MountPath : "/home/argocd" },
222251 {Name : "argocd-cmd-params-cm" , MountPath : "/home/argocd/params" },
223252 {Name : "argocd-application-controller-tmp" , MountPath : "/tmp" },
@@ -242,6 +271,19 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
242271 },
243272 },
244273 },
274+ {
275+ Name : "redis-initial-pass" ,
276+ VolumeSource : corev1.VolumeSource {
277+ Secret : & corev1.SecretVolumeSource {
278+ SecretName : "argocd-redis-initial-password" ,
279+ DefaultMode : ptr .To (int32 (420 )),
280+ Items : []corev1.KeyToPath {
281+ {Key : "auth" , Path : "auth" },
282+ {Key : "auth_username" , Path : "auth_username" },
283+ },
284+ },
285+ },
286+ },
245287 {
246288 Name : "argocd-home" , VolumeSource : corev1.VolumeSource {
247289 EmptyDir : & corev1.EmptyDirVolumeSource {},
0 commit comments