Replies: 1 comment
-
|
What if you don't use server side diff for this application? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are deploying a CronJob and a PVC that the CronJob needs with Argo CD.
Sometimes, the CronJob fills up the underlying disk managed by the PVC and to prevent the job from failing, we are using an external operator to automatically increase the PVC requested size when the disk is getting full (we are using this operator: https://github.com/topolvm/pvc-autoresizer).
The operator simply changes the requested PVC disk size in the PVC resource.
When the disk size is changed, we don't commit back the new value in Argo CD, so we are seeing a drift between what we initially commited in our git repository and what is currently running. Of course, it's also not possible to shrink a PVC: as soon as the PVC has been resized by the operator, Argo CD:
We tried to configure Argo CD to ignore this field by configuring the Argo CD Application with:
But this only partially works:
OutOfSyncresources anymoreDuring refresh operations, Argo CD shows the following error message:
This is fine in the end because we can still sync the Application, but it creates confusion internally because this big visible error is fine and we need to "learn" it's OK to have it (which is not great and confuses new joiners).
Is there a way we could configure the Application so that:
Beta Was this translation helpful? Give feedback.
All reactions