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
Kunho Lee
9b11b21f00
fix: check err before use schedule and duration ( #20043 )
...
* fix: check err before use schedule and duration
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
* test: add tests for invalid schedule and duration
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
* feat: change to return error when sync window is invalid
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
* fix: use assert.Error or assert.NoError
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
* fix: use require instead of assert
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
---------
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
2024-10-12 13:32:46 -04:00
Daan Verstraten
e1472f309a
chore: replacing custom map util functions with golang std ( #20311 )
...
Signed-off-by: Daan Verstraten <daanverstraten@hotmail.com >
2024-10-09 10:34:03 -04:00
ABBOUD Moncef
fe7771cc83
fix: handle incorrect cluster RESTconfig without panic ( #20150 )
...
Signed-off-by: cef <moncef.abboud95@gmail.com >
2024-10-06 17:55:26 +03:00
Alexander Matyushentsev
03a16099b0
fix: support managing cluster with multiple argocd instances and annotation based tracking ( #20222 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-10-04 17:54:37 -07:00
Matthieu MOREL
1c6ec19a86
fix: use ErrorContains(t, err instead of Contains(t, err.Error() ( #20220 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-04 09:36:05 -04: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
Cayde6
eba559a449
feat: option to disable writing k8s events( #18205 ) ( #18441 )
...
* feat: option to disable writing k8s events
optioned to write logs for k8s events.
Each is passed as an environment variable and defaults to true,
disabling it requires explicitly setting the option to false.
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
* feat: option to disable writing k8s events
fix unit test
- application_test
- applicationset_test
- project_test
- appcontroller_tes
- audit_logger_test
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
* rebase
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
---------
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
2024-09-23 08:32:17 +05:30
morapet
bcc224b32c
prevent crash during timer expiration after stream is closed ( #19917 )
...
Reorder ticker stop and close merge to prevent send(true) happens after merge is closed, in rare situation when the timer expires exactly at the point between close(merge) and ticker.Stop()
Signed-off-by: morapet <peter@moran.sk >
2024-09-17 15:02:38 +05:30
Ashu
5776554819
feat(lua actions): add a flag to Include builtin actions with resource overrides ( #19708 )
...
* feat: include prebuilt action with overrides
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
Signed-off-by: Ashu <11219262+ashutosh16@users.noreply.github.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2024-09-10 11:57:29 -07:00
Cheng Fang
e3e02f0064
chore(lint): errors reported by golangci-lint: S1009: should omit nil check; printf: non-constant format string ( #19773 )
...
Signed-off-by: Cheng Fang <cfang@redhat.com >
Co-authored-by: pasha-codefresh <pavel@codefresh.io >
2024-09-04 14:58:15 +00:00
Michael Crenshaw
a0a5a186d9
chore: enable lint for deprecated symbols ( #19651 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-08-22 18:11:00 -04:00
Michael Crenshaw
457bb1f23c
chore(tests): speed up unit tests ( #19617 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-08-22 13:59:27 -04:00
Michael Crenshaw
6aa4de62c8
chore: remove unused params ( #19473 )
...
* chore: remove unused params
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-08-15 07:29:51 -04:00
Regina Voloshin
4835e5008a
fix: Exec with disable auth not logged in #17114 ( #19529 )
...
* initial with tests
Signed-off-by: reggie-k <regina.voloshin@codefresh.io >
* refactor
Signed-off-by: reggie-k <regina.voloshin@codefresh.io >
* cleanup
Signed-off-by: reggie-k <regina.voloshin@codefresh.io >
* made TerminalOpts public and lint
Signed-off-by: reggie-k <regina.voloshin@codefresh.io >
* pass reference
Signed-off-by: reggie-k <regina.voloshin@codefresh.io >
---------
Signed-off-by: reggie-k <regina.voloshin@codefresh.io >
Co-authored-by: pasha-codefresh <pavel@codefresh.io >
2024-08-15 10:48:45 +00:00
pengbanban
dc544da6ae
chore: fix function names ( #19371 )
...
Signed-off-by: pengbanban <pengbanban@aliyun.com >
2024-08-04 12:48:46 -07:00
pasha-codefresh
e36248cb22
Merge commit from fork
...
* feat: verify rbac on each message and not just during handshake
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* cover with tests
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix: linter and e2e tests
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix: linter and e2e tests
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: pashakostohrys <pavel@codefresh.io >
2024-07-24 12:18:15 +03:00
Michael Crenshaw
65fddab260
chore: use .mockery.yaml for all mocks ( #19149 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-07-22 20:03:50 -04:00
Michael Crenshaw
a624c90845
fix(server): could not find source for metadata revision ( #18744 ) ( #18763 )
...
* fix(server): could not find source for metadata revision (#18744 )
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* the linter behaves poorly
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 >
* share logic with chart endpoint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more intuitive check
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* remove debug line
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-06-23 21:08:17 -04:00
Siddhesh Ghadi
4c6ad9dcc1
feat: Add labels on Application's k8s events ( #11381 ) ( #18160 )
...
* Add labels on Application's k8s events
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
* Fix typo
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
* Add new cm keys & doc
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
* Fix typo
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
* correct rebase changes
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
* Fix linting
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
---------
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
2024-06-17 13:27:54 -04:00
Matthieu MOREL
c556cf7ea5
chore: enable require-error rule from errorlint linter on server folder ( #18687 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-15 19:13:40 -04:00
Matthieu MOREL
9f1e2e8453
chore: enable gocritic linter ( #18633 )
...
* chore: enable gocritic linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update settings.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update grpcproxy.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update grpcproxy.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update util.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update server.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app_management_ns_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app_management_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update path_traversal.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update sessionmanager.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-13 15:10:00 -04:00
Matthieu MOREL
f1848f5455
chore: enable errorlint linter on server folder ( #18624 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-12 19:43:25 -04: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
Jorge Turrado Ferrero
0e531c956e
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 <jorge_turrado@hotmail.es >
* regenerate codegen after rebase
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix tests
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix front linting
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* update test
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* update codegen
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* Update server/application/application.go
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es >
* apply feedback
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix errors
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* add support for switching between single and multi
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix dereference issue
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* remove unnecesary code
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* Rebase master
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl >
* fix style
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix reference
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* add a comment
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl >
---------
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es >
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2024-06-10 17:54:07 -04:00
Matthieu MOREL
4a01f8a69a
chore: enable expected-actual rule from testifylint linter ( #18575 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 20:33:00 +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
33df2ce698
chore: enable goimports linter ( #18564 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 09:18:12 -04:00
Blake Pettersson
4fd478b271
feat: project-scoped repository credential improvements ( #18388 )
...
* feat: project-scoped repo cred improvements
Implementation of #18290
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: missed a test
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* wip project key changes
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: update mocks
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: fix tests
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: equivalence even if project is empty
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: wip delete
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* refactor: remove repositorydb
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: improve logging
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: pass project to getrepository
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: fix failing test
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: compare with project secret instead of app secret
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: get repository needs same logic as delete
Need to update the spec accordingly.
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* feat: add project flag to repo rm command
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* docs: make codegen
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: fix failing test
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: more failing tests
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: minor cleanups
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: propagate project from ui
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: add new test cases
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: code review, improve formulation
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* refactor: address cr feedback
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
---------
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-06-07 18:47:55 -07: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
Ishita Sequeira
d871b7f0c2
fix source ordering issue in manifest generation for multi-source app while using manifests and diff commands ( #18395 )
2024-05-24 16:50:56 -04:00
Ishita Sequeira
710bb76107
update resolveRevision to use the correct source for multi-source app ( #18194 )
2024-05-13 23:42:14 +03:00
Alexandre Gaudreault
49059113c2
feat(rbac): fine-grained update/delete for application resources ( #18124 )
...
* feat(rbac): fine-grained update/delete for application resources
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* rewrite rbac (draft)
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* add other stuff
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* spellcheck
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* update map
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* spell check
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* linter not happy about deprecated claims
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* not happy about claims at all
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* generated
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* fix list syntax
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* use same link pattern
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* rewrite permissions to policy when it applies
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
* Update docs/operator-manual/rbac.md
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
---------
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2024-05-13 15:04:18 -04:00
sivchari
ef96dec5b2
chore: Bump Kubernetes 1.29.2 ( #17491 )
...
* run: go mod tidy
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* change interface of Broadcaster
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* modify some logic due to updating controller-runtime version
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* modify some logic due to updating controller-runtime version
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix args of GetInformer
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix signature for mock
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* update mock
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use ptr instead of pointer
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use recommended function instead of deprecated it in wait package
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* run make codegen
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* re-run codegen
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix codegen tasks to pass the codegen
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* replace pointer package with ptr package
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* add option to manage subresource
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix len args
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix: error message for updating lib-version
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use poll
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* add cache opt
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use ptr instead of pointer
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* add status subresource
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use latest commit
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix watch namespace
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use latest gitops-engine
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* delete unnecessary polling
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* revert changes in Makefile
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* re-add openapi-gen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* codegen w/ correct versions
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* revert
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* extend timeout
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* break loop even if service account does not have secrets
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix review points
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* replace gitops-engine
Signed-off-by: sivchari <shibuuuu5@gmail.com >
---------
Signed-off-by: sivchari <shibuuuu5@gmail.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 >
2024-05-08 11:16:18 -04:00
Ishita Sequeira
c204f247d3
feat(cli): add support for multiple sources to sync command ( #17808 )
...
* update sync command
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* use arrays instead of map to display ApplicationManifetQuery fields in swagger
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rebase and update logic for sync command
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update conditions
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update displayRevisions on OperationState
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* remove rerunreport file
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix index 0 out of bounds error
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Address comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rename GetSourcePtrBySourceIndex to GetSourcePtrByIndex
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rename GetSourcePtrBySourcePosition to GetSourcePtrByPosition
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rebase with master and resolve conflicts
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Address feedback and add tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix unit test
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
---------
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
2024-04-29 11:23:49 +03:00
pasha-codefresh
44894e9e43
fix: docker build fails due to ' http://deb.debian.org/debian buster-backports Release' does not have a Release file. ( #17836 )
...
* fix: docker build fails due to "The repository 'http://deb.debian.org/debian buster-backports Release' does not have a Release file."
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix: linter issue
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix codegen issue
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix e2e tests
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix linter
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: pashakostohrys <pavel@codefresh.io >
2024-04-15 08:50:06 -04:00
pasha-codefresh
6646c6b102
Merge pull request from GHSA-2gvw-w6fj-7m3c
...
* chore: Update USERS.md (#17683 )
Add Shield.com as one of the users in the USER.md file
Signed-off-by: suhas-chikkanna <162577490+suhas-chikkanna@users.noreply.github.com >
sec: validate project before execute action
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* sec: validate a project before execute an action
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: pashakostohrys <pavel@codefresh.io >
Co-authored-by: suhas-chikkanna <162577490+suhas-chikkanna@users.noreply.github.com >
2024-04-15 10:20:07 +03:00
Ishita Sequeira
922abefc81
fix(api): use arrays instead of map to display ApplicationManifetQuery fields in swagger ( #17804 )
...
* use arrays instead of map to display ApplicationManifetQuery fields in swagger
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix equality conditions for souce-position check
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
---------
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
2024-04-12 16:07:31 -04:00
Ishita Sequeira
4b11524242
feat(cli): add support for multiple sources to app diff|manifests command with revisions flag ( #17650 )
...
* Add support for multiple source to manifests --revision command
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Update GetManifests to support multiple sources
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* remove testing logs
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update cli docs
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add extra validation for diff command
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix lint
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Empty-Commit
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* revert apimachinery version
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Update docs based on comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
---------
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
2024-04-03 18:26:56 +00:00
Lukasz
614f44c26c
feat(server): Add maxPodLogsToRender setting ( #14617 )
...
Signed-off-by: lukasz <lukasz.luszczynski@getyourguide.com >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2024-04-03 13:06:12 -04:00
jannfis
d69c61ae1a
Merge pull request from GHSA-6v85-wr92-q4p7
...
* fix: Fix concurrency issue in session manager
Signed-off-by: jannfis <jann@mistrust.net >
* Add note that modification to the map must be done in a thread safe manner
* chore: fix linter issues
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: jannfis <jann@mistrust.net >
Signed-off-by: pashakostohrys <pavel@codefresh.io >
Co-authored-by: Dan Garfield <dan@codefresh.io >
Co-authored-by: pashakostohrys <pavel@codefresh.io >
2024-03-18 03:59:06 -04:00
Michael Crenshaw
3b8f673f06
Merge pull request from GHSA-g623-jcgg-mhmm
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-03-13 14:28:43 -04:00
Michael Crenshaw
23e0d527e1
feat(security): log user when access is blocked ( #16558 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-12-18 09:41:32 -05:00
Ferenc Kovacs
a6b80df6ee
feat(app): Support app sync --dry-run --revision some-revision with arbitrary revisions( #12592 ) ( #16387 )
...
Signed-off-by: Ferenc Kovacs <info@tyrael.hu >
2023-11-20 10:47:42 -05:00
Marco Maurer (-Kilchhofer)
841339d2ff
chore: Use safe example domains defined in RFC 2606 ( #16389 )
2023-11-20 04:34:04 -05:00
Blake Pettersson
9e0e8d5e8a
chore(deps): upgrade k8s version and client-go ( #15852 )
...
* chore(deps): upgrade k8s version and client-go
Signed-off-by: fengshunli <1171313930@qq.com >
* revert bad merge
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix codegen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix codegen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix: check for double definition
As found in #13965 (and as a follow-up to #13999 ), we also need to
define what happens if _both_ managedNamespaceMetadata _and_ an
Application manifest are both defined for the same namespace.
The idea here is that if that happens, we emit an
`ApplicationConditionRepeatedResourceWarning`, and set the sync status
to `Unknown`, since it's unclear what is supposed to happen.
The user will then have the option of removing one of the two
definitions.
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: check for double definition
A simpler fix - don't add a managed namespace to the targetObjs list if
a namespace already exists in the application source.
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* build: extra space in doc
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* build: extra space in doc, again
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: bump gitops-engine
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
---------
Signed-off-by: fengshunli <1171313930@qq.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
Co-authored-by: fengshunli <1171313930@qq.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-10-18 08:17:00 -07:00
Joseph Lombrozo
f8f9ae9acc
fix: update docs for ApplicationService.Get to reflect reality ( #15927 )
...
Signed-off-by: Joe Lombrozo <joe@djeebus.net >
2023-10-12 13:31:22 -04:00
jannfis
b7ef32eafc
fix: Better enforcement of application namespace restrictions ( #15431 )
...
* fix: Better enforce application namespace restrictions
Signed-off-by: jannfis <jann@mistrust.net >
* Only call ValidateDestination when allowed
Signed-off-by: jannfis <jann@mistrust.net >
---------
Signed-off-by: jannfis <jann@mistrust.net >
2023-09-11 19:17:02 -04:00
yyzxw
ef7f32eb84
chore: remove duplicate function ( #15123 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-08-30 15:55:11 -04:00
Torbjørn Fjørtoft
d557be4dd2
fix: make WatchResourceTree use namespaced cache key ( #15258 )
...
* fix: make WatchResourceTree use namespaced application cache key
Signed-off-by: Torbjørn Fjørtoft <torbjorn.fjortoft@pgs.com >
* chore: add PGS to USERS.md
Signed-off-by: Torbjørn Fjørtoft <torbjorn.fjortoft@pgs.com >
---------
Signed-off-by: Torbjørn Fjørtoft <torbjorn.fjortoft@pgs.com >
2023-08-30 09:34:52 -04:00