Anand Francis Joseph
5f8de971c6
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 <anjoseph@redhat.com >
* Added comments for the newly added unit tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Refactored method name to deriveServiceAccountToImpersonate
Signed-off-by: anandf <anjoseph@redhat.com >
* Using const name in return value
Signed-off-by: anandf <anjoseph@redhat.com >
* Added unit tests for argocd proj add-destination-service-accounts
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failing e2e tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Fix linting errors
Signed-off-by: anandf <anjoseph@redhat.com >
* Using require package instead of assert and fixed code generation
Signed-off-by: anandf <anjoseph@redhat.com >
* Removed parallel execution of tests for sync with impersonate
Signed-off-by: anandf <anjoseph@redhat.com >
* Added err checks for glob validations
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed e2e tests for sync impersonation
Signed-off-by: anandf <anjoseph@redhat.com >
* Using consistently based expects in E2E tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Added more unit tests and fixed go generate
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failed lint errors, unit and e2e test failures
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed goimports linter issue
Signed-off-by: anandf <anjoseph@redhat.com >
* Added code comments and added few missing unit tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Added missing unit test for GetDestinationServiceAccounts method
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed goimports formatting with local for project_test.go
Signed-off-by: anandf <anjoseph@redhat.com >
* Corrected typo in a field name additionalObjs
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failing unit tests
Signed-off-by: anandf <anjoseph@redhat.com >
---------
Signed-off-by: anandf <anjoseph@redhat.com >
2024-10-03 07:37:50 -07:00
Matthieu MOREL
d7fc1bf2d7
chore: enable require-error rule from errorlint linter on controller folder ( #18690 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Signed-off-by: pasha-codefresh <pavel@codefresh.io >
Co-authored-by: pasha-codefresh <pavel@codefresh.io >
2024-06-17 13:05:27 +00:00
Matthieu MOREL
7cf5ed06d4
chore: enable gofumpt and whitespace linters ( #18567 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 15:41:55 +00:00
Matthieu MOREL
32519c70a5
chore: enable error-nil rule from testifylint linter ( #18544 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 10:38:55 -04:00
Matthieu MOREL
44b8dc1a4c
chore: enable len and empty rules from testifylint linter ( #18516 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-07 15:12:50 -04:00
pasha-codefresh
e23060540f
Merge pull request from GHSA-9m6p-x4h2-6frq
...
* feat: limit jq.Run with timeout
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* feat: ignore normalizer jq execution timeout as env variable
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* feat: customize error message and add doc section
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* feat: improve log and change a way how to get variable
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* chore: fix import`s order
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* chore: rename variable inside sts
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* chore: fix import order
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: pashakostohrys <pavel@codefresh.io >
2024-04-26 12:24:02 +03:00
Alexander Matyushentsev
44da2063c7
fix: fix calculating patch for respect ignore diff feature ( #17693 )
...
* test: unit test for respectIgnoreDifferences bug
Signed-off-by: Jesse Suen <jesse@akuity.io >
* test: simplify unit test
Signed-off-by: Jesse Suen <jesse@akuity.io >
* fix: fix calculating patch for respect ignore diff feature
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
---------
Signed-off-by: Jesse Suen <jesse@akuity.io >
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
Co-authored-by: Jesse Suen <jesse@akuity.io >
2024-04-03 22:56:59 +00:00
Charles Coupal-Jetté
295dff6a38
fix: Appcontroller respects sync windows ( #16492 )
...
* fix: Appcontroller keeps op running when denied by sync window
Signed-off-by: Charles Coupal-Jetté <charles.coupaljette@goto.com >
* fix: Update test name
Signed-off-by: Charles Coupal-Jetté <charles.coupaljette@goto.com >
---------
Signed-off-by: Charles Coupal-Jetté <charles.coupaljette@goto.com >
Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com >
2024-03-26 08:45:35 -04:00
gdsoumya
be2a01c231
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 <gdsoumya@gmail.com >
* feat: updated docs
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* fix: e2e test
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* feat: resolved review comments
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* feat: update unit test
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* fix: codegen
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
---------
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
Signed-off-by: gdsoumya <44349253+gdsoumya@users.noreply.github.com >
2023-11-02 11:51:16 -04:00
Eng Zer Jun
03026997d1
chore: use t.Setenv to set env vars in tests ( #14377 )
...
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2023-07-06 19:50:08 -04:00
Blake Pettersson
aed1be6388
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 <blake.pettersson@gmail.com >
* fix: nil check
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* 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 <blake.pettersson@gmail.com >
* test: add unit tests in appcontroller
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: rebase
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* refactor: extract method
Consolidate checks to `app.HasChangedManagedNamespaceMetadata()`
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: make codegen
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
---------
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
2023-05-19 09:55:08 -04: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
Leonardo Luz Almeida
6240ef00e7
feat: new sync option to use ignore diff configs during sync ( #8078 )
...
feat: new sync option to use ignore diff configs during sync (#8078 )
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
2022-01-13 13:00:17 -08:00
Leonardo Luz Almeida
970bb80b28
feat: add new sync option to fail if finds shared resources ( #7444 )
...
* feat: add new sync option to fail if finds shared resources
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* docs: add docs for FailOnSharedResource sync option
Signed-off-by: Leonardo Luz Almeida <leoluz@users.noreply.github.com >
2021-10-20 08:06:41 -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
Alexander Matyushentsev
ba71ad934c
refactor: upgrade k8s client to 1.18 ( #4046 )
...
* refactor: upgrade k8s client to 1.18
* remove unnecessary go mod replacements
2020-08-05 11:36:40 -07:00
Alexander Matyushentsev
42e24e6e2a
fix: controller should not re-trigger auto-sync if sync failed due to comparison error ( #3824 )
2020-06-22 14:09:22 -07:00
Alexander Matyushentsev
fe8d47e0ea
feat: move engine code to argoproj/gitops-engine repo ( #3599 )
2020-05-15 14:39:29 -07:00
Alexander Matyushentsev
192ee93fc4
feat: Gitops engine ( #3066 )
...
* Move utils packages that are required for gitops engine under engine/pkg/utils package.
Following changes were implemented:
* util/health package is split into two parts: resource health assessement & resource health assessement and moved into engine/pkg/utils
* utils packages moved: Closer and Close method of util package moved into engine/pkg/utils/io package
* packages diff, errors, exec, json, kube and tracing moved into engine/pkg/utils
* Move single cluster caching into engine/kube/cache package
* move sync functionality to engine/kube/sync package
* remove dependency on metrics package from engine/pkg/utils/kube/cache
* move annotation label definitions into engine/pkg/utils/kube/sync
* make sure engine/pkg has no dependencies on other argo-cd packages
* allow importing engine as a go module
* implement a high-level interface that might be consumed by flux
* fix deadlock caused by cluster cache event handler
* ClusterCache should return error if requested group kind not found
* remove obsolete tests
* apply reviewer notes
2020-05-15 10:01:18 -07:00
Andreas Kappler
8d082cc46e
feat: Introduce sync-option SkipDryRunOnMissingResource=true ( #2873 ) ( #3247 )
...
* feat: Introduce sync-option SkipDryRunOnMissingResource=true
2020-04-08 10:53:18 -07:00
jannfis
9fdd782854
fix: Do not panic while running hooks with short revision ( #3368 )
2020-04-05 23:54:09 -07:00
Alexander Matyushentsev
7fd7999e49
fix: increase max connections count to support clusters with very large number of CRDs ( #3278 )
2020-03-25 01:02:33 -07:00
Alex Collins
ebc048167c
feat: Supports the validate-false option at an app level. Closes #1063 ( #2542 )
2020-02-10 14:09:25 -08:00
Alex Collins
f44681693a
Fix bug preventing Helm CRDs from being installed ( #2500 )
2019-10-16 10:12:38 -07:00
Alex Collins
38b0f9d21f
Deals with race condition when deleting resource. Closes #2141 ( #2200 )
2019-08-22 17:17:04 -07:00
Alex Collins
3f312a9e92
Adds support for hook-delete-policy: BeforeHookCreation. Closes #2036 ( #2048 )
2019-08-07 10:32:49 -07:00
Alexander Matyushentsev
d3c850b8e7
Issues #1513 - Make sure insecure flag works for remote Kustomize bases ( #1934 )
...
* Make sure insecure flag works for remote Kustomize bases
2019-07-12 17:17:23 -07:00
Simon Behar
fb5e85d7fa
Added SyncFail hooks ( #1795 )
2019-06-28 15:50:02 -07:00
Alex Collins
d2647e85a9
Fixes a bug where cluster objs could leave app is running op state. C… ( #1796 )
2019-06-20 21:26:19 -07:00
Alex Collins
4660456ad9
Adds Validate=false that disables validation when applying resources.… ( #1750 )
2019-06-18 14:07:26 -07:00
Alex Collins
b7f1639016
No longer waits for healthy before completing sync op. Closes #1715 ( #1727 )
2019-06-11 15:47:19 -07:00
Alex Collins
00889551e7
Adds Prune=false and IgnoreExtraneous options ( #1680 )
2019-06-07 08:46:11 -07:00
Alex Collins
243378b035
Sync wave ( #1634 )
2019-06-04 18:17:41 -07:00
Jesse Suen
cc7b283f23
Deprecate componentParameterOverrides in favor of source specific config ( #1207 )
...
* Deprecate componentParameterOverrides in favor of source specific config
* Support rollback when application source changes
* Removes the legacy spec.source.environment and spec.source.valuesFiles which were deprecated in v0.11
* Fix issue where argocd app create APPNAME --file didn't fail when there were name conflicts
* Fix issue where auto-sync and app deletion would cause infighting
2019-03-04 00:56:36 -08:00
Alexander Matyushentsev
074c812592
Fix sync operation sorting ( #1042 )
2019-01-18 07:32:50 -08:00
Alexander Matyushentsev
df0591a831
Issue #978 - Fix application rollback to deployment without overrides ( #979 )
...
* Issue #978 - Fix application rollback to deployment without overrides
* Fix imports sorting
2019-01-04 10:16:41 -08:00
Jesse Suen
cbaf8a0bc8
Promote resources field in ComparisonStatus to application.status
...
Fix pruning/syncing when changing application namespace
Rename DeploymentInfo to RevisionHistory to be consistent with k8s
2018-12-04 10:03:01 -08:00
Jesse Suen
f5861aa708
Refactor, consolidate and rename resource type datastructures
2018-12-04 10:03:01 -08:00
Jesse Suen
4fa33f300b
Proper treatment of resource lifecycle hooks: ( #859 )
...
* do not allow hooks to affect Synced or Health status
* do not delete hooks during a sync --prune
* add health statuses for jobs and pods
2018-12-03 10:27:43 -08:00
Alexander Matyushentsev
93ad11095a
Resources events streaming bug fixes: panic ( #699 ), stale cache detection, restaring bad watchers ( #852 )
2018-11-30 11:29:12 -08:00
Jesse Suen
83fb5fb388
Rename 'controlled resources' to 'managed resources' ( #850 )
...
Rename 'resources tree' to 'resource tree'
2018-11-30 10:32:31 -08:00
Alexander Matyushentsev
6dede28f72
Issue #696 - Support apps with static namespaces in resources ( #842 )
2018-11-29 15:34:46 -08:00
Alexander Matyushentsev
6368a3e548
Refactor application controller ( #840 )
...
* Refactor application controller
2018-11-28 13:38:02 -08:00
Jesse Suen
3b447a19ea
Support for Pods as a sync hook ( #801 )
...
Add app label to pod metadata in job.spec.template.labels
Fix issue where hooks could bypass a project whitelist/blacklist (issue #794 )
Fix issue where deletion of hooks did not perform a cascaded deletion (issue #797 )
2018-11-21 11:58:08 -08:00
Alexander Matyushentsev
44087fa1b5
Issue #621 - Remove resources state from application CRD ( #758 )
2018-11-16 17:10:04 -08:00
Alexander Matyushentsev
93a808e65a
Issue #627 - Cluster watch needs to be restarted when CRDs get created ( #678 )
2018-10-05 13:18:12 -04:00
Alexander Matyushentsev
70b9db68b4
Issue #599 - Lazy enforcement of unknown cluster/namespace restricted resources ( #612 )
2018-09-20 09:48:54 -07:00
dthomson25
954706570c
Reorder K8s resources to correct creation order ( #551 )
2018-09-10 10:14:14 -07:00
Jesse Suen
d633f6b299
Support for PreSync, Sync, PostSync resource hooks ( #350 )
...
* Rewrite controller sync logic to support workflow-based sync
* Redesign hook implementation to support generic resources as hooks
2018-07-07 00:54:06 -07:00