Commit Graph
661 Commits
Author SHA1 Message Date
Pascal BourdierandGitHub 8dcfe830af chore: use appv1 prefix everywhere (#10621)
avoid to import `application` twice

Signed-off-by: Pascal Bourdier <[email protected]>

Signed-off-by: Pascal Bourdier <[email protected]>
2022-10-09 13:06:11 -04:00
Thijs van TolandGitHub 309de36c11 fix: show revision in badge when param is true (#10545)
* fix: show revision in badge when param is true

Signed-off-by: Thijs van Tol <[email protected]>

* Update badge.go

Signed-off-by: Thijs van Tol <[email protected]>

* Update badge.go

Signed-off-by: Thijs van Tol <[email protected]>

* pr feedback

Signed-off-by: Thijs van Tol <[email protected]>

Signed-off-by: Thijs van Tol <[email protected]>
2022-10-07 17:12:37 -04:00
Michael CrenshawandGitHub 0f946e38d4 chore: remove unused import (#10773)
* chore: remove unused import

Signed-off-by: Michael Crenshaw <[email protected]>

* fix codegen

Signed-off-by: Michael Crenshaw <[email protected]>

Signed-off-by: Michael Crenshaw <[email protected]>
2022-10-04 10:21:15 -07:00
Mahesh BaligaandGitHub ba85375b25 feat: equality-based and set-based filtering by label keys and values for list, sync, delete and wait App commands (#10548)
Signed-off-by: maheshbaliga <[email protected]>

Signed-off-by: maheshbaliga <[email protected]>
2022-10-03 09:47:13 -04:00
Michael CrenshawandGitHub 65572a3868 docs: decision about logs RBAC enforcement in release notes (#10563)
Signed-off-by: CI <[email protected]>

Signed-off-by: CI <[email protected]>
2022-09-15 09:17:06 -04:00
7f3c6dd561 feat: create cli commands for ApplicationSet (#9584)
* feat: add applicationset cli commands

Signed-off-by: ishitasequeira <[email protected]>

* squashed commits and rebased with master

Signed-off-by: ishitasequeira <[email protected]>

* addressed comments

Signed-off-by: ishitasequeira <[email protected]>

* fix lint errors

Signed-off-by: ishitasequeira <[email protected]>

* Retrigger CI pipeline

Signed-off-by: ishitasequeira <[email protected]>

* Retrigger CI pipeline

Signed-off-by: ishitasequeira <[email protected]>

* feat: add applicationset cli commands

Signed-off-by: ishitasequeira <[email protected]>

* addressed comments

Signed-off-by: ishitasequeira <[email protected]>

* fix lint errors

Signed-off-by: ishitasequeira <[email protected]>

* Retrigger CI pipeline

Signed-off-by: ishitasequeira <[email protected]>

* Retrigger CI pipeline

Signed-off-by: ishitasequeira <[email protected]>

* Addressed PR comments

Signed-off-by: ishitasequeira <[email protected]>

* removed duplicate imports

Signed-off-by: ishitasequeira <[email protected]>

* fix CI errors

Signed-off-by: ishitasequeira <[email protected]>

* address PR comments

Signed-off-by: ishitasequeira <[email protected]>

* add k8s RBAC, docs tweaks

Signed-off-by: CI <[email protected]>
Signed-off-by: ishitasequeira <[email protected]>

* rebase master branch

Signed-off-by: ishitasequeira <[email protected]>

* Addressed PR coments

Signed-off-by: ishitasequeira <[email protected]>

* remove unnecessary fields, add docs

Signed-off-by: CI <[email protected]>
Signed-off-by: ishitasequeira <[email protected]>

* fix unit test

Signed-off-by: ishitasequeira <[email protected]>

Signed-off-by: ishitasequeira <[email protected]>
Signed-off-by: CI <[email protected]>
Co-authored-by: CI <[email protected]>
2022-09-14 09:27:15 +02:00
Blake PetterssonandGitHub 839188e760 feat: add permitOnlyProjectScopedClusters flag (#10237)
This commit adds a new flag, `permitOnlyProjectScopedClusters`, which
prevents any application from syncing to clusters which are not a part
of the same project. Fixes #10220.

Signed-off-by: Blake Pettersson <[email protected]>

Signed-off-by: Blake Pettersson <[email protected]>
2022-09-08 07:33:10 -04:00
Takumi SueandGitHub de309cbcee fix: invalid error handling (#10384) (#10385)
os.IsNotExist only supports errors returned by the os package

Signed-off-by: mikutas <[email protected]>

Signed-off-by: mikutas <[email protected]>
2022-09-06 08:49:05 -04:00
AbirdcflyandGitHub e94c721a61 chore: remove duplicate word in comments (#10479)
Signed-off-by: Abirdcfly <[email protected]>

Signed-off-by: Abirdcfly <[email protected]>
2022-08-30 14:22:54 +02:00
PavelandGitHub 22cd8a9595 feat: add notifications API (#10279)
* add notifications API

we allow to list triggers, templates and services

Signed-off-by: Pavel <[email protected]>

* fix: add notification manifest to tests

Signed-off-by: Pavel <[email protected]>

* fix: add sleep to fix integration tests

for some reason notification configmap has old data, trying to fix with
the sleep

Signed-off-by: Pavel <[email protected]>

* add proposal

Signed-off-by: Pavel <[email protected]>

* more info to proposal

Signed-off-by: Pavel <[email protected]>

* use struct for notifications objects instead of just strings

to be able easily extend API in the future return list of
trigger/template/service as list of structs

Signed-off-by: Pavel <[email protected]>

Signed-off-by: Pavel <[email protected]>
2022-08-25 16:04:14 -07:00
David MonksandGitHub 11314fb63c feat: Support Custom Application Actions in CLI #7577 (#10015)
* Expand `ListResourceActions` to support the root App

Prior to this change, `ListResourceActions` could only be performed on
resources managed by the Application; this implicitly did not include
the Application itself, unless it was a self-referential Application.
This prevents the listing of actions on the Application itself.

This change detects when the requested resource is an Application with
the same name as the managing Application, thus bypassing the fetching
of the requested resource listing and  simply retrieving the
Application.  It then retrieves the resource details from the
Application itself, instead of any sub-resource.

Signed-off-by: David Monks <[email protected]>

* Expand `RunResourceAction` to support the root App

Prior to this change, similar to the `ListResourceActions` function
updated in the previous commit, the `RunResourceAction` function only
supports running actions on resources managed by the Application, rather
than the Application itself.

This change re-uses in the `RunResourceAction` function the new
behaviour introduced in the previous commit to make the Application a
valid target for resource actions.

Signed-off-by: David Monks <[email protected]>

* Extract App actions resource gathering to a private function

This abstracts the fetching of resources that can provide custom resource actions for a given Application via the CLI to a new private function next to the two Commands that do it.

This is a precursor to expanding this set of resources to include the Application itself.

Signed-off-by: David Monks <[email protected]>

* Include the Application in the `actions list` CLI command

Prior to this change, only resources managed by the Application (and not
the Application itself) were able to have actions associated with them
for running via the CLI.

This change includes the Application itself in the list of resources to
check for custom resource actions when listing or running them via the
CLI.

Signed-off-by: David Monks <[email protected]>

Signed-off-by: David Monks <[email protected]>
2022-08-19 16:43:35 -04:00
Alexander MatyushentsevandGitHub bedad4340d chore: infer managed resources health from redis instead of storing it in CRD (#10191)
* chore: infer managed resources health from redis instead of storing it in CRD

Signed-off-by: Alexander Matyushentsev <[email protected]>

* apply reviewer notes

Signed-off-by: Alexander Matyushentsev <[email protected]>

Signed-off-by: Alexander Matyushentsev <[email protected]>
2022-08-17 21:03:24 +00:00
JakeandGitHub 83afc75cd6 feat: server-side manifest generation for local diff (#8145) (#10019)
* feat: server-side manifest generation for diff (#8145)

Signed-off-by: notfromstatefarm <[email protected]>

* fix docs, mocks, ineffectual err

Signed-off-by: notfromstatefarm <[email protected]>

* fix CMPs, ineffectual err

Signed-off-by: notfromstatefarm <[email protected]>

* refactor

Signed-off-by: notfromstatefarm <[email protected]>

* add unit tests

Signed-off-by: notfromstatefarm <[email protected]>

* handle err

Signed-off-by: notfromstatefarm <[email protected]>

* add size limits and inclusion filters

Signed-off-by: notfromstatefarm <[email protected]>

* fix docs

Signed-off-by: notfromstatefarm <[email protected]>

* fix errors, increase defaults

Signed-off-by: notfromstatefarm <[email protected]>

* use quantity, wrap errors, add security fields to logs, deprecation warning

Signed-off-by: notfromstatefarm <[email protected]>

* have e2e test use server side generation

Signed-off-by: notfromstatefarm <[email protected]>

* nits

Signed-off-by: notfromstatefarm <[email protected]>

* remove unused import

Signed-off-by: notfromstatefarm <[email protected]>

* fix merge conflict

Signed-off-by: notfromstatefarm <[email protected]>

* fix conflicts

Signed-off-by: notfromstatefarm <[email protected]>

* fix e2e test

Signed-off-by: notfromstatefarm <[email protected]>

* add deprecation/breaking change info

Signed-off-by: notfromstatefarm <[email protected]>

* remove security logging stuff, will be in a separate PR

Signed-off-by: notfromstatefarm <[email protected]>

* more specific docs

Signed-off-by: notfromstatefarm <[email protected]>

* add security logging

Signed-off-by: notfromstatefarm <[email protected]>

Signed-off-by: notfromstatefarm <[email protected]>
2022-08-17 14:48:50 -04:00
Michael CrenshawandGitHub ce4e7e7414 chore: deprecate argocd-cm plugins (#8117) (#10341)
* chore: deprecate argocd-cm plugins (#8117)

Signed-off-by: CI <[email protected]>

* more warnings

Signed-off-by: CI <[email protected]>

* more warnings

Signed-off-by: CI <[email protected]>

Signed-off-by: CI <[email protected]>
2022-08-17 11:48:27 -04:00
jannfisandGitHub 75d334705a feat: Applications in any namespace (#9755)
* feat: Applications in any namespace

Signed-off-by: jannfis <[email protected]>

* Fix typo in CI

Signed-off-by: jannfis <[email protected]>

* Create argocd-e2e-external namespace

Signed-off-by: jannfis <[email protected]>

* Update from codegen

Signed-off-by: jannfis <[email protected]>

* Remove debug code

Signed-off-by: jannfis <[email protected]>

* Update help text for -N option to app create

Signed-off-by: jannfis <[email protected]>

* Wrap error when retrieving AppProject from cache

Signed-off-by: jannfis <[email protected]>

* Check for controller namespace first before matching on additional ns

Signed-off-by: jannfis <[email protected]>

* Improve TestAppProjectIsSourceNamespacePermitted unit test

Signed-off-by: jannfis <[email protected]>

* Get rid of some debug leftovers

Signed-off-by: jannfis <[email protected]>

* Better error wrapping; return IsNotFound as-is

Signed-off-by: jannfis <[email protected]>

* Updates from codegen

Signed-off-by: jannfis <[email protected]>

* We don't need AppShortName() anymore

Signed-off-by: jannfis <[email protected]>

* Update end-to-end tests to use annotation methods

Signed-off-by: jannfis <[email protected]>

* Add e2e tests to test for app creation in not permitted ns

Signed-off-by: jannfis <[email protected]>

* Remove deprecated code

Signed-off-by: jannfis <[email protected]>

* Remove dead code

Signed-off-by: jannfis <[email protected]>

* Add RBACName() method to application type

Signed-off-by: jannfis <[email protected]>

* Update from codegen

Signed-off-by: jannfis <[email protected]>

* Fix e2e test

Signed-off-by: jannfis <[email protected]>

* Update codegen

Signed-off-by: jannfis <[email protected]>

* Move RBAC name generation to an application receiver

Signed-off-by: jannfis <[email protected]>

* Fix sync window status in UI

Signed-off-by: jannfis <[email protected]>

* Fix pod logs viewer

Signed-off-by: jannfis <[email protected]>

* Fix application events in UI

Signed-off-by: jannfis <[email protected]>

* Fix application search in UI

Signed-off-by: jannfis <[email protected]>

* Fix yarn lint

Signed-off-by: jannfis <[email protected]>

* Only set up cluster-wide application informer when additional namespaces are specified

Signed-off-by: jannfis <[email protected]>

* Adapt e2e test to a changed error message

Signed-off-by: jannfis <[email protected]>

* Application namespace should be taken into account for create

Signed-off-by: jannfis <[email protected]>

* Use non-qualified application name as Helm release name

Signed-off-by: jannfis <[email protected]>

* Support --app-namespace in e2e tests

Signed-off-by: jannfis <[email protected]>

* Enable more e2e tests

Signed-off-by: jannfis <[email protected]>

* Increase e2e timeout for newly added tests

Signed-off-by: jannfis <[email protected]>
2022-08-10 11:39:10 +02:00
OmarKalloushandGitHub 0ae8c44b14 chore: Upgrade Golang to 1.19 (#10176) (#10186)
* Upgrade Golang to 1.19

Signed-off-by: OmarKalloush <[email protected]>

* go mod tidy with go 1.19

Signed-off-by: OmarKalloush <[email protected]>

* Replace deprecated ioutil

Signed-off-by: OmarKalloush <[email protected]>

* make codegen changes

Signed-off-by: OmarKalloush <[email protected]>

* Codegen Changes

Signed-off-by: OmarKalloush <[email protected]>
2022-08-05 12:59:28 -04:00
Daniel HelfandandGitHub cac2a9846b chore: argocd app create output states whether app exists (#9984)
* chore: argocd app create output states whether app exists

Signed-off-by: Daniel Helfand <[email protected]>

* chore: determine if app has changed without server err

Signed-off-by: Daniel Helfand <[email protected]>

* chore: unchanged if app has not changed

Signed-off-by: Daniel Helfand <[email protected]>

* chore: add logic to tell user if app was updated

Signed-off-by: Daniel Helfand <[email protected]>

* chore: edit comments

Signed-off-by: Daniel Helfand <[email protected]>

* chore: check if get err is notfound

Signed-off-by: Daniel Helfand <[email protected]>
2022-07-20 15:32:03 -04:00
Michael CrenshawandGitHub b98fb0a49a fix: terminal websocket write lock to avoid races (#10011)
* fix: protect terminal WriteMessage with a lock

Signed-off-by: CI <[email protected]>

* give write its own lock

Signed-off-by: CI <[email protected]>
2022-07-15 17:23:28 -07:00
JakeandGitHub 5468364136 feat: add HTTPS to dex server (#9424) (#9883)
* feat: add HTTPS support to dex server (#9424)

Signed-off-by: notfromstatefarm <[email protected]>

* refactor transports, add v2.5 to docs, other small nits

Signed-off-by: notfromstatefarm <[email protected]>

* use OIDCTLSConfig in session manager

Signed-off-by: notfromstatefarm <[email protected]>

* update tls to use os instead of ioutil (but really this is just me trying to get CICD to work)

Signed-off-by: notfromstatefarm <[email protected]>

* cleanup and nits

Signed-off-by: notfromstatefarm <[email protected]>

* fix tests after merge

Signed-off-by: notfromstatefarm <[email protected]>

* fix tests

Signed-off-by: notfromstatefarm <[email protected]>

* nit

Signed-off-by: notfromstatefarm <[email protected]>
2022-07-13 16:45:35 -04:00
JakeandGitHub 455d5890bc fix: CMP manifest generation fails with ENHANCE_YOUR_CALM if over 40s (#9922)
* fix: CMP manifest generation fails with ENHANCE_YOUR_CALM if over 40s

Signed-off-by: notfromstatefarm <[email protected]>

* fix timeouts across all gRPC servers

Signed-off-by: notfromstatefarm <[email protected]>

* use common consts

Signed-off-by: notfromstatefarm <[email protected]>
2022-07-11 12:02:10 -04:00
Alexander MatyushentsevandGitHub 067514f9d5 feat: support multiple extensions per resource group/kind (#9834)
* feat: support multiple extensions per resource group/kind

Signed-off-by: Alexander Matyushentsev <[email protected]>

* apply reviewers suggestions

Signed-off-by: Alexander Matyushentsev <[email protected]>

* apply reviewer notes: stream extension files one by one

Signed-off-by: Alexander Matyushentsev <[email protected]>

* wrap errors

Signed-off-by: Alexander Matyushentsev <[email protected]>

* skip symlinks

Signed-off-by: Alexander Matyushentsev <[email protected]>
2022-07-08 11:23:32 -07:00
Daniel HelfandandGitHub d16eb0c0b6 feat: allow argocd cluster rotate-auth to accept cluster name (#9838)
* feat: allow argocd cluster rotate-auth to accept cluster name

Signed-off-by: Daniel Helfand <[email protected]>

* fix: test assertions

Signed-off-by: Daniel Helfand <[email protected]>

* chore: address pr feedback

Signed-off-by: Daniel Helfand <[email protected]>
2022-07-08 15:47:31 +00:00
Michael CrenshawandGitHub 7b52d8a1c8 fix: 'unexpected reserved bits' breaking web terminal (#9605) (#9895)
* fix: 'unexpected reserved bits' breaking web terminal (#9605)

Signed-off-by: Michael Crenshaw <[email protected]>

* make things more like they were originally, since the mutex fixes the problem

Signed-off-by: Michael Crenshaw <[email protected]>

* fix typo, don't pass around a pointer when it isn't necessary

Signed-off-by: Michael Crenshaw <[email protected]>

* apply suggestions

Signed-off-by: Michael Crenshaw <[email protected]>
2022-07-07 19:39:34 +00:00
jannfisandGitHub 8fe76c4ff0 chore: Fix import of context package across codebase (#9852)
* chore: fix context imports

Signed-off-by: jannfis <[email protected]>

* x/net is now imported indirectly

Signed-off-by: jannfis <[email protected]>

* Make sanitizerKey a unique type

Signed-off-by: jannfis <[email protected]>
2022-07-01 15:56:50 -04:00
Alexander MatyushentsevandGitHub e509bfbb5e fix: make sure api server informer does not stop after setting change (#9842)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2022-06-30 22:28:52 +00:00
Alexander MatyushentsevandGitHub fe42c2b911 fix: avoid closing and re-opening port of api server settings change (#9778)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2022-06-23 14:30:39 -07:00
Soumya Ghosh DastidarandGitHub 0f41e06085 fix: updated baseHRefRegex to perform lazy match (#9724)
* fix: updated baseHRefRegex to perform lazy match

Signed-off-by: Soumya Ghosh Dastidar <[email protected]>

* feat: added unit tests for replaceBaseHRef

Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
2022-06-20 15:52:33 -07:00
Mário BezerraandGitHub 665cf3b201 feat: add initiatedBy info to App status field when performing a rollback (#9713)
Signed-off-by: Mário Bezerra <[email protected]>
2022-06-20 08:14:35 -07:00
Michael CrenshawandGitHub 038db361b1 fix: missing Helm params (#9565) (#9566)
* fix: missing Helm params

Signed-off-by: Michael Crenshaw <[email protected]>

* use absolute paths, fix tests

Signed-off-by: Michael Crenshaw <[email protected]>

* fix race in test

Signed-off-by: Michael Crenshaw <[email protected]>
2022-06-04 20:16:54 -04:00
Alexander MatyushentsevandGitHub db978573be fix: web terminal due to query parameters name mismatch (#9560)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2022-06-01 14:38:59 -07:00
Michael CrenshawandGitHub 6c0d88ef5e fix: avoid k8s call before authorization for terminal endpoint (#9434)
* fix: avoid k8s API call before authorization in k8s endpoint

Signed-off-by: Michael Crenshaw <[email protected]>

* check for bad project

Signed-off-by: Michael Crenshaw <[email protected]>

* lint

Signed-off-by: Michael Crenshaw <[email protected]>

* more logging

Signed-off-by: Michael Crenshaw <[email protected]>

* handle 404, return 500 instead of 400 for other errors

Signed-off-by: Michael Crenshaw <[email protected]>

* use user input

Signed-off-by: Michael Crenshaw <[email protected]>

* refactor validation

Signed-off-by: Michael Crenshaw <[email protected]>

* fix tests

Signed-off-by: Michael Crenshaw <[email protected]>

* fixes, tests

Signed-off-by: Michael Crenshaw <[email protected]>
2022-05-26 10:48:37 -04:00
Alexander MatyushentsevandGitHub 20cb33dd1b fix: api server should dynamically enabled terminal handler (#9497)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2022-05-24 06:37:11 +00:00
Alexander MatyushentsevandGitHub 924ef81d65 fix: make more proto fields optional (#9490)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2022-05-23 13:45:28 -07:00
Leonardo Luz AlmeidaandGitHub 6bb367f98c chore: Improve application logs adding message context (#9435)
* chore: Improve application logs adding message context

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* fix bug returning error incorrectly

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix unit-test and avoid api breaking change

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix test

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix e2e test

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix e2e test

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* small fix

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Address review comments

Signed-off-by: Leonardo Luz Almeida <[email protected]>
2022-05-20 21:16:55 +00:00
Michael CrenshawandGitHub eb8ac45794 fix: test race (#9469)
Signed-off-by: Michael Crenshaw <[email protected]>
2022-05-20 16:38:01 +00:00
2817e3eaef chore: upgrade golangci-lint to v1.46.2 (#9448)
* chore: upgrade golangci-lint to v1.46.2

Because:

* Installation of golangci-lint v1.45.2 is currently broken and fails
  silently due to a redacted dependency
  (https://github.com/blizzy78/varnamelen/issues/13)

This commit:

* Upgrades golangci-lint to v1.46.2

Signed-off-by: Tommaso Sardelli <[email protected]>

* fix: lint

Signed-off-by: Michael Crenshaw <[email protected]>

* fix: lint

Signed-off-by: Tommaso Sardelli <[email protected]>

Co-authored-by: Michael Crenshaw <[email protected]>
2022-05-19 09:27:01 -04:00
Michael CrenshawandGitHub 4483b850fb fix: lint (#9444)
Signed-off-by: Michael Crenshaw <[email protected]>
2022-05-18 18:50:20 +02:00
3e4616dbcf Merge pull request from GHSA-r642-gv9p-2wjj
Signed-off-by: jannfis <[email protected]>

Co-authored-by: Michael Crenshaw <[email protected]>

Co-authored-by: Michael Crenshaw <[email protected]>
2022-05-18 13:16:21 +02:00
smcavalloandGitHub f876bd151b feat: support pod exec terminal logging (#9385)
* feat: support pod exec terminal logging
Signed-off-by: smcavallo <[email protected]>

* enhanced validation and logging when resource not found
Signed-off-by: smcavallo <[email protected]>

* fix lint
Signed-off-by: smcavallo <[email protected]>

* log warning when pod or container not found
Signed-off-by: smcavallo <[email protected]>

* go/log-injection fixes
Signed-off-by: smcavallo <[email protected]>

* log levels and lowercase message
Signed-off-by: smcavallo <[email protected]>
2022-05-16 22:10:27 -04:00
Leonardo Luz AlmeidaandGitHub 354034f5ab chore: Improve otel grpc traces adding span correlation (#9371)
* chore: Improve otel grpc traces adding span correlation

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Create a tracer for argocd controller

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Update controller command doc

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Instrument cmp-client

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Add otlp config as part of configmaps

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* update manifests

Signed-off-by: Leonardo Luz Almeida <[email protected]>
2022-05-13 18:10:48 +00:00
Chetan BanavikalmuttandGitHub 7f56359eab fix: ListResourceActions() returns duplicate actions (#9360)
Signed-off-by: Chetan Banavikalmutt <[email protected]>
2022-05-13 10:24:34 -04:00
Michael CrenshawandGitHub a50eb603af fix: make exec feature opt-in (#9259)
* fix(ui): missing manifests and logs (#9231)

Signed-off-by: Michael Crenshaw <[email protected]>

* feat: make exec feature opt-in

Signed-off-by: Michael Crenshaw <[email protected]>

* fix codegen

Signed-off-by: Michael Crenshaw <[email protected]>

* use create instead of get for exec to match k8s

Signed-off-by: Michael Crenshaw <[email protected]>

* add RBAC instructions for exec

Signed-off-by: Michael Crenshaw <[email protected]>

* delete old line

Signed-off-by: Michael Crenshaw <[email protected]>

* remove unnecessary caveat

Signed-off-by: Michael Crenshaw <[email protected]>
2022-05-06 09:13:07 -07:00
Alexander MatyushentsevandGitHub 1c8d1cd56d fix: fix grpc: error while marshaling: proto: required field "group" not set (#9289)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2022-05-03 19:09:43 -04:00
Ben YeandGitHub 1b18505aeb feat: support opentelemetry for grpc tracing (#7539)
* feat: add support for otel grpc tracing

Signed-off-by: Ben Ye <[email protected]>

* chore: rebase code to master

Signed-off-by: Ben Ye <[email protected]>

* feat: add otelgrpc to cmpserver

Signed-off-by: Ben Ye <[email protected]>

* feat: add util trace package

Signed-off-by: Ben Ye <[email protected]>

* fix: fix tracer context

Signed-off-by: Ben Ye <[email protected]>

* chore: move tracer initialization part to the loop

Signed-off-by: Ben Ye <[email protected]>
2022-04-26 10:02:53 -04:00
Ben YeandGitHub fdde440c2b feat: support pod exec terminal via websockets (#8905)
feat: support pod exec terminal via websockets (#8905)

Signed-off-by: Ben Ye <[email protected]>
2022-04-19 18:36:05 +00:00
6cb915ebf1 chore: update grpc runtime library (#8929)
* chore: update grpc POC

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* fix: register gogo codec (#1)

Signed-off-by: Alexander Matyushentsev <[email protected]>

* Remove gogo annotations from application.proto

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix unit tests

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix e2e test

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix lint

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix lint

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix unit-test

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix LogEntry.Last required field not populated

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix LogEntry required fields

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix get log content

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix app actions list

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix ApplicationPodLogsQuery

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix RunResourceAction

Signed-off-by: Leonardo Luz Almeida <[email protected]>

Co-authored-by: Alexander Matyushentsev <[email protected]>
2022-04-18 10:47:13 -04:00
da0d65d041 feat: add caching to application js bundle since it has a unique name (#9008)
* feat: add caching to application js bundle since it has a unique name

Signed-off-by: Jonah Back <[email protected]>

* chore: simplify check and add tests

Signed-off-by: Michael Crenshaw <[email protected]>

Co-authored-by: Michael Crenshaw <[email protected]>
2022-04-07 10:15:23 -04:00
Zach AllerandGitHub 1b77f6e233 fix: Add Content-Security-Policy configuration option (#8943)
* fix: Add Content-Security-Policy configuration

This should finish up the work on issue #2706 by adding a configurable
Content-Security-Policy header which defaults to frame-ancestors 'self';

This matches what we do with X-Frame-Options=sameorigin some reference information found
here https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors

Signed-off-by: zachaller <[email protected]>

* Run codegen

Signed-off-by: zachaller <[email protected]>

* fix: add ARGOCD_SERVER_CONTENT_SECURITY_POLICY env var to be configured via configmap

Signed-off-by: zachaller <[email protected]>
2022-03-31 14:48:35 -04:00
Daniel HelfandandGitHub a37bacceff feat: allow cli to remove cluster by name (#8823)
Signed-off-by: Daniel Helfand <[email protected]>
2022-03-28 14:35:39 -07:00
weiandGitHub b2ca05b053 fix: Update account.proto annotaion for gen grpc gateway (#6684)
* fix: Update account.proto annotaion for gen grpc gateway

Signed-off-by: wei840222 <[email protected]>

* fix: Changes from codegen

Signed-off-by: wei840222 <[email protected]>

* Retrigger CI pipeline

Signed-off-by: wei.wan <[email protected]>

* Retrigger CI pipeline

Signed-off-by: wei.wan <[email protected]>

* fix: Changes from codegen

Signed-off-by: wei <[email protected]>

* Retrigger CI pipeline

Signed-off-by: wei.wan <[email protected]>
2022-03-26 21:46:57 +02:00