Skip to content

Fix required on ArgoCD OutOfSync issue due to haSharedSecret random value #187

@aayushitewari

Description

@aayushitewari

Hi Team,

We are facing a continuous OutOfSync issue in ArgoCD for our docker-registry application.

What’s Happening:

The object going OutOfSync is a Secret (type: kubernetes.io/Secret), likely generated by the Docker Registry Helm chart.

Each sync, the haSharedSecret value keeps changing → ArgoCD detects a diff → marks the app OutOfSync → triggers new syncs → causing continuous churn.

What Changed Recently:

Previously, this deployment was fully managed by Helm, so the secret value stayed consistent.

After adopting Argo Rollouts, we now ignore only replica count differences in Deployment, but Secrets are still tracked.

Then we observed that everytime, this "haSharedSecret" is generating a new value and the secret is going out of sync

Image

Fix Options We Have Considered:

We have provided the random value to this "haSharedSecret" and referenced it in values.yanl file , then we our application is showing unhealthy with error.

Image

Then application throws error

Image

Could you please assist us here to fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions