schakrad
faa7331f9d
feat: UI write support CMP ( #11754 ) ( #12137 )
...
* #11602 fix : Object options menu truncated when selected in ApplicationListView.
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* CMP parameter changes
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* fix: pointers to param values
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
better?
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix silliness
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
terrible hacks
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
maybe better codegen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* same prefix issue fixed
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* fix for delete param name
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* lint changes
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* lint fix
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* lint fix
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* finalChanges
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* Delete application-resource-list.tsx
Not needed for this PR.
Signed-off-by: schakrad <58915923+schakrad@users.noreply.github.com>
* added file which was deleted as it was not the change needed for this feature.
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* refactored MapValuField and added fix for some edge cases
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* Update application-resource-list.tsx
Reverting the change as this is not related to this PR.
Signed-off-by: schakrad <58915923+schakrad@users.noreply.github.com>
* Reverting the change in application-resource-list
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* Showing application parameter values irrespective of parameter present or not in plugin.yaml
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* fix for lint errors
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
* fix false source mismatch
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* fix equals
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* fix swagger doc
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* Tooltip description change.
Signed-off-by: schakrad <chakradari.sindhu@gmail.com>
* fixed lint
Signed-off-by: schakrad <chakradari.sindhu@gmail.com>
* CMP fix for empty array.
Signed-off-by: schakrad <chakradari.sindhu@gmail.com>
---------
Signed-off-by: schakradari <saisindhu_chakradari@intuit.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: schakrad <58915923+schakrad@users.noreply.github.com>
Signed-off-by: schakrad <chakradari.sindhu@gmail.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2023-03-21 14:39:10 -04:00
Michael Crenshaw
bfc381e03b
feat: add 'user' field to audit logs ( #12644 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2023-03-16 22:20:10 +02:00
Michael Crenshaw
2b1d55b106
fix: evaluate all possible refresh reasons for multi-source apps ( #12379 ) ( #12576 )
...
* fix: evaluate all possible refresh reasons for multi-source apps (#12379 )
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* remove redundant parentheses
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* don't auto-sync, it makes tests flaky
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* auto-sync because sync CLI doesn't work for multi-source apps
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* don't require out-of-sync - app may sync quickly
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* timeout 60
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* fix timeout
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2023-02-24 13:30:18 -05:00
Mike Ng
0d02040d03
feat: add app skip reconcile annotation to optionally bypass application controller processing ( #11879 )
...
Signed-off-by: Mike Ng <ming@redhat.com>
2023-02-23 12:02:50 -05:00
Soumya Ghosh Dastidar
b6cfe676f3
feat: add sync delete option ( #12448 )
...
feat: add sync delete option (#12448 )
2023-02-14 19:51:53 +00:00
ChangZhuo Chen (陳昌倬)
95da518e7d
Merge pull request from GHSA-6p4m-hw2h-6gmw
...
Signed-off-by: ChangZhuo Chen (陳昌倬) <czchen@czchen.org>
add test
Signed-off-by: CI <350466+crenshaw-dev@users.noreply.github.com>
better comment
Signed-off-by: CI <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: CI <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2023-01-25 09:14:29 -05:00
Michael Crenshaw
1cc154f151
chore: better error messages ( #11738 )
...
* chore: better error messages
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* Update util/db/cluster.go
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2023-01-09 16:32:27 -05:00
Alex Eftimie
55da026fd5
fix: Application's own link in UI ( #11123 ) ( #11124 )
...
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com>
Co-authored-by: Remington Breeze <remington@breeze.software>
2023-01-04 10:40:51 -08:00
Ishita Sequeira
c6fa942e94
feat: Multiple sources for applications ( #2789 ) ( #10432 )
...
* feat: support multiple sources for application
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
remove debug logging and unwanted code
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
fix lint and unit test errors
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
fix lint and unit test errors
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix bug introduced after rebase
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
executed make codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
remove unwanted logging
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
fix ci failures
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix index out of bounds error
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* ui fixes
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* add revisions to SyncOperation for rollback
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* change Source to *ApplicationSource in ApplicationSpec
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix env variable read logic for ValueFiles
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* update multiple sources doc
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* add repository lock and checkout target revision
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
fix codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* checkout all sources before generating manifest
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
generate mock reposerverclient
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* update logic for returning ManifestResponse to avoid nil pointer issues
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix nil reference and key mismatch bugs; add more logs (#6 )
* fix nil reference and key mismatch bugs; add more logs
* remove temporary comment
* addressed the lint failure and added chart to RefTargeRevisionMapping
* normalize git repo (#7 )
* do not leak lock releases
* prevent deadlock
* allow spec update
* move settings fetch outside loop
* cache busing
* return err instead of logging it
* no caching in test
* fix cache key marshaling
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* update grpc field numbers
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* path resolution tests (#12 )
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
do things in better ways
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
consolidate
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* add regex check for value of source.ref
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* add webhook tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
change Source to *ApplicationSource in ApplicationSpec
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
address PR comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Retrigger CI pipeline
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
rebased with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix env variable read logic for ValueFiles
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Address PR comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* add repository lock and checkout target revision
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
fix codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* checkout all sources before generating manifest
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* generate mock reposerverclient
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* address comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* update logic for returning ManifestResponse to avoid nil pointer issues
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix nil reference and key mismatch bugs; add more logs (#6 )
* fix nil reference and key mismatch bugs; add more logs
* remove temporary comment
* addressed the lint failure and added chart to RefTargeRevisionMapping
* normalize git repo (#7 )
* do not leak lock releases
* prevent deadlock
* allow spec update
* move settings fetch outside loop
* cache busing
* return err instead of logging it
* no caching in test
* fix cache key marshaling
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* update grpc field numbers
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* add regex check for value of source.ref
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Added unit tests (#15 )
* add unit tests 1
* fix lint
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix application parameters tab, rebased UI changes, tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* More tests (#16 )
* more tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix lint error
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Test get ref sources (#17 )
* test GetRefSources
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* fix lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: ishitasequeira <ishiseq29@gmail.com>
GenerateManifests test (#18 )
* GenerateManifests test
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Fix broken tests (#19 )
* fix broken tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Symlink test (#20 )
* check referenced sources for out-of-bounds symlinks
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* unlock the values file repo before doing a symlink check (#22 )
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* multi source docs (#21 )
* multi source docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* fix warning title
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* clarify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* clarify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* add e2e tests for multiple sources and fix UI lint (#23 )
* add e2e tests for multiple sources and fix UI lint
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* add auto-sync and hard refresh to e2e tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* change refresh type to RefreshTypeNormal for e2e
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* update e2e testcase with helm data
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* add TestMultiSourceAppWithSourceOverride
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* add missing yaml file
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix lint
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2022-12-16 15:47:08 -05:00
Alexander Matyushentsev
097ed6f108
fix: application stuck in infinite reconciliation loop if using wrong project ( #11246 )
...
* fix: application stuck in infinite reconciliation loop if using wrong project
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* add missing unit test
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2022-11-18 20:57:34 -05:00
apoorvam1
92abb563af
chore: wrap errors with message ( #10592 ) ( #10986 )
...
* issue-10592 Wrap errors with message
Signed-off-by: Apoorva Mahabaleshwara <apoorvamahabaleshwara@Apoorvas-MBP.attlocal.net>
Signed-off-by: Apoorva Mahabaleshwara <apoorvambhat@gmail.com>
* issue-10592 remove unwanted error wrappers
Signed-off-by: Apoorva Mahabaleshwara <apoorvamahabaleshwara@Apoorvas-MBP.attlocal.net>
Signed-off-by: Apoorva Mahabaleshwara <apoorvambhat@gmail.com>
* chore: fix error wrapper messages
Signed-off-by: Apoorva Mahabaleshwara <apoorvambhat@gmail.com>
Signed-off-by: Apoorva Mahabaleshwara <apoorvamahabaleshwara@Apoorvas-MBP.attlocal.net>
Signed-off-by: Apoorva Mahabaleshwara <apoorvambhat@gmail.com>
Co-authored-by: Apoorva Mahabaleshwara <apoorvamahabaleshwara@Apoorvas-MBP.attlocal.net>
2022-10-19 19:21:32 +00:00
Blake Pettersson
5f3fc68b17
feat: add permitOnlyProjectScopedClusters flag ( #10237 )
...
This commit adds a new flag, `permitOnlyProjectScopedClusters`, which
prevents any application from syncing to clusters which are not a part
of the same project. Fixes #10220 .
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
2022-09-08 07:33:10 -04:00
Alexander Matyushentsev
893a8670b0
chore: infer managed resources health from redis instead of storing it in CRD ( #10191 )
...
* chore: infer managed resources health from redis instead of storing it in CRD
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* apply reviewer notes
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2022-08-17 21:03:24 +00:00
jannfis
068048cb80
feat: Applications in any namespace ( #9755 )
...
* feat: Applications in any namespace
Signed-off-by: jannfis <jann@mistrust.net>
* Fix typo in CI
Signed-off-by: jannfis <jann@mistrust.net>
* Create argocd-e2e-external namespace
Signed-off-by: jannfis <jann@mistrust.net>
* Update from codegen
Signed-off-by: jannfis <jann@mistrust.net>
* Remove debug code
Signed-off-by: jannfis <jann@mistrust.net>
* Update help text for -N option to app create
Signed-off-by: jannfis <jann@mistrust.net>
* Wrap error when retrieving AppProject from cache
Signed-off-by: jannfis <jann@mistrust.net>
* Check for controller namespace first before matching on additional ns
Signed-off-by: jannfis <jann@mistrust.net>
* Improve TestAppProjectIsSourceNamespacePermitted unit test
Signed-off-by: jannfis <jann@mistrust.net>
* Get rid of some debug leftovers
Signed-off-by: jannfis <jann@mistrust.net>
* Better error wrapping; return IsNotFound as-is
Signed-off-by: jannfis <jann@mistrust.net>
* Updates from codegen
Signed-off-by: jannfis <jann@mistrust.net>
* We don't need AppShortName() anymore
Signed-off-by: jannfis <jann@mistrust.net>
* Update end-to-end tests to use annotation methods
Signed-off-by: jannfis <jann@mistrust.net>
* Add e2e tests to test for app creation in not permitted ns
Signed-off-by: jannfis <jann@mistrust.net>
* Remove deprecated code
Signed-off-by: jannfis <jann@mistrust.net>
* Remove dead code
Signed-off-by: jannfis <jann@mistrust.net>
* Add RBACName() method to application type
Signed-off-by: jannfis <jann@mistrust.net>
* Update from codegen
Signed-off-by: jannfis <jann@mistrust.net>
* Fix e2e test
Signed-off-by: jannfis <jann@mistrust.net>
* Update codegen
Signed-off-by: jannfis <jann@mistrust.net>
* Move RBAC name generation to an application receiver
Signed-off-by: jannfis <jann@mistrust.net>
* Fix sync window status in UI
Signed-off-by: jannfis <jann@mistrust.net>
* Fix pod logs viewer
Signed-off-by: jannfis <jann@mistrust.net>
* Fix application events in UI
Signed-off-by: jannfis <jann@mistrust.net>
* Fix application search in UI
Signed-off-by: jannfis <jann@mistrust.net>
* Fix yarn lint
Signed-off-by: jannfis <jann@mistrust.net>
* Only set up cluster-wide application informer when additional namespaces are specified
Signed-off-by: jannfis <jann@mistrust.net>
* Adapt e2e test to a changed error message
Signed-off-by: jannfis <jann@mistrust.net>
* Application namespace should be taken into account for create
Signed-off-by: jannfis <jann@mistrust.net>
* Use non-qualified application name as Helm release name
Signed-off-by: jannfis <jann@mistrust.net>
* Support --app-namespace in e2e tests
Signed-off-by: jannfis <jann@mistrust.net>
* Enable more e2e tests
Signed-off-by: jannfis <jann@mistrust.net>
* Increase e2e timeout for newly added tests
Signed-off-by: jannfis <jann@mistrust.net>
2022-08-10 11:39:10 +02:00
Leonardo Luz Almeida
eb3517baad
fix: Ignore diff with schema ( #9170 )
2022-05-31 13:21:22 -04:00
pasha-codefresh
f11da56381
feat: add --app-hard-resync flag to controller ( #8928 )
...
* feat: add --app-hard-resync flag to controller
Signed-off-by: darshanime <deathbullet@gmail.com>
* add to approvers
Signed-off-by: pashavictorovich <pavel@codefresh.io>
* Merge branch 'master' of github.com:pasha-codefresh/argo-cd into hard-refresh
Signed-off-by: pashavictorovich <pavel@codefresh.io>
# Conflicts:
# cmd/argocd-application-controller/main.go
# controller/appcontroller.go
* merge
Signed-off-by: pashavictorovich <pavel@codefresh.io>
* merge
Signed-off-by: pashavictorovich <pavel@codefresh.io>
* regenerate docs
Signed-off-by: pashavictorovich <pavel@codefresh.io>
* regenerate docs
Signed-off-by: pashavictorovich <pavel@codefresh.io>
* fix tests
Signed-off-by: pashavictorovich <pavel@codefresh.io>
* read variable from cm
Signed-off-by: pashavictorovich <pavel@codefresh.io>
* reconciliation variable
Signed-off-by: pashavictorovich <pavel@codefresh.io>
* manifest
Signed-off-by: pashavictorovich <pavel@codefresh.io>
Co-authored-by: darshanime <deathbullet@gmail.com>
2022-04-04 10:44:35 -04:00
Alexander Matyushentsev
af03b291d4
Merge pull request from GHSA-2f5v-8r3f-8pww
...
* fix: application resource APIs must enforce project restrictions
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* Fix unit tests
Signed-off-by: jannfis <jann@mistrust.net>
Co-authored-by: jannfis <jann@mistrust.net>
2022-03-22 10:57:30 -07:00
Ben Ye
98bec43aaa
fix: register controller workqueue metrics correctly ( #8318 )
...
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
2022-02-01 10:57:20 -08:00
jannfis
010411012f
chore: Log out the resource triggering reconciliation ( #8192 )
...
* chore: Log out the resource triggering reconciliation
Signed-off-by: jannfis <jann@mistrust.net>
* chore: Log out the resource triggering reconciliation
Signed-off-by: jannfis <jann@mistrust.net>
2022-01-18 08:22:26 +01:00
Leonardo Luz Almeida
7bac2c151a
fix: Inconsistent normalization logic during diff ( #7980 )
...
fix: Inconsistent normalization logic during diff (#7980 )
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
2021-12-22 08:57:48 -08:00
jomenxiao
e48350756b
fix nil point ( #7905 )
...
Signed-off-by: jomenxiao <jomenxiao@gmail.com>
2021-12-10 21:23:37 -08:00
Alexander Matyushentsev
bea379b036
refactor: add indexes to secret informers to speedup settings parsing ( #7882 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-12-07 14:15:11 -08:00
Alexander Matyushentsev
05935a9d7e
refactor: avoid loading project in frequently executed controller methods ( #7853 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-12-03 13:18:08 -08:00
Alexander Matyushentsev
0c0bc1f769
refactor: use cached project while calculating resource tree ( #7747 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-11-18 15:45:19 -08:00
Leonardo Luz Almeida
0d4e40ed6a
fix: Address issue during diff when secret data is nil ( #7603 )
...
* fix: update gitops-engine to latest + log improvements
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* run go mod tidy
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
2021-11-03 12:46:05 -07:00
Alexander Matyushentsev
81e801d8ee
fix: Invalid memory address or nil pointer dereference in processRequestedAppOperation ( #7501 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-10-20 08:03:55 -07:00
Alexander Matyushentsev
872eff292b
fix: Operation has completed with phase: Running ( #7482 )
...
* fix: Operation has completed with phase: Running
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-10-19 17:16:31 -07:00
pasha-codefresh
ddc9f56d05
feat: Cluster name as part of sync ( #7394 )
...
feat: Cluster name as part of sync (#7394 )
Signed-off-by: pashavictorovich <pavel@codefresh.io>
2021-10-18 18:44:54 -07:00
Leonardo Luz Almeida
384f5b2bae
Expose Application labels in prometheus metric ( #7374 )
...
Expose Application labels in prometheus metric (#7374 )
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
2021-10-08 10:15:51 -07:00
pasha-codefresh
3d4deeb4f0
fix: compare app state ( #7341 )
...
* fix compare app state
Signed-off-by: pashavictorovich <pavel@codefresh.io>
2021-10-01 09:18:01 -07:00
pasha-codefresh
bb88a1c975
feat: rename app identifier ( #7251 )
...
feat: rename app identifier (#7251 )
Signed-off-by: pashavictorovich <pavel@codefresh.io>
2021-09-28 08:35:17 -07:00
Alexander Matyushentsev
3799d706df
refactor: cache virtual project calculation to improve performance ( #7274 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-09-21 12:20:49 -07:00
pasha-codefresh
7b89c4e53c
feat: Project scoped repo ( #6943 )
...
feat: Project scoped repo (#6943 )
Signed-off-by: pashavictorovich <pavel@codefresh.io>
2021-08-16 09:38:37 -07:00
Josh Soref
1602ec992d
chore: Spelling ( #5373 )
...
* spelling: across
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: anyway
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: assessment
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: attribute
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: crlf
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: cmux
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: committed
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: convenience
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: does-not
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: e.g.
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fall back
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fall back to
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: then ... falls back
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: formatted
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: github
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: gitlab
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: gitops
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: health checks
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: located
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: logging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: oidc
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: openshift
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: os
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: powershell
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: preferred
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: redact
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: repo
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: similarly
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: staging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: statefulset
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: stopped
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: superseded
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: synchronization
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: to
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unified
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: verification
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: zookeeper
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-07-13 19:02:03 +02:00
Jonathan West
4a4b43f1d2
fix: unable to delete an Application if its target cluster is deleted, Argo CD enters infinite app deletion reconciliation loop ( #6557 )
...
Signed-off-by: Jonathan West <jonwest@redhat.com>
2021-06-29 16:32:21 -04:00
Kshama Jain
2ba6223b6c
feat: update app informer to avoid stale cache ( #6372 )
...
feat: update app informer to avoid stale cache (#6372 )
Signed-off-by: kshamajain99 <kshamajain99@gmail.com>
2021-06-03 15:40:35 -07:00
Aikawa
e44fa434ab
fix: use current logrus config when logrus is created internally ( #6234 ) ( #6301 )
...
fix: use current logrus config when logrus is created internally (#6234 ) (#6301 )
Signed-off-by: yu-croco <yuki.kita22@gmail.com>
2021-05-28 16:27:57 -07:00
Alexander Matyushentsev
696610688e
fix: controller should refresh app before running sync operation ( #6294 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-05-21 13:32:31 -07:00
Shoubhik Bose
cc4eea0d69
chore: Organize Application-related defaults/constants in the Application API's package. ( #5893 )
...
chore: Organize Application-related defaults/constants in the Application API's package. (#5893 )
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
2021-05-19 12:43:04 -07:00
Alexander Matyushentsev
9b32e01104
feat: cache resolved git/helm repository revisions ( #6102 )
...
* feat: cache resolved git/helm repository revisions
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-05-19 12:30:15 -07:00
Remington Breeze
7d12385aed
fix(ui): Don't count errored or completed neighbor pods toward resource consumption ( #6259 )
...
Signed-off-by: Remington Breeze <remington@breeze.software>
2021-05-18 16:01:23 -07:00
yancl
a125794dba
fix: remove break for appsCount ( #6115 )
...
Signed-off-by: yancl <kmoving@gmail.com>
2021-04-28 12:37:46 -07:00
jannfis
ae49b45249
chore: Upgrade Go module to v2 ( #5931 )
...
* chore: Upgrade Go module to v2
Signed-off-by: jannfis <jann@mistrust.net>
* Restore import order
Signed-off-by: jannfis <jann@mistrust.net>
* fix knowntypes_normalizer codegen error
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* fix codegen
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* fix Procfile
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-04-01 20:44:18 +02:00
Chetan Banavikalmutt
b728505c9f
feat: support background propagation policy while deleting applications ( #5216 ) ( #5524 )
...
* feat: support background propagation policy
Currently, Argo CD only supports foreground propagation policy ie. delete all the resources in the foreground and then delete the application in the end. This PR introduces a new flag `propagation-policy` to decide the type of policy when cascading is enabled. It also adds an annotation `propagation-policy.argocd.argoproj.io`, which is used by the application controller to decide the order of deletion.
Fixes : #5216
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* fix lint and doc errors
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* update logs to display the application name
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* address review comments
* remove application name from logs since it's already present
* update the propagation policy annotation key
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* Add radio buttons in the UI to select propagation policy
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* inject finalizers instead of annotations for specifying propagation policy
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* rebase branch on master
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* update the controller to set the policy only for application's resources
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* fix the label of policy radio button
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
2021-03-15 17:27:41 +01:00
Ishita Sequeira
445d091d49
feat: added cascade option to delete resources #5368 ( #5538 )
...
* feat: added cascade option to delete resources #5368
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* addressed PR comments related to cascade delete
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* feat: update gitops-engine version
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* Fix e2e tests
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* feat: update gitops-engine version
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* fix: Address PR comments
Signed-off-by: ishitasequeira <isequeir@redhat.com>
2021-03-09 14:04:14 +01:00
Abhishek Veeramalla
73edc0a652
fix: Exclude kube-root-ca.crt ConfigMap from Orphaned Resources monitoring by default ( #5490 ) ( #5523 )
...
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
2021-02-17 11:25:21 +01:00
Victor Boissiere
e0f7731fee
feat(prom): Add prometheus metrics reset support #5287 ( #5304 )
...
* feat(prom): Add prometheus metrics reset support
Signed-off-by: Victor Boissiere <victor.boissiere@gmail.com>
2021-02-09 17:27:08 -08:00
Remington Breeze
3967baf0c9
feat: Prevent unnecessary controller diffing with caching ( #5255 )
...
Signed-off-by: Remington Breeze <remington@breeze.software>
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-01-27 16:13:29 -08:00
Alexander Matyushentsev
27a609fb1a
fix: controller should load application related nodes from target cluster ( #5208 )
...
* fix: controller should load application related nodes from target cluster
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* fix: make sure node capasity and pod requests are in same unit, improve unit formatting
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* fix: application hosts should include info about resources requested by app neighbors
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* apply reviewer notes
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-01-11 12:35:47 -08:00
Alexander Matyushentsev
85ea4c445e
fix: add api-server liveness probe that catches bad data in informer ( #5026 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2020-12-10 11:48:27 -08:00