-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
feat: Supports the validate-false option at an app level. Closes #1063 #2542
Conversation
…r/application/application.go,
Codecov Report
@@ Coverage Diff @@
## master #2542 +/- ##
==========================================
- Coverage 39.53% 38.65% -0.89%
==========================================
Files 40 168 +128
Lines 1171 18248 +17077
Branches 203 237 +34
==========================================
+ Hits 463 7053 +6590
- Misses 706 10321 +9615
- Partials 2 874 +872
Continue to review full report at Codecov.
|
@yann-soubeyrand can you take a look at this solution please? |
Thanks a lot @alexec! I'm wondering if renaming the option noValidate to validate and defaulting it to true wouldn't clarify things (it would directly map to kubectl CLI option --validate=false)? Apart from that, this looks good to me and will totally address my needs ;-) |
Thank you @yann-soubeyrand . @alexmt thoughts? |
@yann-soubeyrand, @alexmt agrees. |
…r.go,controller/sync.go,controller/sync_test.go,docs/operator-manual/application.yaml,manifests/crds/application-crd.yaml,manifests/ha/install.yaml,manifests/ha/namespace-install.yaml,manifests/install.yaml,manifests/namespace-install.yaml,pkg/apis/application/v1alpha1/generated.pb.go,pkg/apis/application/v1alpha1/generated.proto,pkg/apis/application/v1alpha1/openapi_generated.go,pkg/apis/application/v1alpha1/types.go,pkg/apis/application/v1alpha1/types_test.go,pkg/apis/application/v1alpha1/zz_generated.deepcopy.go,server/application/application.go,
….go,cmd/argocd/commands/app_test.go,controller/appcontroller.go,controller/sync.go,controller/sync_test.go,manifests/crds/application-crd.yaml,manifests/ha/install.yaml,manifests/ha/namespace-install.yaml,manifests/install.yaml,manifests/namespace-install.yaml,pkg/apis/application/v1alpha1/generated.pb.go,pkg/apis/application/v1alpha1/generated.proto,pkg/apis/application/v1alpha1/openapi_generated.go,pkg/apis/application/v1alpha1/types.go,pkg/apis/application/v1alpha1/types_test.go,pkg/apis/application/v1alpha1/zz_generated.deepcopy.go,server/application/application.go,
…ion-crd.yaml,manifests/ha/install.yaml,manifests/ha/namespace-install.yaml,manifests/install.yaml,manifests/namespace-install.yaml,pkg/apis/application/v1alpha1/generated.pb.go,pkg/apis/application/v1alpha1/generated.proto,pkg/apis/application/v1alpha1/openapi_generated.go,
Changes since last review:
|
CLI examples:
Unset flag:
Set flag:
|
…ion-create-panel/application-create-panel.tsx,ui/src/app/applications/components/application-summary/application-summary.tsx,
Hi, what's the status of this PR? What can we do to help it being merged? |
It seems that we are dependent on this PR to be merged in order to deploy cert-manager with argo without using multiple hacks that fall short. What is the status of this and is there anything we can do to speed up the process? |
@jessesuen @alexmt do you want to progress this in v1.5 please? I can find some time to fix the merges, but that would only make sense if you have time to review the PR. Can I please ask if you can review the PR? Thank you. |
@alexec I'm working on merging master changes and preparing to merge this PR |
ok - let me know if you need any assist |
@alexec , I've changed the UI for sync options. Instead of free form test implemented checkboxes, so user don't have to learn syntax of supported options: does it looks good to you? |
Checklist:
Closes #1063
Reviewer checklist:
!
to remove flag? Similar to how other tools do this.syncPolicy.automated
in the UI?