7340eb5414
feat: PreDelete hooks support (Issue #13975 ) ( #22288 )
...
Signed-off-by: Dan Garfield <[email protected] >
Signed-off-by: Pedro Ribeiro <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
Signed-off-by: Andrii Korotkov <[email protected] >
Co-authored-by: Dan Garfield <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrii Korotkov <[email protected] >
Co-authored-by: Ishita Sequeira <[email protected] >
Co-authored-by: pedro-ribeiro-rci <[email protected] >
Co-authored-by: Pedro Ribeiro <[email protected] >
Co-authored-by: Blake Pettersson <[email protected] >
Co-authored-by: Alexandre Gaudreault <[email protected] >
2025-12-05 20:27:03 +00:00
83a66413fa
feat: allow limiting clusterResourceWhitelist by resource name ( #12208 ) ( #24674 )
...
Signed-off-by: Michael Crenshaw <[email protected] >
Co-authored-by: Alexandre Gaudreault <[email protected] >
2025-12-03 20:55:28 +00:00
Blake Pettersson and GitHub
1c149ae478
fix: revert #24197 ( #25294 )
...
Signed-off-by: Blake Pettersson <[email protected] >
2025-11-17 11:21:44 -08:00
Nitish Kumar and GitHub
7446c4f96b
fix: respect ignore differences for individual array elements in CRDs ( #24197 )
...
Signed-off-by: nitishfy <[email protected] >
2025-09-15 10:28:13 -04:00
Alexandre Gaudreault and GitHub
0477d161e8
fix(sync): operations in errors without status cause infinite auto-sync loop ( #23356 )
...
Signed-off-by: Alexandre Gaudreault <[email protected] >
2025-07-16 10:39:30 -07:00
Alexandre Gaudreault and GitHub
7a3a1fd528
chore(refactor): project as SyncAppState parameter ( #23629 )
...
Signed-off-by: Alexandre Gaudreault <[email protected] >
2025-07-03 13:16:58 -04:00
Alexandre Gaudreault and GitHub
af5b199e6a
chore(refactor): remove redundant rollback argument ( #23627 )
...
Signed-off-by: Alexandre Gaudreault <[email protected] >
2025-07-02 18:32:31 -04:00
Alexandre Gaudreault and GitHub
d723b8edd6
fix(sync): auto-sync loop when FailOnSharedResource ( #23357 ) ( #23641 )
...
Signed-off-by: Alexandre Gaudreault <[email protected] >
2025-07-02 15:00:57 -04:00
Alexandre Gaudreault and GitHub
57707f0cfb
fix(tests): race condition creating the sync id ( #23460 )
...
Signed-off-by: Alexandre Gaudreault <[email protected] >
2025-06-22 22:39:49 -04:00
Michael Crenshaw and GitHub
0a62a0e562
fix(controller): impersonation with destination name ( #23309 ) ( #23504 )
...
Signed-off-by: Michael Crenshaw <[email protected] >
2025-06-22 21:32:19 -04:00
Alexandre Gaudreault and GitHub
8b69aa71ad
fix(tests): race condition creating the sync id ( #23481 )
...
Signed-off-by: Alexandre Gaudreault <[email protected] >
2025-06-18 20:37:57 +00:00
Peter Jiang and GitHub
a56442d954
feat: add SSA field manager migration options ( #23337 )
...
Signed-off-by: Peter Jiang <[email protected] >
Signed-off-by: Peter Jiang <[email protected] >
2025-06-13 21:58:07 +00:00
Aaron Hoffman and GitHub
d7a4b74085
feat: Add images to resources in sync result #20896 ( #20954 )
...
Signed-off-by: Aaron Hoffman <[email protected] >
2025-05-27 19:58:28 +00:00
dhawos and GitHub
cc4615ad43
chore(logs): standardize application logging ( #20731 ) ( #21442 )
...
Signed-off-by: Louis Gérard <[email protected] >
2025-05-20 15:48:09 -04:00
Michael Crenshaw and GitHub
3849be9cb3
chore(refactor): initialize slice to exact length ( #22981 )
...
Signed-off-by: Michael Crenshaw <[email protected] >
2025-05-15 06:26:34 -07:00
020649d764
fix: settings request doesn't return default tracking method ( #22965 )
...
Signed-off-by: oleksandr-codefresh <[email protected] >
Co-authored-by: Regina Voloshin <[email protected] >
2025-05-15 11:26:47 +03:00
bd6bb1e821
feat: Enable SkipDryRunOnMissingResource sync option on Application level ( #22679 )
...
Co-authored-by: pasha <[email protected] >
2025-04-20 14:54:38 +03:00
7caee1cfbb
chore(ci): upgrade golangci-lint to v2 ( #22484 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <[email protected] >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 12:37:52 -04:00
Andrii Korotkov and GitHub
887e6fccba
fix: New kube applier for server side diff dry run with refactoring ( #21488 ) ( #21749 )
...
Signed-off-by: Andrii Korotkov <[email protected] >
2025-02-07 12:26:03 -05:00
Michael Crenshaw and GitHub
e0f3b47846
chore(refactor): remove app destination inferrence logic ( #21189 )
...
* refactor: remove app destination inferrence logic
Signed-off-by: Michael Crenshaw <[email protected] >
* simplify
Signed-off-by: Michael Crenshaw <[email protected] >
* more fixes
Signed-off-by: Michael Crenshaw <[email protected] >
* more fixes
Signed-off-by: Michael Crenshaw <[email protected] >
* codegen
Signed-off-by: Michael Crenshaw <[email protected] >
* fix mocks
Signed-off-by: Michael Crenshaw <[email protected] >
* simplify
Signed-off-by: Michael Crenshaw <[email protected] >
* clusters all the way down
Signed-off-by: Michael Crenshaw <[email protected] >
* simplify
Signed-off-by: Michael Crenshaw <[email protected] >
* test
Signed-off-by: Michael Crenshaw <[email protected] >
* lint
Signed-off-by: Michael Crenshaw <[email protected] >
* tidy
Signed-off-by: Michael Crenshaw <[email protected] >
* be less radical
Signed-off-by: Michael Crenshaw <[email protected] >
---------
Signed-off-by: Michael Crenshaw <[email protected] >
2025-01-13 13:15:42 -05:00
8334da36f2
Bump major version to 3 ( #21410 )
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: crenshaw-dev <[email protected] >
2025-01-10 16:14:00 -05:00
Matthieu MOREL and GitHub
064b5ae081
chore: enable indent-error-flow from revive ( #21394 )
...
Signed-off-by: Matthieu MOREL <[email protected] >
2025-01-07 10:25:22 -05:00
Matthieu MOREL and GitHub
eec6f8526a
chore: enable unused-parameter from revive ( #21365 )
...
* chore: enable unused-parameter from revive
Signed-off-by: Matthieu MOREL <[email protected] >
* apply recommandations
Signed-off-by: Matthieu MOREL <[email protected] >
---------
Signed-off-by: Matthieu MOREL <[email protected] >
2025-01-07 10:12:56 -05:00
Matthieu MOREL and GitHub
3e3bcf0246
chore: enable context-as-argument from revive ( #21371 )
...
Signed-off-by: Matthieu MOREL <[email protected] >
2025-01-07 10:08:51 -05:00
Matthieu MOREL and GitHub
75e3d10f27
chore: enable var-declaration from revive ( #21370 )
...
Signed-off-by: Matthieu MOREL <[email protected] >
2025-01-03 18:44:23 -05:00
Matthieu MOREL and GitHub
7a212a833c
chore: enable use-any from revive ( #21282 )
...
Signed-off-by: Matthieu MOREL <[email protected] >
2025-01-02 18:26:59 -05:00
Matthieu MOREL and GitHub
6a8208c4ca
chore: enable importas for k8s.io/apimachinery/pkg/apis/meta/v1 ( #21284 )
...
Signed-off-by: Matthieu MOREL <[email protected] >
2024-12-31 10:34:11 +02:00
Matthieu MOREL and GitHub
c85bb38a83
chore: enable errorf of perfsprint linter ( #21280 )
...
Signed-off-by: Matthieu MOREL <[email protected] >
2024-12-30 10:56:41 +02:00
Matthieu MOREL and GitHub
4156151f8f
chore: enable err-error and strconcat of perfsprint linter ( #21267 )
...
Signed-off-by: Matthieu MOREL <[email protected] >
2024-12-20 16:22:28 +00:00
Alexander Matyushentsev and GitHub
8b6ffe3c02
feat: application resource deletion protection ( #20497 )
...
Signed-off-by: Alexander Matyushentsev <[email protected] >
2024-10-24 00:08:24 -07:00
Kunho Lee and GitHub
e0c6797ffd
fix: check err before use schedule and duration ( #20043 )
...
* fix: check err before use schedule and duration
Signed-off-by: daengdaengLee <[email protected] >
* test: add tests for invalid schedule and duration
Signed-off-by: daengdaengLee <[email protected] >
* feat: change to return error when sync window is invalid
Signed-off-by: daengdaengLee <[email protected] >
* fix: use assert.Error or assert.NoError
Signed-off-by: daengdaengLee <[email protected] >
* fix: use require instead of assert
Signed-off-by: daengdaengLee <[email protected] >
---------
Signed-off-by: daengdaengLee <[email protected] >
2024-10-12 13:32:46 -04:00
ABBOUD Moncef and GitHub
590263c8d2
fix: handle incorrect cluster RESTconfig without panic ( #20150 )
...
Signed-off-by: cef <[email protected] >
2024-10-06 17:55:26 +03:00
Alexander Matyushentsev and GitHub
bd895ce9c9
fix: support managing cluster with multiple argocd instances and annotation based tracking ( #20222 )
...
Signed-off-by: Alexander Matyushentsev <[email protected] >
2024-10-04 17:54:37 -07:00
Anand Francis Joseph and GitHub
0931a86aa4
chore: Added unit tests and fix e2e tests for application sync decoupling feature ( #19966 )
...
* fixed doc comments and added unit tests
Signed-off-by: anandf <[email protected] >
* Added comments for the newly added unit tests
Signed-off-by: anandf <[email protected] >
* Refactored method name to deriveServiceAccountToImpersonate
Signed-off-by: anandf <[email protected] >
* Using const name in return value
Signed-off-by: anandf <[email protected] >
* Added unit tests for argocd proj add-destination-service-accounts
Signed-off-by: anandf <[email protected] >
* Fixed failing e2e tests
Signed-off-by: anandf <[email protected] >
* Fix linting errors
Signed-off-by: anandf <[email protected] >
* Using require package instead of assert and fixed code generation
Signed-off-by: anandf <[email protected] >
* Removed parallel execution of tests for sync with impersonate
Signed-off-by: anandf <[email protected] >
* Added err checks for glob validations
Signed-off-by: anandf <[email protected] >
* Fixed e2e tests for sync impersonation
Signed-off-by: anandf <[email protected] >
* Using consistently based expects in E2E tests
Signed-off-by: anandf <[email protected] >
* Added more unit tests and fixed go generate
Signed-off-by: anandf <[email protected] >
* Fixed failed lint errors, unit and e2e test failures
Signed-off-by: anandf <[email protected] >
* Fixed goimports linter issue
Signed-off-by: anandf <[email protected] >
* Added code comments and added few missing unit tests
Signed-off-by: anandf <[email protected] >
* Added missing unit test for GetDestinationServiceAccounts method
Signed-off-by: anandf <[email protected] >
* Fixed goimports formatting with local for project_test.go
Signed-off-by: anandf <[email protected] >
* Corrected typo in a field name additionalObjs
Signed-off-by: anandf <[email protected] >
* Fixed failing unit tests
Signed-off-by: anandf <[email protected] >
---------
Signed-off-by: anandf <[email protected] >
2024-10-03 07:37:50 -07:00
afc53cc903
feat: Decoupling application sync using impersonation ( #17403 )
...
* Implementation of app sync with impersonation support
Signed-off-by: anandf <[email protected] >
* negation test
Signed-off-by: Mangaal <[email protected] >
* Update doc comments to remove server name as its not supported.
Co-authored-by: Ishita Sequeira <[email protected] >
Signed-off-by: Anand Francis Joseph <[email protected] >
* Update glob pattern check for matching destinations.
Co-authored-by: Ishita Sequeira <[email protected] >
Signed-off-by: Anand Francis Joseph <[email protected] >
* Corrected the code comments for namespace field and destination matching logic
Signed-off-by: anandf <[email protected] >
* Added missing generated files
Signed-off-by: anandf <[email protected] >
* Fixed golint errors caused due to to gofumpt validations
Signed-off-by: anandf <[email protected] >
* Fix golint errors with unit test code
Signed-off-by: anandf <[email protected] >
* Updated the go import ordering with local packages at the end
Signed-off-by: anandf <[email protected] >
* Addressed review comments
Signed-off-by: anandf <[email protected] >
* Fixed ES lint error caused due to missing class
Signed-off-by: anandf <[email protected] >
* Updated the documentation to address the review comments
Signed-off-by: anandf <[email protected] >
* Simplified the sync code and improved logs and error handling
Signed-off-by: anandf <[email protected] >
* Fixed E2E tests to fail when no sa is configured
Signed-off-by: anandf <[email protected] >
* Updated help message generated for CLI commands
Signed-off-by: anandf <[email protected] >
* Fixed failing tests due to default service account not used for sync operation
Signed-off-by: anandf <[email protected] >
* Fixed the error message when sync fails due to no matching sa
Signed-off-by: anandf <[email protected] >
* Removed repeating logs and added impersonation fields to logger
Signed-off-by: anandf <[email protected] >
* Made changes in the proposal to match the behaviour when no matching sa is found
Signed-off-by: Anand Francis Joseph <[email protected] >
---------
Signed-off-by: anandf <[email protected] >
Signed-off-by: Mangaal <[email protected] >
Signed-off-by: Anand Francis Joseph <[email protected] >
Signed-off-by: Anand Francis Joseph <[email protected] >
Co-authored-by: Mangaal <[email protected] >
Co-authored-by: Ishita Sequeira <[email protected] >
2024-09-04 14:18:47 -04:00
Michael Crenshaw and GitHub
e6877a6bc2
chore: remove unused params ( #19473 )
...
* chore: remove unused params
Signed-off-by: Michael Crenshaw <[email protected] >
* more
Signed-off-by: Michael Crenshaw <[email protected] >
---------
Signed-off-by: Michael Crenshaw <[email protected] >
2024-08-15 07:29:51 -04:00
Matthieu MOREL and GitHub
417ff7b19e
chore: enable gofumpt and whitespace linters ( #18567 )
...
Signed-off-by: Matthieu MOREL <[email protected] >
2024-06-11 15:41:55 +00:00
1796b8821e
feat(application-controller): Add support for rollback multi-source applications ( #14124 )
...
* feat(application-controller): Add support for rollback multi-source applications
Signed-off-by: Jorge Turrado <[email protected] >
* regenerate codegen after rebase
Signed-off-by: Jorge Turrado <[email protected] >
* fix tests
Signed-off-by: Jorge Turrado <[email protected] >
* fix front linting
Signed-off-by: Jorge Turrado <[email protected] >
* update test
Signed-off-by: Jorge Turrado <[email protected] >
* update codegen
Signed-off-by: Jorge Turrado <[email protected] >
* Update server/application/application.go
Co-authored-by: Ishita Sequeira <[email protected] >
Signed-off-by: Jorge Turrado Ferrero <[email protected] >
* apply feedback
Signed-off-by: Jorge Turrado <[email protected] >
* fix errors
Signed-off-by: Jorge Turrado <[email protected] >
* add support for switching between single and multi
Signed-off-by: Jorge Turrado <[email protected] >
* fix dereference issue
Signed-off-by: Jorge Turrado <[email protected] >
* remove unnecesary code
Signed-off-by: Jorge Turrado <[email protected] >
* Rebase master
Signed-off-by: Jorge Turrado <[email protected] >
* fix style
Signed-off-by: Jorge Turrado <[email protected] >
* fix reference
Signed-off-by: Jorge Turrado <[email protected] >
* add a comment
Signed-off-by: Jorge Turrado <[email protected] >
---------
Signed-off-by: Jorge Turrado <[email protected] >
Signed-off-by: Jorge Turrado Ferrero <[email protected] >
Signed-off-by: Jorge Turrado <[email protected] >
Co-authored-by: Ishita Sequeira <[email protected] >
2024-06-10 17:54:07 -04:00
Matthieu MOREL and GitHub
eb14360d0b
chore: enable goimports linter ( #18564 )
...
Signed-off-by: Matthieu MOREL <[email protected] >
2024-06-10 09:18:12 -04:00
9f667f77de
fix: fix calculating patch for respect ignore diff feature ( #17693 )
...
* test: unit test for respectIgnoreDifferences bug
Signed-off-by: Jesse Suen <[email protected] >
* test: simplify unit test
Signed-off-by: Jesse Suen <[email protected] >
* fix: fix calculating patch for respect ignore diff feature
Signed-off-by: Alexander Matyushentsev <[email protected] >
---------
Signed-off-by: Jesse Suen <[email protected] >
Signed-off-by: Alexander Matyushentsev <[email protected] >
Co-authored-by: Jesse Suen <[email protected] >
2024-04-03 22:56:59 +00:00
812473cf92
fix: Appcontroller respects sync windows ( #16492 )
...
* fix: Appcontroller keeps op running when denied by sync window
Signed-off-by: Charles Coupal-Jetté <[email protected] >
* fix: Update test name
Signed-off-by: Charles Coupal-Jetté <[email protected] >
---------
Signed-off-by: Charles Coupal-Jetté <[email protected] >
Co-authored-by: Blake Pettersson <[email protected] >
2024-03-26 08:45:35 -04:00
Sorav Kumar Sharma and GitHub
b64559d732
fix the typo ( #17116 )
2024-02-07 18:32:07 +05:30
Robin Lieb and GitHub
085bff8651
feat: add initiated by in history and rollback view ( #16654 )
...
Signed-off-by: Robin Lieb <[email protected] >
2023-12-22 16:50:33 +00:00
Leonardo Luz Almeida and GitHub
1946addd6f
feat: Implement Server-Side Diff ( #13663 )
...
* feat: Implement Server-Side Diff
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* propagate the refreshtype to the diff config
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* Create the serverSideDiff config
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* chore: add featureflag utility package
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* remove featureflag package
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* add param
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* make ssd configurable with app annotation
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* add server-side-diff flags
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* apply the same logic regardless of the refresh type
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* fix gitops-engine reference
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* address review comments
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* Address review comments
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* docs: add docs related to server-side-diff
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* docs: update doc
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* Add config to include mutation webhooks
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* Address review comments
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* go mod update
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* Add sdd cache test case
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* fix ssd cache unit test
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* Update clidocs
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* update manifests
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* Fix procfile
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* additional doc changes
Signed-off-by: Leonardo Luz Almeida <[email protected] >
* update gitops-engine version
Signed-off-by: Leonardo Luz Almeida <[email protected] >
---------
Signed-off-by: Leonardo Luz Almeida <[email protected] >
2023-12-18 20:37:13 +00:00
Alexander Matyushentsev and GitHub
272fbd32cb
feat: PostDelete hook support ( #16595 )
...
* feat: PostDelete hooks support
Signed-off-by: Alexander Matyushentsev <[email protected] >
---------
Signed-off-by: Alexander Matyushentsev <[email protected] >
2023-12-18 08:40:23 -08:00
gdsoumya and GitHub
f63e51e7df
feat: grace period for repo errors to prevent aggressive unknown sync state ( #16085 )
...
* feat: added grace period for repo errors to prevent aggressive sync state unknowns
Signed-off-by: Soumya Ghosh Dastidar <[email protected] >
* feat: updated docs
Signed-off-by: Soumya Ghosh Dastidar <[email protected] >
* fix: e2e test
Signed-off-by: Soumya Ghosh Dastidar <[email protected] >
* feat: resolved review comments
Signed-off-by: Soumya Ghosh Dastidar <[email protected] >
* feat: update unit test
Signed-off-by: Soumya Ghosh Dastidar <[email protected] >
* fix: codegen
Signed-off-by: Soumya Ghosh Dastidar <[email protected] >
---------
Signed-off-by: Soumya Ghosh Dastidar <[email protected] >
Signed-off-by: gdsoumya <[email protected] >
2023-11-02 11:51:16 -04:00
Blake Pettersson and GitHub
0d52a16b14
fix: update managed namespace metadata ( #13074 )
...
* fix: update managed namespace metadata
This commit fixes an issue where a namespace does not get updated
unless a sync is performed. Since the `managedNamespaceMetadata` is not
a part of the Application Git state, we need a way to force a sync once
the metadata has changed. In order to do that, we need to add state
to compare with.
Once a sync is performed, the `ManagedNamespaceMetadata` gets copied
to `SyncResult`, which will then be compared with on subsequent syncs.
If there's a mismatch between
`app.Spec.SyncPolicy.ManagedNamespaceMetadata` and
`app.Status.OperationState.SyncResult.ManagedNamespaceMetadata` we mark
the Application as `OutOfSync`.
Fixes #12661 .
Signed-off-by: Blake Pettersson <[email protected] >
* fix: nil check
Signed-off-by: Blake Pettersson <[email protected] >
* fix: allow empty apps to be updated
If an app is empty but still differs in terms of
`managedNamespaceMetadata`, it should still be kept up to date.
Signed-off-by: Blake Pettersson <[email protected] >
* test: add unit tests in appcontroller
Signed-off-by: Blake Pettersson <[email protected] >
* fix: rebase
Signed-off-by: Blake Pettersson <[email protected] >
* refactor: extract method
Consolidate checks to `app.HasChangedManagedNamespaceMetadata()`
Signed-off-by: Blake Pettersson <[email protected] >
* chore: make codegen
Signed-off-by: Blake Pettersson <[email protected] >
---------
Signed-off-by: Blake Pettersson <[email protected] >
2023-05-19 09:55:08 -04:00
62e95ceb0b
fix: Add more context to the sync failed message when resource kind doesn't exist ( #12980 )
...
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <[email protected] >
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <[email protected] >
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <[email protected] >
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <[email protected] >
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <[email protected] >
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <[email protected] >
* Update util/argo/argo.go
Co-authored-by: Michael Crenshaw <[email protected] >
Signed-off-by: asingh <[email protected] >
* Update util/argo/argo.go
Co-authored-by: Michael Crenshaw <[email protected] >
Signed-off-by: asingh <[email protected] >
* improvements, maybe
Signed-off-by: Michael Crenshaw <[email protected] >
* remove unnecessary end quote
Signed-off-by: Michael Crenshaw <[email protected] >
* avoid conflicts with other tests
Signed-off-by: Michael Crenshaw <[email protected] >
---------
Signed-off-by: ashutosh16 <[email protected] >
Signed-off-by: asingh <[email protected] >
Signed-off-by: Michael Crenshaw <[email protected] >
Co-authored-by: Michael Crenshaw <[email protected] >
2023-04-03 15:48:50 +00:00
f6c1a78677
feat: Multiple sources for applications ( #2789 ) ( #10432 )
...
* feat: support multiple sources for application
Signed-off-by: ishitasequeira <[email protected] >
remove debug logging and unwanted code
Signed-off-by: ishitasequeira <[email protected] >
fix lint and unit test errors
Signed-off-by: ishitasequeira <[email protected] >
fix lint and unit test errors
Signed-off-by: ishitasequeira <[email protected] >
* fix bug introduced after rebase
Signed-off-by: ishitasequeira <[email protected] >
executed make codegen
Signed-off-by: ishitasequeira <[email protected] >
* rebase with master
Signed-off-by: ishitasequeira <[email protected] >
remove unwanted logging
Signed-off-by: ishitasequeira <[email protected] >
fix ci failures
Signed-off-by: ishitasequeira <[email protected] >
* fix index out of bounds error
Signed-off-by: ishitasequeira <[email protected] >
* ui fixes
Signed-off-by: ishitasequeira <[email protected] >
Signed-off-by: Michael Crenshaw <[email protected] >
Signed-off-by: ishitasequeira <[email protected] >
* add revisions to SyncOperation for rollback
Signed-off-by: ishitasequeira <[email protected] >
* change Source to *ApplicationSource in ApplicationSpec
Signed-off-by: ishitasequeira <[email protected] >
* fix env variable read logic for ValueFiles
Signed-off-by: ishitasequeira <[email protected] >
* update multiple sources doc
Signed-off-by: ishitasequeira <[email protected] >
* add repository lock and checkout target revision
Signed-off-by: ishitasequeira <[email protected] >
fix codegen
Signed-off-by: ishitasequeira <[email protected] >
* checkout all sources before generating manifest
Signed-off-by: ishitasequeira <[email protected] >
generate mock reposerverclient
Signed-off-by: ishitasequeira <[email protected] >
* update logic for returning ManifestResponse to avoid nil pointer issues
Signed-off-by: ishitasequeira <[email protected] >
* 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 <[email protected] >
Rebase with master
Signed-off-by: ishitasequeira <[email protected] >
* update grpc field numbers
Signed-off-by: ishitasequeira <[email protected] >
* path resolution tests (#12 )
Signed-off-by: Michael Crenshaw <[email protected] >
do things in better ways
Signed-off-by: Michael Crenshaw <[email protected] >
consolidate
Signed-off-by: Michael Crenshaw <[email protected] >
Signed-off-by: Michael Crenshaw <[email protected] >
Signed-off-by: ishitasequeira <[email protected] >
* add regex check for value of source.ref
Signed-off-by: ishitasequeira <[email protected] >
* add webhook tests
Signed-off-by: Michael Crenshaw <[email protected] >
change Source to *ApplicationSource in ApplicationSpec
Signed-off-by: ishitasequeira <[email protected] >
address PR comments
Signed-off-by: ishitasequeira <[email protected] >
rebase with master
Signed-off-by: ishitasequeira <[email protected] >
Retrigger CI pipeline
Signed-off-by: ishitasequeira <[email protected] >
rebased with master
Signed-off-by: ishitasequeira <[email protected] >
* fix env variable read logic for ValueFiles
Signed-off-by: ishitasequeira <[email protected] >
Address PR comments
Signed-off-by: ishitasequeira <[email protected] >
* add repository lock and checkout target revision
Signed-off-by: ishitasequeira <[email protected] >
fix codegen
Signed-off-by: ishitasequeira <[email protected] >
* checkout all sources before generating manifest
Signed-off-by: ishitasequeira <[email protected] >
* generate mock reposerverclient
Signed-off-by: ishitasequeira <[email protected] >
* address comments
Signed-off-by: ishitasequeira <[email protected] >
* update logic for returning ManifestResponse to avoid nil pointer issues
Signed-off-by: ishitasequeira <[email protected] >
* 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 <[email protected] >
Rebase with master
Signed-off-by: ishitasequeira <[email protected] >
* update grpc field numbers
Signed-off-by: ishitasequeira <[email protected] >
* add regex check for value of source.ref
Signed-off-by: ishitasequeira <[email protected] >
* Rebase with master
Signed-off-by: ishitasequeira <[email protected] >
* Added unit tests (#15 )
* add unit tests 1
* fix lint
Signed-off-by: ishitasequeira <[email protected] >
* fix application parameters tab, rebased UI changes, tests
Signed-off-by: ishitasequeira <[email protected] >
* More tests (#16 )
* more tests
Signed-off-by: Michael Crenshaw <[email protected] >
fix lint error
Signed-off-by: ishitasequeira <[email protected] >
Test get ref sources (#17 )
* test GetRefSources
Signed-off-by: Michael Crenshaw <[email protected] >
* fix lint
Signed-off-by: Michael Crenshaw <[email protected] >
Signed-off-by: ishitasequeira <[email protected] >
Signed-off-by: Michael Crenshaw <[email protected] >
Co-authored-by: ishitasequeira <[email protected] >
GenerateManifests test (#18 )
* GenerateManifests test
Signed-off-by: Michael Crenshaw <[email protected] >
Fix broken tests (#19 )
* fix broken tests
Signed-off-by: Michael Crenshaw <[email protected] >
Symlink test (#20 )
* check referenced sources for out-of-bounds symlinks
Signed-off-by: Michael Crenshaw <[email protected] >
* unlock the values file repo before doing a symlink check (#22 )
Signed-off-by: Michael Crenshaw <[email protected] >
* multi source docs (#21 )
* multi source docs
Signed-off-by: Michael Crenshaw <[email protected] >
* fix warning title
Signed-off-by: Michael Crenshaw <[email protected] >
* clarify
Signed-off-by: Michael Crenshaw <[email protected] >
* clarify
Signed-off-by: Michael Crenshaw <[email protected] >
Signed-off-by: Michael Crenshaw <[email protected] >
* 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 <[email protected] >
* add auto-sync and hard refresh to e2e tests
Signed-off-by: ishitasequeira <[email protected] >
* change refresh type to RefreshTypeNormal for e2e
Signed-off-by: ishitasequeira <[email protected] >
* update e2e testcase with helm data
Signed-off-by: ishitasequeira <[email protected] >
* add TestMultiSourceAppWithSourceOverride
Signed-off-by: ishitasequeira <[email protected] >
* add missing yaml file
Signed-off-by: ishitasequeira <[email protected] >
Signed-off-by: ishitasequeira <[email protected] >
* rebase with master
Signed-off-by: ishitasequeira <[email protected] >
* rebase with master
Signed-off-by: ishitasequeira <[email protected] >
* fix lint
Signed-off-by: ishitasequeira <[email protected] >
Signed-off-by: ishitasequeira <[email protected] >
Signed-off-by: Michael Crenshaw <[email protected] >
Signed-off-by: Michael Crenshaw <[email protected] >
Co-authored-by: Michael Crenshaw <[email protected] >
2022-12-16 15:47:08 -05:00
cf61c74192
feat: enable metadata to be set on namespaces ( #10672 )
...
* namespace labels
Signed-off-by: pashavictorovich <[email protected] >
* create namespace should support annotations
Signed-off-by: pashavictorovich <[email protected] >
* handle also modification hook
Signed-off-by: pashavictorovich <[email protected] >
* regenerate entity on modify hook
Signed-off-by: pashavictorovich <[email protected] >
* manifests
Signed-off-by: pashavictorovich <[email protected] >
* feat: enable metadata to be set on namespaces
This builds upon the work that @pasha-codefresh did in #10288 .
The main differences between this PR and the previous one is that we use
SSA to diff between different versions of the namespace, as well as
having a slightly different API in gitops-engine for setting the
namespace modifier.
We now also set the ownership of the namespace in ArgoCD.
Closes #4628
Closes #6215
Closes #7799
Signed-off-by: Blake Pettersson <[email protected] >
* fix: don't always track namespaces
For now, only allow namespaces managed with `managedNamespaceMetadata`
to have tracking set by Argo. Ideally we'd like new namespaces to also
be tracked by Argo, but there's currently an issue with a failing
integration test.
Also wrap error message if setting the app instance errors on the
namespace.
Signed-off-by: Blake Pettersson <[email protected] >
* fix: always return true with `hasManagedMetadata`
If `hasManagedMetadata` is set, `true` should always be returned.
Signed-off-by: Blake Pettersson <[email protected] >
* docs: add clarifying docs on resource tracking
Signed-off-by: Blake Pettersson <[email protected] >
* style: pr tweaks
Signed-off-by: Blake Pettersson <[email protected] >
* fix: re-add label unsetting
Signed-off-by: Blake Pettersson <[email protected] >
* Update gitops-engine to current master
Signed-off-by: Leonardo Luz Almeida <[email protected] >
Signed-off-by: pashavictorovich <[email protected] >
Signed-off-by: Blake Pettersson <[email protected] >
Signed-off-by: Leonardo Luz Almeida <[email protected] >
Co-authored-by: pashavictorovich <[email protected] >
Co-authored-by: Leonardo Luz Almeida <[email protected] >
2022-11-04 08:59:16 -04:00