Papapetrou Patroklos
6cd65b4622
fix: error sending generate manifest metadata cmp server ( #25891 )
...
Signed-off-by: Patroklos Papapetrou <ppapapetrou76@gmail.com >
2026-01-19 08:47:01 +02:00
sivchari
922d080ae5
chore: upgrade Go to 1.24 ( #22242 )
...
Signed-off-by: sivchari <shibuuuu5@gmail.com >
2025-03-10 10:14:41 -04:00
github-actions[bot]
4d9835927d
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 <350466+crenshaw-dev@users.noreply.github.com >
2025-01-10 16:14:00 -05:00
Matthieu MOREL
8a6f53d044
chore: enable errorf of perfsprint linter ( #21280 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-12-30 10:56:41 +02:00
Matthieu MOREL
cc989251ef
chore: enable thelper linter ( #20405 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-16 17:37:03 +00:00
Javier Solana
b8249567ae
feat: transmit manifest-generate-path resources to the cmp-server for plugin-based applications ( #19209 )
...
* chore: transmit manifest-generate-path resources to the cmp-server for plugin-based applications
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* use SecureJoin
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* make cmp manifests generation using manifest generate path annotation configurable by environment variable
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* fix missing doc running codegen-local
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* set reposerver.plugin.enable.manifests.generation.using.annotations false by default
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* define ARGOCD_REPO_SERVER_PLUGIN_ENABLE_GENERATE_MANIFESTS_USING_MANIFEST_GENERATE_PATHS_ANNOTATION properly
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* define ARGOCD_REPO_SERVER_PLUGIN_ENABLE_GENERATE_MANIFESTS_USING_MANIFEST_GENERATE_PATHS_ANNOTATION properly
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* Fix conflict
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* autogenerate install manifests
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* add note about common root path calculation for manifest paths annotation
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* log common root path calculated
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* app path must be the lower common path
Signed-off-by: Javier Solana <javier.solana@cabify.com >
* tweaks
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Javier Solana <javier.solana@cabify.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-09-24 12:14:02 -04:00
Matthieu MOREL
d7e99224d4
chore: enable errorlint linter on util folder ( #18588 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 10:42:32 -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
Jiacheng Xu
42bdb5ab1b
fix: CMPv2 does not allow symlinks to adjacent files in same git repo. Fixes #13342 ( #13360 )
...
fix: CMPv2 does not allow symlinks to adjacent files in same git repo. Fixes #13342 (#13360 )
Signed-off-by: Jiacheng Xu <xjcmaxwellcjx@gmail.com >
2023-05-08 16:29:08 -07:00
Michael Crenshaw
29c7f5ad6c
fix: surface errors when compressing files ( #13491 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-05-08 19:57:13 +00:00
Alexander Matyushentsev
304a7428d6
feat: allow CMP plugins to preserve repo files mode ( #12940 )
...
* feat: allow CMP plugins to preserve repo files mode
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* implement missing e2e test
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
---------
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2023-03-22 12:15:19 -04:00
Michael Crenshaw
95b38f1db4
feat: parameterized config management plugins ( #9135 ) ( #9216 )
...
* feat: parameterized CMPs
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* values types for parameters
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* Add types for CMP announcement
Signed-off-by: zachaller <zachaller@hotmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* Reorg
Signed-off-by: zachaller <zachaller@hotmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* finish type
Signed-off-by: zachaller <zachaller@hotmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* First pass at working GetParametersAnnouncement
Signed-off-by: zachaller <zachaller@hotmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* Typos
Signed-off-by: zachaller <zachaller@hotmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* Make all fields optional
Signed-off-by: zachaller <zachaller@hotmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* Make sure response makes it to repo server
Signed-off-by: zachaller <zachaller@hotmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* Refactor for testing
Signed-off-by: zachaller <zachaller@hotmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* lint
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* send build env to param announcement gen
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* test parameter announcement
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* tests
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* environ tests
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* Rename workdir to app dir
Signed-off-by: zachaller <zachaller@hotmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* handle empty command, start ui work (#11 )
* Add types for CMP announcement
Signed-off-by: zachaller <zachaller@hotmail.com >
* Reorg
Signed-off-by: zachaller <zachaller@hotmail.com >
* finish type
Signed-off-by: zachaller <zachaller@hotmail.com >
* First pass at working GetParametersAnnouncement
Signed-off-by: zachaller <zachaller@hotmail.com >
* Typos
Signed-off-by: zachaller <zachaller@hotmail.com >
* Make all fields optional
Signed-off-by: zachaller <zachaller@hotmail.com >
* Make sure response makes it to repo server
Signed-off-by: zachaller <zachaller@hotmail.com >
* Refactor for testing
Signed-off-by: zachaller <zachaller@hotmail.com >
* values types for parameters
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* lint
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* send build env to param announcement gen
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* test parameter announcement
* tests
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* environ tests
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* Rename workdir to app dir
Signed-off-by: zachaller <zachaller@hotmail.com >
* handle empty command, start ui work
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* fix order
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* fix map merging, make params read-only
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
Co-authored-by: zachaller <zachaller@hotmail.com >
* Add helm PoC example plugin
Signed-off-by: zachaller <zachaller@hotmail.com >
* example as kustomize overlay
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* Parameterized cmps docs (#12 )
* use printf instead of echo
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* docs
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* test for temp dir cleanup
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* handle empty params
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* handle empty values
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* consolidate types
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* fix tests
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* docs
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* docs
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* remove duplicate info
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* add warning about param announcements vs param values
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* tests (#13 )
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* tests
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* fix types
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* fix test
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* fix codegen
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* fix codegen
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* revert test hack
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* docs correction
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* fix indentation
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* fix spacing
Signed-off-by: CI <michael@crenshaw.dev >
* move util function to util file and add test
Signed-off-by: CI <michael@crenshaw.dev >
* wrap error
Signed-off-by: CI <michael@crenshaw.dev >
* correct version number
Signed-off-by: CI <michael@crenshaw.dev >
* document necessity of collectionType param
Signed-off-by: CI <michael@crenshaw.dev >
* remove part of error message that's not useful (dir name is now randomized)
Signed-off-by: CI <michael@crenshaw.dev >
* fix things so that they are not broken
Signed-off-by: CI <michael@crenshaw.dev >
* don't close file before caller gets a chance to use it
Signed-off-by: CI <michael@crenshaw.dev >
* codegen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix test
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix test
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* DON'T PANIC
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
Signed-off-by: zachaller <zachaller@hotmail.com >
Signed-off-by: CI <michael@crenshaw.dev >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: zachaller <zachaller@hotmail.com >
2022-11-29 13:08:32 -05:00
Jake
95987d8bea
feat: server-side manifest generation for local diff ( #8145 ) ( #10019 )
...
* feat: server-side manifest generation for diff (#8145 )
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fix docs, mocks, ineffectual err
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fix CMPs, ineffectual err
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* refactor
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* add unit tests
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* handle err
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* add size limits and inclusion filters
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fix docs
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fix errors, increase defaults
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* use quantity, wrap errors, add security fields to logs, deprecation warning
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* have e2e test use server side generation
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* nits
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* remove unused import
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fix merge conflict
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fix conflicts
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fix e2e test
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* add deprecation/breaking change info
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* remove security logging stuff, will be in a separate PR
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* more specific docs
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* add security logging
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
2022-08-17 14:48:50 -04:00
jannfis
f34687bd80
chore: Replace deprecated ioutil in util packages ( #9848 )
...
Signed-off-by: jannfis <jann@mistrust.net >
2022-07-06 12:45:04 -04:00
Jake
355025240c
fix: configurable CMP tar exclusions ( #9675 ) ( #9789 )
...
* feat: configurable CMP tar exclusions
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* rename cmp to plugin
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* add test for tar stream exclusions
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fix tests
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* update cmp guide
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fully parameterize
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
2022-06-29 16:27:02 -04:00
ls0f
c29651de91
receiveFile memory optimization: do not use bytes.buffer but write directly to file ( #9415 )
...
Signed-off-by: ls0f <lovedboy.tk@qq.com >
2022-05-16 11:33:16 -04:00
Michael Crenshaw
6d776b00e8
chore: remove orphaned code ( #9171 )
...
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
2022-04-26 22:00:35 +03:00
Ilya Lesikov
19cff7f828
fix: env var values with equal sign ignored ( #8793 )
...
Environment variable with "=" in its value is not passed to sidecar
config management plugin, but ignored.
Signed-off-by: Ilya Lesikov <ilya@lesikov.com >
2022-03-23 10:00:36 -04:00
Leonardo Luz Almeida
41db812474
feat: remove shared repo volume between repo-server and cmp-server ( #8600 )
...
feat: remove shared repo volume between repo-server and cmp-server (#8600 )
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
2022-03-15 12:06:21 -07:00