Leonardo Luz Almeida
212efa4914
feat: allow individual extension configs ( #20491 )
...
* feat: allow individual extension configs
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* fix test
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* update ext docs
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* + docs
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* pr review
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* address review comments
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
---------
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
2024-10-23 12:33:53 -04:00
Alexandre Gaudreault
29c59ab135
Revert "feat: exclude Endpoints and EndpointSlices Kubernetes resource by default" ( #20334 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2024-10-10 17:43:16 +00:00
변재한
8ebf4a8841
feat: Enable ignoreResourceUpdate by default #19992 ( #20303 )
...
Signed-off-by: jaehanbyun <awbrg789@naver.com >
2024-10-10 12:39:04 -04:00
변재한
a288b4d8c9
feat: exclude Endpoints and EndpointSlices Kubernetes resource by default ( #20251 )
...
Signed-off-by: jaehanbyun <awbrg789@naver.com >
2024-10-08 17:32:00 +05:30
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
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
Anand Francis Joseph
1028808bb7
feat: Decoupling application sync using impersonation ( #17403 )
...
* Implementation of app sync with impersonation support
Signed-off-by: anandf <anjoseph@redhat.com >
* negation test
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* Update doc comments to remove server name as its not supported.
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
Signed-off-by: Anand Francis Joseph <anandfrancis.joseph@gmail.com >
* Update glob pattern check for matching destinations.
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
Signed-off-by: Anand Francis Joseph <anandfrancis.joseph@gmail.com >
* Corrected the code comments for namespace field and destination matching logic
Signed-off-by: anandf <anjoseph@redhat.com >
* Added missing generated files
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed golint errors caused due to to gofumpt validations
Signed-off-by: anandf <anjoseph@redhat.com >
* Fix golint errors with unit test code
Signed-off-by: anandf <anjoseph@redhat.com >
* Updated the go import ordering with local packages at the end
Signed-off-by: anandf <anjoseph@redhat.com >
* Addressed review comments
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed ES lint error caused due to missing class
Signed-off-by: anandf <anjoseph@redhat.com >
* Updated the documentation to address the review comments
Signed-off-by: anandf <anjoseph@redhat.com >
* Simplified the sync code and improved logs and error handling
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed E2E tests to fail when no sa is configured
Signed-off-by: anandf <anjoseph@redhat.com >
* Updated help message generated for CLI commands
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failing tests due to default service account not used for sync operation
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed the error message when sync fails due to no matching sa
Signed-off-by: anandf <anjoseph@redhat.com >
* Removed repeating logs and added impersonation fields to logger
Signed-off-by: anandf <anjoseph@redhat.com >
* Made changes in the proposal to match the behaviour when no matching sa is found
Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com >
---------
Signed-off-by: anandf <anjoseph@redhat.com >
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
Signed-off-by: Anand Francis Joseph <anandfrancis.joseph@gmail.com >
Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com >
Co-authored-by: Mangaal <angommeeteimangaal@gmail.com >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2024-09-04 14:18:47 -04:00
Nathanael Liechti
bacdceda79
feat: allow no_proxy to be specified on repoCreds ( #18526 )
...
Signed-off-by: Nathanael Liechti <technat@technat.ch >
2024-08-20 12:54:39 -04:00
Clif Houck
42de68d67f
feat(5388): Allow multiple external URLs for SSO access ( #18927 )
...
* Add new field to the documentation
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* Fix codeql issue
codeql restricts logging fields from user input. Remove log to avoid complex escapes
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* Add a test to ensure validity of the documented cm
Currently, the documented configmap is invalid and raises error at the
time of applying it.
Ensure the configmap is valid with a unit test
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* rename additionalURLs for URLs
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* Allow responses redirected from SSO to alternate URLs
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* Consider dex enabled when there are additional URLs configured
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* Parse new URLs config from argocd-cm
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* Detect additional SSO URLs from requests
With HTTP servers, the `url` field of `http.Requests` does not contain
the host nor the protocol.
To work around this, consider `request.Host` and
`request.URL.RequestURI()`
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* Handle logout properly
Currently, while login is correctly handled, when logging out from
an alternate URL, we are redirected to the main URL.
Fix this by applying the same principles as for the login part
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* Fix ClientApp.oath2Config
Signed-off-by: Clif Houck <me@clifhouck.com >
* Fix test compile time error
Signed-off-by: Clif Houck <me@clifhouck.com >
* Fix TestDocumentedArgoCDConfigMapIsValid to parse in the same way as other spots in the codebase
Signed-off-by: Clif Houck <me@clifhouck.com >
* Fix warning messages for external URLs when attemping to load them from config map
Signed-off-by: Clif Houck <me@clifhouck.com >
* Revert change to IsDexConfigured since Dex does not use URLs setting
Signed-off-by: Clif Houck <me@clifhouck.com >
* Remove unnecessary receiver nil check in favor of fixing test
Signed-off-by: Clif Houck <me@clifhouck.com >
* Fix typo
Signed-off-by: Clif Houck <me@clifhouck.com >
* Add a unit test for RedirectURLForRequest
Signed-off-by: Clif Houck <me@clifhouck.com >
* Rename settings.URLs to AdditionalURLs
Signed-off-by: Clif Houck <me@clifhouck.com >
* Fix use of URLs in TestClientApp_HandleLogin
Signed-off-by: Clif Houck <me@clifhouck.com >
* Renamed urls to additionalUrls
Signed-off-by: Clif Houck <me@clifhouck.com >
* Integrate settings.AdditionalURLs with dex config and test settings.RedirectAdditionalURLs
Signed-off-by: Clif Houck <me@clifhouck.com >
* Reload ArgoCDServer when settings.AdditionalURLs changes
Signed-off-by: Clif Houck <me@clifhouck.com >
* Add note about additionalUrls to user-managament docs
Signed-off-by: Clif Houck <me@clifhouck.com >
* Add G-Research
Signed-off-by: Clif Houck <me@clifhouck.com >
* Change G-Research URL to point to open-source page
Signed-off-by: Clif Houck <me@clifhouck.com >
* Update docs/operator-manual/argocd-cm.yaml
Correct misspelling of additionalUrls
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* Update util/settings/settings.go
Fix incorrect key for additionalUrls
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* Update util/settings/settings.go
Fix key name
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
* fix additional urls config key in test config
Signed-off-by: Clif Houck <me@clifhouck.com >
---------
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com >
Signed-off-by: Clif Houck <me@clifhouck.com >
Co-authored-by: Thibault Jamet <tjamet@users.noreply.github.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2024-07-30 22:57:33 +00:00
Michael Crenshaw
d0313c5ba4
Revert "feat: removed legacy app tracking label ( #13203 )" ( #19196 )
...
This reverts commit 4d8436b7e1 .
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-07-24 19:10:38 +00:00
pasha-codefresh
c9c7989f8c
Merge commit from fork
...
* feat: limit payload size
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* cover with tests and provide ability to define variable from CM
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* cover with tests and provide ability to define variable from CM
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* improve error message and add documentation
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix tests
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix comments
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix linter
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: pashakostohrys <pavel@codefresh.io >
2024-07-22 17:08:17 +03: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
c9ea5b13d2
chore: extend require-error rule from testifylint ( #18658 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-14 09:15:31 -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
3160369469
chore: enable compare and nil-compare rules from testifylint linter ( #18581 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 16:38:35 +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
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
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
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
Matthieu MOREL
71e1f30741
fix: enable bool-compare rule from testifylint linter ( #18414 )
2024-06-05 18:13:45 -04:00
Soumya Ghosh Dastidar
4d8436b7e1
feat: removed legacy app tracking label ( #13203 )
...
* feat: removed legacy app tracking label
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* feat: refactor SetAppInstanceLabel func
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* feat: refactor SetAppInstance func
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* feat: refactor SetAppInstanceAnnotation func
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* feat: refactored SetAppInstance() func
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
---------
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
Co-authored-by: pasha-codefresh <pavel@codefresh.io >
2024-05-30 11:50:20 +03:00
Nikhil Vaidyar
9c8d652471
feat: Adding the domain_hint as an optional field in OIDC configuration ( #18214 )
...
* [18066] - Added DomainHint key in OIDCConfig struct
Signed-off-by: nikzayn <nikhilvaidyar1997@gmail.com >
* [18066] - Added DomainHint in options for grantType
Signed-off-by: nikzayn <nikhilvaidyar1997@gmail.com >
* [18066] - Auth0 readme.md --updated
Signed-off-by: nikzayn <nikhilvaidyar1997@gmail.com >
---------
Signed-off-by: nikzayn <nikhilvaidyar1997@gmail.com >
2024-05-20 12:08:28 +03: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
Arthur Outhenin-Chalandre
62003f0152
feat: allow webhook settings to be referenced by external secret ( #16262 )
...
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@ledger.fr >
2024-02-29 13:58:38 +02:00
Nathanael Liechti
819f0b3e87
feat(oidc): optionally query OIDC UserInfo to gather group claims ( #12062 )
...
Signed-off-by: Nathanael Liechti <technat@technat.ch >
2023-11-21 10:16:50 -05:00
Mayursinh Sarvaiya
d747eb3f14
feat: PKCE authentication flow for web logins #9890 ( #15889 )
...
feat: PKCE authentication flow for web logins #9890 (#15889 )
Signed-off-by: Mayursinh Sarvaiya <marvinduff97@gmail.com >
2023-10-30 09:40:34 -07: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
gdsoumya
4fadd9e541
feat: auto respect rbac for discovery/sync ( #14381 )
...
feat: auto respect rbac for discovery/sync (#14381 )
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
2023-09-06 10:41:30 -07:00
Vipin M S
f7bfb3f15b
chore: give context to errors ( #10592 ) ( #15022 )
...
* chore: give context to errors
Signed-off-by: Vipin M S <vipinachar2016@gmail.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
* Update util/tls/tls.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
* Update util/tls/tls.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
* Update util/tls/tls.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
* Apply suggestions from code review
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Vipin M S <vipinachar2016@gmail.com >
Signed-off-by: Vipin M S <40431065+vipinachar@users.noreply.github.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-08-11 21:00:13 +00:00
Alexander Matyushentsev
19de408dbc
feat: Add Support for AzureDevops Webhooks ( #14969 )
...
* feat: Add Support for AzureDevops Webhooks
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* document azure devops webhook configuration
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
---------
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2023-08-09 15:18:26 -07:00
Vipin M S
8068be628d
chore: give context to error logs ( #10592 ) ( #14915 )
...
* chore: wrap error objects to include context
Signed-off-by: Vipin M S <vipinachar2016@gmail.com >
* chore: wrap error objects to include context
Signed-off-by: Vipin M S <vipinachar2016@gmail.com >
* chore: wrap error objects to include context
Signed-off-by: Vipin M S <vipinachar2016@gmail.com >
* chore: wrap error objects to include context
Signed-off-by: Vipin M S <vipinachar2016@gmail.com >
* Update applicationset/controllers/applicationset_controller.go
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Vipin M S <vipinachar2016@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 >
2023-08-07 20:21:11 +00:00
Michael Crenshaw
95e942e793
chore: fix non-deterministic test ( #14905 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-08-04 16:56:03 +00:00
Michael Crenshaw
21c71320bc
chore: wrap ComparisonError messages ( #14886 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-08-03 22:06:19 +00:00
Alexander Matyushentsev
ff92e60102
fix: 'argocd-server-tls' Secret should be loaded from informer ( #14522 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2023-07-17 11:59:56 -04:00
Calchan
4a50a31caf
chore: add gofmt to golangci-lint in Makefile and .github/workflows/ci-build.yaml ( #13729 )
...
* fix: add gofmt to golangci-lint in Makefile and .github/workflows/ci-build.yaml
Signed-off-by: Denis Dupeyron <denis.dupeyron@gmail.com >
* fix go formatting issues using gofmt
Signed-off-by: Denis Dupeyron <denis.dupeyron@gmail.com >
* chore: simplify go code using gofmt
Signed-off-by: Denis Dupeyron <denis.dupeyron@gmail.com >
---------
Signed-off-by: Denis Dupeyron <denis.dupeyron@gmail.com >
2023-07-05 16:16:25 -04:00
Alexandre Gaudreault
88994ea5cd
feat: add ignoreResourceUpdates to reduce controller CPU usage ( #13534 ) ( #13912 )
...
* feat: ignore watched resource update
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* add doc and CLI
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* update doc index
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* add command
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* codegen
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* revert formatting
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* do not skip on health change
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* update doc
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* update logging to use context
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* fix typos. local build broken...
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* change after review
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* manifestHash to string
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* more doc
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* example for argoproj Application
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* add unit test for ignored logs
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* codegen
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* Update docs/operator-manual/reconcile.md
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* move hash and set log to debug
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* feature flag
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* less aggressive managedFields ignore rule
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Update docs/operator-manual/reconcile.md
Co-authored-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* use local settings
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* latest settings
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* safety first
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* since it's behind a feature flag, go aggressive on overrides
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-06-25 01:32:20 +00:00
Michael Crenshaw
57b557dc26
chore: remove argocd-cm plugin support ( #13755 )
2023-06-21 23:30:46 +03:00
Maxence Laude
ec2340a11f
feat(appset): Implement Plugin Generator ( #13017 )
...
* add internal http package
Signed-off-by: Maxence Laude <maxence@laude.pro >
* add services plugin
Signed-off-by: Maxence Laude <maxence@laude.pro >
* add generator plugin
Signed-off-by: Maxence Laude <maxence@laude.pro >
* adapted matrix && merge generator
Signed-off-by: Maxence Laude <maxence@laude.pro >
* adapted plugin to webhook
Signed-off-by: Maxence Laude <maxence@laude.pro >
* update applicationset controller and types for plugin
Signed-off-by: Maxence Laude <maxence@laude.pro >
* add proposal for applicationset plugin generator
Signed-off-by: Maxence Laude <maxence@laude.pro >
* execute codegen
Signed-off-by: Maxence Laude <maxence@laude.pro >
* First draft of documentation
Signed-off-by: Maxence Laude <maxence@laude.pro >
* Fix wrong expected error on client_test
Signed-off-by: Maxence Laude <maxence@laude.pro >
* docs(plugin-generator): minor improvements
Signed-off-by: Sébastien Crocquesel <88554524+scrocquesel@users.noreply.github.com >
* Improvement
* changes
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* wrap output
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 >
* fix tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* nested parameters
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* docs
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 plugin to GetRequeueAfter function (merge && matrix)
Signed-off-by: Maxence Laude <maxence@laude.pro >
* Improvement : renaming
* more changes
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* clearer docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* abstract
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* naming
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* revert accidental change
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* ugh
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix accidental renames
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Fix typo renaming
Signed-off-by: Maxence Laude <maxence@laude.pro >
* Improve docs
Signed-off-by: Maxence Laude <maxence@laude.pro >
* Webhook implementation
Signed-off-by: Maxence Laude <maxence@laude.pro >
* Typo docs
Signed-off-by: Maxence Laude <maxence@laude.pro >
* fix plugin generator nil panic
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Add company to USERS.md
Signed-off-by: Maxence Laude <maxence@laude.pro >
* input.parameters
* fix plugin generator nil panic
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* input.parameters
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Change param structure
* change param structure
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* nest parameters
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Fix conflicts
Signed-off-by: Maxence Laude <maxence@laude.pro >
* Fix docs
Signed-off-by: Maxence Laude <maxence@laude.pro >
* Fix docs
Signed-off-by: Maxence Laude <maxence@laude.pro >
---------
Signed-off-by: Maxence Laude <maxence@laude.pro >
Signed-off-by: Sébastien Crocquesel <88554524+scrocquesel@users.noreply.github.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Sébastien Crocquesel <88554524+scrocquesel@users.noreply.github.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-06-01 18:19:21 -06:00
Alexander Matyushentsev
47554e4c1d
feat: support referencing secret in any field of oidc config ( #13475 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2023-05-27 20:55:46 -04:00
Eng Zer Jun
e8331b4d12
chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml ( #13292 )
...
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.
`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2023-05-04 18:06:56 -04:00
reggie-k
f9e6526753
chore: Add unit tests for the shared health resource feature and fix docs ( #12715 ) ( #12720 )
...
* Dummy action in
Signed-off-by: reggie <reginakagan@gmail.com >
* Dummy action in
Signed-off-by: reggie <reginakagan@gmail.com >
* happy happy joy joy
Signed-off-by: reggie <reginakagan@gmail.com >
* will the tests fail?
Signed-off-by: reggie <reginakagan@gmail.com >
* happy happy joy joy
Signed-off-by: reggie <reginakagan@gmail.com >
* lua tests with relative path
Signed-off-by: reggie <reginakagan@gmail.com >
* bye bye custom action
Signed-off-by: reggie <reginakagan@gmail.com >
* placatin custom actions tests
Signed-off-by: reggie <reginakagan@gmail.com >
* added tests and fixed docs
Signed-off-by: reggie <reginakagan@gmail.com >
* added tests and fixed docs
Signed-off-by: reggie <reginakagan@gmail.com >
* Update docs/operator-manual/health.md
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: reggie-k <reginakagan@gmail.com >
---------
Signed-off-by: reggie <reginakagan@gmail.com >
Signed-off-by: reggie-k <reginakagan@gmail.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-03-06 12:38:59 -05:00
daishin
7bff6c1115
fix /setting only show help field if chatURL is not empty ( #12316 )
...
Signed-off-by: shin04 <daikon0413@gmail.com >
Co-authored-by: Remington Breeze <remington@breeze.software >
2023-02-07 13:42:18 -08:00
jannfis
b600da1318
feat: Allow force of basic auth for HTTP repositories ( #11983 )
...
* feat: Allow force of basic auth for HTTP repositories
Signed-off-by: jannfis <jann@mistrust.net >
* Some docs
Signed-off-by: jannfis <jann@mistrust.net >
---------
Signed-off-by: jannfis <jann@mistrust.net >
2023-02-01 13:11:46 -05:00
Michael Crenshaw
adb4471569
feat(security): require the aud claim from OIDC providers by default ( #12187 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-01-27 21:29:08 +00:00
Michael Crenshaw
a825aad384
fix: add CLI client IDs to default OIDC allowed audiences ( #12170 ) ( #12179 )
...
* fix(settings): add CLI client ID in default OAuth2 allowed audiences
Signed-off-by: Yann Soubeyrand <yann.soubeyrand@camptocamp.com >
* fix: add CLI client IDs to default OIDC allowed audiences (#12170 )
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* test
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* handle expired token properly
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Yann Soubeyrand <yann.soubeyrand@camptocamp.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Yann Soubeyrand <yann.soubeyrand@camptocamp.com >
2023-01-27 14:17:51 -05:00
Michael Crenshaw
b38bc0040b
Merge pull request from GHSA-q9hr-j4rf-8fjc
...
* fix: verify audience claim
Co-Authored-By: Vladimir Pouzanov <farcaller@gmail.com >
Signed-off-by: CI <350466+crenshaw-dev@users.noreply.github.com >
* fix lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix handling of expired token error
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* go mod tidy
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* handle single aud claim marshaled as a string
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: CI <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Vladimir Pouzanov <farcaller@gmail.com >
2023-01-25 09:15:03 -05:00
Alex Eftimie
a2d756e4ac
feat: add google cloud source repo support ( #7534 ) ( #11618 )
...
* feat: Add support for cloning Google Cloud Source repos (#7534 )
* Google Cloud service account auth
Signed-off-by: David Becher <becher.david@googlemail.com >
* fix: Fill missing struct field (GCP SA key) in cli cmd
Signed-off-by: David Becher <becher.david@googlemail.com >
* fix(ui): Add proxy option when configuring Google Cloud Source repo
Signed-off-by: David Becher <becher.david@googlemail.com >
* fix: Remove secret (GCP SA key) in Get server req
Signed-off-by: David Becher <becher.david@googlemail.com >
* refactor: Do not use context.WithTimeout for Google creds
As the context is used in the background to refresh credentials, it
should not be cancelled.
Signed-off-by: David Becher <becher.david@googlemail.com >
* fix: Use proxy setting only in repo-service, not repocreds-service
Signed-off-by: David Becher <becher.david@googlemail.com >
* test: Create tests for GoogleCloudCreds
This commit refactors the implementation of GoogleCloudCreds in order to
make its methods testable.
Signed-off-by: David Becher <becher.david@googlemail.com >
* fix: Linting issues
Signed-off-by: David Becher <becher.david@googlemail.com >
* chore: Fix typo in docs.
Signed-off-by: David Becher <becher.david@googlemail.com >
* chore: Adjust url-allow-list for lint-docs action
Signed-off-by: David Becher <becher.david@googlemail.com >
* chore: Incorporate suggested refactorings
Signed-off-by: David Becher <becher.david@googlemail.com >
* Delete url-allow-list
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
* wrap errors
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
* More UI goodies and codegen
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
* Update docs screenshots
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
* move interface up next to other interfaces
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
* Reduce png size
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
* update generated
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
* fix whitespace from codegen
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
Signed-off-by: David Becher <becher.david@googlemail.com >
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
Co-authored-by: David Becher <becher.david@googlemail.com >
2022-12-16 17:07:26 +00:00
Leonardo Luz Almeida
f80d3bee84
feat: Add support for proxy extensions ( #11307 )
...
* feat: Add support for proxy extensions
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* return list of extensions
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* add service set in argocd server struct
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* implements cluster name lookup
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* add cli docs
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* apply connection config defaults
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* add unit tests
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* fix lint
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* fix test
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Address review comments
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Add test for invalid extension name
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Address review comments
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Fix deadcode lint
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Fix unused lint
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Fix deadcode lint
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Better error message
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Fix deadcode lint
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Fix empty branch
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
2022-12-09 12:02:55 -05:00