Details
-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
1.9.2, 1.9.1
-
None
-
False
-
None
-
False
Description
Description of problem:
We have large number of files we Sync through ArgoCD Apps (10 Apps each has around 300 files) when there is a 1 file has error (ex; syntax error) the other 299 files are not synced to the hub cluster. getting an error like below
// The Kubernetes API could not find ran.openshift.io/SiteConfig for requested resource site-err/site-err. Make sure the "SiteConfig" CRD is installed on the destination cluster.
The only workaround that works is by using the console UI select only the good file to Sync. We looking for a solution to Sync the good files without using the console UI as it is not accessible for all users in this case.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
1- Create ArgoCD App and setup it to Sync a git repo with Sync option SkipDryRunOnMissingResource=true
2- Have any file within the git repo has a syntax error and other files in a good syntax
3- Sync the git repo files through the ArgoCD App
Actual results:
All files in the git repo are not Synced to the cluster
Expected results:
We expect not to Sync only the file that has syntax error and other files should be synced to the cluster.
Reproducibility (Always/Intermittent/Only Once):
Always
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):