Skip to content

Conversation

@jparsai
Copy link
Collaborator

@jparsai jparsai commented Oct 8, 2025

/kind bug

This PR is to use argocd-redis-initial-password secret instead of argocd-redis to get redis password

Fixes https://issues.redhat.com/browse/GITOPS-7837

container := deploymentFixture.GetTemplateSpecContainerByName(argoCDAgentPrincipalName, *principalDeployment)
Expect(container).ToNot(BeNil())
Expect(container.Image).To(Equal("quay.io/argoprojlabs/argocd-agent:v0.3.2"))
Expect(container.Image).To(Equal("quay.io/jparsai/argocd-agent:test"))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to use my image, since latest agent image is not having this fix yet. Once we have new image I will change it.

redisSecret := &corev1.Secret{
ObjectMeta: metav1.ObjectMeta{
Name: "argocd-redis",
Name: argocdagent.PrincipalRedisSecretname,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to remove this code where we create the Redis Secret? I presume the Secret will be eventually be created by the ArgoCD operator code, and we just need to wait for it. WDYT?

@jparsai jparsai force-pushed the redis-secret branch 2 times, most recently from deaefbd to 5b4f2c9 Compare October 14, 2025 09:51
Copy link
Member

@jgwest jgwest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @jparsai!

@jgwest jgwest merged commit 04309d7 into argoproj-labs:master Oct 16, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants