-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unnecessary Harbor Pod Restarts Triggered on every PR merge #1906
Comments
Same issue. Here is the list of services, which restarts:
|
Exactly, the issue I think is with the secret changing in the PR. Any idea why there are dynamic changes picking up |
dup of #1901 |
Hi have you guys done any workaround |
Hi. It doesn't bother us, that's why we didn't try to workaround it |
Expected behavior and actual behavior:
Expected behavior:
Harbor pods should remain stable without unnecessary restarts when no functional changes are made to Harbor's configuration or resources. ArgoCD should only trigger syncs for actual changes in Harbor's deployment or configuration.
Actual behavior:
Every time a PR is merged into the GitOps repository, ArgoCD detects changes in Harbor-related resources (like secrets or ConfigMaps) and triggers a sync. This results in Harbor pods restarting, even when there are no functional changes. This disrupts availability, impacts builds, and causes unnecessary delays in deployments.
Despite adding the ignoreDifferences rule for Harbor-related secrets in the ArgoCD App YAML, the pod restarts continue due to the checksum in Helm templates for the Deployment and StatefulSet, which detects changes in the associated resources.
Steps to reproduce the problem:
Versions:
The text was updated successfully, but these errors were encountered: