Argo-cd: shared resource warning for using same namespace for multiple microservices

Created on 30 Oct 2019  路  2Comments  路  Source: argoproj/argo-cd

We really wants application to deploy to same namespace but argo doesnt sync and error in all microservices complaining about shared resource warning

how to either fix or silence this alarm ?

bug wontfix

Most helpful comment

Hi @chiragthaker,

Thank you for your bug report.

This warning is intentional. You have two apps that are creating a resource with the same kind, name, and namespace. It is possible the two apps have different manifests for the same resource, so ignoring this warning could introduce bugs into your system as each resource gets overwritten.

The recommendation for this is to move your shared resources into a another single app.

Alex

All 2 comments

Hi @chiragthaker,

Thank you for your bug report.

This warning is intentional. You have two apps that are creating a resource with the same kind, name, and namespace. It is possible the two apps have different manifests for the same resource, so ignoring this warning could introduce bugs into your system as each resource gets overwritten.

The recommendation for this is to move your shared resources into a another single app.

Alex

It's really great to have such warnings, thank you!

Was this page helpful?
0 / 5 - 0 ratings