80 Commits
Author SHA1 Message Date
023d3a25d3 test(e2e): add e2e tests for reverse deletionOrder when progressive sync enabled (cherry-pick #26673 for 3.4) (#27263)
Signed-off-by: Kanika Rana <[email protected]>
Co-authored-by: Kanika Rana <[email protected]>
2026-04-14 16:21:28 +03:00
Papapetrou PatroklosandGitHub af9553cea5 chore: bumps dex version to 2.45.0 (#26609)
Signed-off-by: Patroklos Papapetrou <[email protected]>
Signed-off-by: Papapetrou Patroklos <[email protected]>
2026-03-03 13:07:05 +02:00
Alexandre GaudreaultandGitHub 081fd3b730 test(e2e): unstable CMP e2e test when running locally (#25752)
Signed-off-by: Alexandre Gaudreault <[email protected]>
2026-01-05 15:18:26 -05:00
Aditya RajandGitHub 9138660db9 fix: shell compatibility issues in Procfile (#24792)
Signed-off-by: Aditya Raj <[email protected]>
2025-09-30 23:44:19 +02:00
e72a777cef feat: oci support (Beta) (#18646)
Signed-off-by: Blake Pettersson <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
2025-06-06 13:27:02 +02:00
8334da36f2 Bump major version to 3 (#21410)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: crenshaw-dev <[email protected]>
2025-01-10 16:14:00 -05:00
Michael CrenshawandGitHub ba889a0c86 feat: source hydrator (#20345)
* feat(hydrator): add sourceHydrator types

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

fix(codegen): use kube_codegen.sh deepcopy and client gen correctly

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

deepcopy gen

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

* feat(hydrator): add commit-server component

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

go mod tidy

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

one test file for both implementations

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

simplify

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

fix test for linux

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

fix git client mock

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

fix git client mock

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

address comments

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

unit tests

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

lint

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

fix image, fix health checks, fix merge issue

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

fix lint issues

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

remove code that doesn't work for GHE

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

changes from comments

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

* feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

allow opt-in

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

separation between app controller and hydrator

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

simplify diff

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

todos

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

simplify

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

add dry sha to logs

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

add app name to logs

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

more logging, no caching

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

fix cluster install

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

don't interrupt an ongoing hydrate operation

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

revert hydrate loop fix

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

handle project-scoped repo creds

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

codegen

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

improve docs

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

fixes from comments

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

* set hydrator enabled key when using hydrator manifests

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

fix manifests

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

improve docs

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

* feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

allow opt-in

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

separation between app controller and hydrator

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

simplify diff

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

todos

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

simplify

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

add dry sha to logs

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

add app name to logs

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

more logging, no caching

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

fix cluster install

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

don't interrupt an ongoing hydrate operation

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

revert hydrate loop fix

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

handle project-scoped repo creds

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

codegen

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

improve docs

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

fixes from comments

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

* feat(hydrator): add sourceHydrator types

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

fix(codegen): use kube_codegen.sh deepcopy and client gen correctly

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

deepcopy gen

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

* feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

allow opt-in

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

separation between app controller and hydrator

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

simplify diff

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

todos

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

simplify

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

add dry sha to logs

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

add app name to logs

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

more logging, no caching

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

fix cluster install

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

don't interrupt an ongoing hydrate operation

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

revert hydrate loop fix

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

handle project-scoped repo creds

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

codegen

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

* feat(hydrator): write credentials handling + UI

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

allow opt-in

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

separation between app controller and hydrator

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

simplify diff

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

todos

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

simplify

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

add dry sha to logs

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

add app name to logs

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

more logging, no caching

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

fix cluster install

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

don't interrupt an ongoing hydrate operation

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

revert hydrate loop fix

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

feat(hydrator): write credentials handling + UI

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

WIP: add new APIs for write creds

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

write api and template api

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

fix time function

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

fix lint issues

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

don't enrich with read creds

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

revert tls change

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

don't disable buttons in UI

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

ask repo server for specific revision

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

fixes

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

lint ui

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

remove unnecessary change

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

fix test and lint

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

lint

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

enable hydrator for e2e tests

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

* free disk space for e2e tests

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

don't free disk space

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

* free disk space for e2e tests

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

* remove comment that breaks auth

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

* try removing extra function

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

* cleanup from comments

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

* fix test

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

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2024-12-16 16:59:09 -05:00
a42beed8ea chore: Make dev env redis password protected (#19863)
* create pr

Signed-off-by: reggie-k <[email protected]>

* create pr

Signed-off-by: reggie-k <[email protected]>

* create pr

Signed-off-by: reggie-k <[email protected]>

* initial

Signed-off-by: reggie-k <[email protected]>

* initial

Signed-off-by: reggie-k <[email protected]>

* initial

Signed-off-by: reggie-k <[email protected]>

* checking Redis is installed locally per Nitish's suggestion

Signed-off-by: reggie-k <[email protected]>

* Update hack/start-redis-with-password.sh

Co-authored-by: Nitish Kumar <[email protected]>
Signed-off-by: Regina Voloshin <[email protected]>

* Update hack/start-redis-with-password.sh

Co-authored-by: Nitish Kumar <[email protected]>
Signed-off-by: Regina Voloshin <[email protected]>

* fixed unreachable code

Signed-off-by: reggie-k <[email protected]>

---------

Signed-off-by: reggie-k <[email protected]>
Signed-off-by: Regina Voloshin <[email protected]>
Co-authored-by: Nitish Kumar <[email protected]>
2024-09-17 19:19:01 +05:30
a08746fc07 feat: adding gocover to e2e tests (#18130) (#18537)
* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* try putting profiles in different directories

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

* does this upload the whole directory?

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

* create directories and only run one test

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

* shut everything down before uploading coverage

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

* don't fail on goreman failure

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

* sleep 30

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

* always upload server output

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

* fix: implement graceful shutdown for api server

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

* Shutdown servers in parallel

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

* add noop shutdown function on api server constructor

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

* fix waitgroup

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

* more attempts to gracefully shut down

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

* more tests

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

* cleanup

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

* revert graceful shutdown work, needs more work

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

* more graceful shutdown cleanup

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

* lint

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

* feat: adding go coverage to e2e tests

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

---------

Signed-off-by: rumstead <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Signed-off-by: Leonardo Luz Almeida <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
Co-authored-by: Leonardo Luz Almeida <[email protected]>
2024-06-13 14:17:07 -04:00
c6f4dcdda9 fix: Use the cache for sharding (#15237)
* feat(sharding): use a cache

Signed-off-by: Alexandre Gaudreault <[email protected]>

* cluster cmd

Signed-off-by: Alexandre Gaudreault <[email protected]>

* - Assign shard 0 to in-cluster cluster and nil check updates
- Caching clusters while sharding: Fixing unit tests
- Update generated docs
- Debug e2e tests
- Default the shardNumber to the number of replicas if it is calculated to a higher value
- defered Unlock only when a lock is set
- Disabling temporarly other versions of k3s to check if e2e passes
- Do not fail if hostname format is not abc-n
- Fix unit test and skip some e2e
- Skip TestGitSubmoduleHTTPSSupport test
- Remove breaking defer c.lock.Unlock()
- Reverting testing all k3s version
- Default sharding fix
Signed-off-by: Akram Ben Aissi <[email protected]>

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

* fixes related to code review: renaming structure param, moving db initialisation

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

* Code review

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

* Set default shard to 0

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

* Set different default value for Sts and Deployment mode

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

* Expose ClusterShardingCache

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

* Removing use of argoDB.db for DistributionFunction

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

* Update generated documentation

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

* Fix comment about NoShardingDistributionFunction and NoShardingAlgorithm

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

---------

Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Akram Ben Aissi <[email protected]>
Co-authored-by: Alexandre Gaudreault <[email protected]>
2024-01-11 01:32:11 -05:00
Leonardo Luz AlmeidaandGitHub 1946addd6f feat: Implement Server-Side Diff (#13663)
* feat: Implement Server-Side Diff

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

* propagate the refreshtype to the diff config

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

* Create the serverSideDiff config

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

* chore: add featureflag utility package

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

* remove featureflag package

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

* add param

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

* make ssd configurable with app annotation

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

* add server-side-diff flags

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

* apply the same logic regardless of the refresh type

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

* fix gitops-engine reference

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

* address review comments

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

* Address review comments

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

* docs: add docs related to server-side-diff

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

* docs: update doc

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

* Add config to include mutation webhooks

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

* Address review comments

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

* go mod update

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

* Add sdd cache test case

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

* fix ssd cache unit test

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

* Update clidocs

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

* update manifests

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

* Fix procfile

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

* additional doc changes

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

* update gitops-engine version

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

---------

Signed-off-by: Leonardo Luz Almeida <[email protected]>
2023-12-18 20:37:13 +00:00
dc88e84734 feat: Argocd notification self service (#16488)
* self service notification

Signed-off-by: May Zhang <[email protected]>

* revert back the changes for redis-ha

Signed-off-by: May Zhang <[email protected]>

* revert back the changes for redis-ha

Signed-off-by: May Zhang <[email protected]>

* update notification engine

Signed-off-by: May Zhang <[email protected]>

* re-trigger build

Signed-off-by: May Zhang <[email protected]>

* self service notification

Signed-off-by: May Zhang <[email protected]>

* revert back the changes for redis-ha

Signed-off-by: May Zhang <[email protected]>

* revert back the changes for redis-ha

Signed-off-by: May Zhang <[email protected]>

* update notification engine

Signed-off-by: May Zhang <[email protected]>

* re-trigger build

Signed-off-by: May Zhang <[email protected]>

* fix conflict

Signed-off-by: May Zhang <[email protected]>

* fix conflict

Signed-off-by: May Zhang <[email protected]>

* fix conflict

Signed-off-by: May Zhang <[email protected]>

* fix conflict

Signed-off-by: May Zhang <[email protected]>

* update notification enginer version

Signed-off-by: May Zhang <[email protected]>

* update notification enginer version

Signed-off-by: May Zhang <[email protected]>

* fixing go tidy

Signed-off-by: May Zhang <[email protected]>

* fixing go tidy

Signed-off-by: May Zhang <[email protected]>

* fixing go tidy

Signed-off-by: May Zhang <[email protected]>

* fixing go tidy

Signed-off-by: May Zhang <[email protected]>

* fixing go tidy

Signed-off-by: May Zhang <[email protected]>

* add back checkAppNotInAdditionalNamespaces

Signed-off-by: May Zhang <[email protected]>

* add cm and secret to clusterRole

Signed-off-by: May Zhang <[email protected]>

* if applicationNamespaces is not used, then use namespaced appClient

Signed-off-by: May Zhang <[email protected]>

* fix merge conflict

Signed-off-by: May Zhang <[email protected]>

* fix doc and test based on review

Signed-off-by: May Zhang <[email protected]>

* self service notification

Signed-off-by: May Zhang <[email protected]>

* revert back the changes for redis-ha

Signed-off-by: May Zhang <[email protected]>

* revert back the changes for redis-ha

Signed-off-by: May Zhang <[email protected]>

* update notification engine

Signed-off-by: May Zhang <[email protected]>

* re-trigger build

Signed-off-by: May Zhang <[email protected]>

* fix conflict

Signed-off-by: May Zhang <[email protected]>

* self service notification

Signed-off-by: May Zhang <[email protected]>

* revert back the changes for redis-ha

Signed-off-by: May Zhang <[email protected]>

* revert back the changes for redis-ha

Signed-off-by: May Zhang <[email protected]>

* update notification engine

Signed-off-by: May Zhang <[email protected]>

* re-trigger build

Signed-off-by: May Zhang <[email protected]>

* fix conflict

Signed-off-by: May Zhang <[email protected]>

* fix conflict

Signed-off-by: May Zhang <[email protected]>

* fix conflict

Signed-off-by: May Zhang <[email protected]>

* update notification enginer version

Signed-off-by: May Zhang <[email protected]>

* update notification enginer version

Signed-off-by: May Zhang <[email protected]>

* fixing go tidy

Signed-off-by: May Zhang <[email protected]>

* fixing go tidy

Signed-off-by: May Zhang <[email protected]>

* fixing go tidy

Signed-off-by: May Zhang <[email protected]>

* fixing go tidy

Signed-off-by: May Zhang <[email protected]>

* fixing go tidy

Signed-off-by: May Zhang <[email protected]>

* add back checkAppNotInAdditionalNamespaces

Signed-off-by: May Zhang <[email protected]>

* add cm and secret to clusterRole

Signed-off-by: May Zhang <[email protected]>

* if applicationNamespaces is not used, then use namespaced appClient

Signed-off-by: May Zhang <[email protected]>

* fix doc and test based on review

Signed-off-by: May Zhang <[email protected]>

* disable defining and using secrets within notification templates for self-service

Signed-off-by: May Zhang <[email protected]>

* tweaks

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

* fix docs formatting

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

* more docs and Procfile update for local run convenience

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

---------

Signed-off-by: May Zhang <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
2023-11-30 21:40:33 +00:00
jannfisandGitHub 733c0a917a build: Use full-qualified image slugs instead of short names (#14198)
Signed-off-by: jannfis <[email protected]>
2023-06-26 09:57:26 -04:00
Andreas SommerandGitHub ad7333c57f fix: Avoid Docker volume creating empty directory if dex.yaml could not be generated, improve error message (#10332)
Signed-off-by: Andreas Sommer <[email protected]>
2023-05-03 10:35:21 -04:00
rumsteadandGitHub 4391eaa052 feat(appset): applicationset controller use repo server (#10952) (#12714)
feat(appset): applicationset controller use repo server (#10952) (#12714)

Signed-off-by: rumstead <[email protected]>
2023-04-28 13:18:24 -07:00
Patrick BardoandGitHub 9f97696ffe fix: test Procfile (#11075)
* fix: Procfile

Fixing the procfile goreman runs for E2E test startup to be POSIX-shell compliant

Signed-off-by: Patrick Bardo <[email protected]>

* Update root Procfile to be POSIX compliant

Signed-off-by: Patrick Bardo <[email protected]>

---------

Signed-off-by: Patrick Bardo <[email protected]>
2023-03-01 16:52:46 -05: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
JakeandGitHub 5ef448a42b chore: use manifest version for redis+dex in E2E tests (#9955) (#9959)
* chore: use manifest version for redis+dex in E2E tests (#9955)

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

* use grep and cut instead of yq

Signed-off-by: notfromstatefarm <[email protected]>
2022-07-12 19:06:48 -07: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
pasha-codefreshandGitHub 0322aabe06 chore: run notification locally (#9274)
* run notification locally

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

* run notification locally

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

* fix comments

Signed-off-by: pashavictorovich <[email protected]>
2022-05-04 14:39:14 -04:00
Mathieu ParentandGitHub b3ef43cbec build(deps): bump redis from 6.2.6 to 7.0.0 (#9250)
Bumps [redis](https://github.com/redis/redis) from 6.2.6 to 7.0.0
- [Release notes](https://github.com/redis/redis/blob/7.0/00-RELEASENOTES)
- [Commits](https://github.com/redis/redis/compare/v6.2.6..v7.0.0)

Signed-off-by: Mathieu Parent <[email protected]>
2022-04-29 17:57:16 +03:00
rishabh625andGitHub 610ac02624 fix: ensure appset git generator works with private repo (#9179)
* fix: ensure appset git generator works with private repo

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

* Added env variable for sock file

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

* Retrigger CI pipeline

Signed-off-by: rishabh625 <[email protected]>
2022-04-28 10:31:06 +02:00
359bf94fc8 feat: Merge applicationset into argocd (#8864)
feat: Merge applicationset into argocd (#8864)

Signed-off-by: rishabh625 <[email protected]>
Co-authored-by: jannfis <[email protected]>
2022-03-29 15:11:02 -07:00
Leonardo Luz AlmeidaandGitHub 8f49251203 chore: configure cmp-server in goreman (#8495)
chore: configure cmp-server in goreman (#8495)

Signed-off-by: Leonardo Luz Almeida <[email protected]>
2022-02-18 08:46:55 -08:00
Alexander MatyushentsevandGitHub 4abd597eae chore: upgrade dex to v2.30.2 (https://github.com/dexidp/dex/issues/2326) (#8237)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2022-01-20 14:07:49 -08:00
jannfisandGitHub 906dad77a0 chore: Update to Redis 6.2.4 (#8157)
Signed-off-by: jannfis <[email protected]>
2022-01-12 12:37:10 -08:00
Leonardo Luz AlmeidaandGitHub 67e2d948fc Feat: Ignore differences owned by trusted managers from managedFields (#7869)
* feat: implement managed fields normalizer

Signed-off-by: Leonardo Luz Almeida <[email protected]>
2021-12-14 10:49:55 -08:00
May ZhangandGitHub dc20a5e312 Feat: cmp server (#6585)
* feat: config management plugin enhancement (#6585)

Signed-off-by: kshamajain99 <[email protected]>
Signed-off-by: May Zhang <[email protected]>
Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-11-08 09:47:10 -08:00
af4537ce98 chore: default to no gpg for Procfile - avoids missing temp dir failure (#7506)
Signed-off-by: Michael Crenshaw <[email protected]>

Co-authored-by: Michael Crenshaw <[email protected]>
2021-10-21 11:12:47 -07:00
Petr DrastilandGitHub 6463ba537a chore: Upgrade dex server image to 2.30.0 (#7102)
* chore: Upgrade dex server to 2.30.0

Signed-off-by: Petr Drastil <[email protected]>

* Revert dex server probes

Signed-off-by: Petr Drastil <[email protected]>
2021-09-03 19:20:01 +02:00
Alexander MatyushentsevandGitHub c2901775fb feat: Headless Argo CD (aka GitOps Agent) (#6361)
* feat: add --headless flag to Argo CD CLI command

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

* docs: add headless installation manifests and documentation

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

* Apply reviewer notes

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

* Remove port forwarding logs

Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-07-20 21:51:36 -07:00
jannfisandGitHub ee3c86f9d6 fix: Update redis to 6.2.4 (#6475)
Signed-off-by: jannfis <[email protected]>
2021-06-14 18:44:39 -07:00
May ZhangandGitHub f7c7062ba3 fix: adding tests for helm OCI registry (#5978)
* initial draft of adding tests for OCI

Signed-off-by: May Zhang <[email protected]>

* fix: initial draft of adding tests for OCI

Signed-off-by: May Zhang <[email protected]>

* bring up registry for tests

Signed-off-by: May Zhang <[email protected]>

* bring up registry for tests

Signed-off-by: May Zhang <[email protected]>

* bring up registry for tests

Signed-off-by: May Zhang <[email protected]>

* fix: just to test if PR is working

Signed-off-by: May Zhang <[email protected]>

* adding additional helm oci dependencies tests

Signed-off-by: May Zhang <[email protected]>
2021-04-12 09:15:43 -07:00
Alexander MatyushentsevandGitHub 2b46fe8b15 chore: make argocd gitpod friendly (#5973)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-04-06 08:55:15 -07:00
1d472ba293 chore: Upgrade Go module to v2 (#5931)
* chore: Upgrade Go module to v2

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

* Restore import order

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

* fix knowntypes_normalizer codegen error

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

* fix codegen

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

* fix Procfile

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

Co-authored-by: Alexander Matyushentsev <[email protected]>
2021-04-01 20:44:18 +02:00
jannfisandGitHub e24228808e feat: Upgrade Redis to v6.2.1 (#5701)
* feat: Upgrade Redis to v6

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

* Preload correct Redis image in CI

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

* Fix labels on StatefulSet and Deployment

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

* Update redis to 6.2.1 and haproxy to 2.0.20

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

* More 6.0.7 -> 6.2.1 updates

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

* Fix antiAffinity selectors

Signed-off-by: jannfis <[email protected]>
2021-03-07 09:35:24 +01:00
kshamajain99andGitHub 3240e3f6d1 build consolidated argocd binary (#5247)
Signed-off-by: kshamajain99 <[email protected]>
2021-01-20 11:28:06 -08:00
jannfisandGitHub d58aa40d1b fix: Allow correct SSO redirect URL for CLI static client (#5098)
Signed-off-by: jannfis <[email protected]>
2020-12-21 13:43:17 -08:00
jannfisandGitHub db661fbd5a chore: Update redis to 5.0.10 (#4767)
Signed-off-by: jannfis <[email protected]>
2020-11-05 13:58:26 -08:00
Maxime BrunetandGitHub 9c99f9e65c feat: Upgrade Dex to v2.25.0 (#4470) 2020-10-05 09:02:49 +02:00
jannfisandGitHub 52d0c684ab feat: GPG commit signature verification (#2492) (#3242)
* Add initial primitives and tests for GPG related operations

* More tests and test documentation

* Move gpg primitives to own module

* Add initial primitives for running git verify-commit and tests

* Improve and better comment test

* Implement VerifyCommitSignature() primitive for metrics wrapper

* More commentary

* Make reposerver verify gpg signatures when generating manifests

* Make signature validation optional

* Forbid use of local manifests when signature verification is enabled

* Introduce new signatureKeys field in project CRD

* Initial support for only syncing against signed revisions

* Updates to GnuPG primitives and more test cases

* Move signature verification to correct place and add tests

* Add signature verification result to revision metadata and display it in UI

* Add more primitives and move out some stuff to common module

* Add more testdata

* Add key management primitives to ArgoDB

* Move type GnuPGPublicKey to appsv1 package

* Add const ArgoCDGPGKeysConfigMapName

* Handle key operations with appsv1.GnuPGPublicKey

* Add initial API for managing GPG keys

* Remove deprecated code

* Add primitives for adding public keys to configuration

* Change semantics of ValidateGPGKeys to return more key information

* Add key import functionality to public key API

* Fix code quirks reported by linter

* More code quirks fixes

* Fix test

* Add primitives for deleting keys from configuration

* Add delete key operation to API and CLI

* Cosmetics

* Implement logic to sync configuration to keyring in repo-server

* Add IsGPGEnabled() primitive and also update trustdb on ownertrust changes

* Use gpg.IsGPGEnabled() instead of custom test

* Remove all keyring manipulating methods from DB

* Cosmetics/comments

* Require grpc methods from argoproj pkg

* Enable setting config path via ARGOCD_GPG_DATA_PATH

* Allow "no" and any cases in ARGOCD_GPG_ENABLED

* Enable GPG feature on start and start-e2e and set required environment

* Cosmetics/comments

* Cosmetics and commentary

* Update API documentation

* Fix comment

* Only run GPG related operations if GPG is enabled

* Allow setting ARGOCD_GPG_ENABLE from the environment

* Create GPG ConfigMap resource during installation

* Use function instead of constant to get the watcher path

* Re-watch source path in case it gets recreated. Also, error on finish

* Add End-to-End tests for GPG commit verification

* Introduce SignatureKey type for AppProject CRD

* Fix merge error from previous commit

* Adapt test for additional manifest (argocd-gpg-keys-cm.yaml)

* Fix linter issues

* Adapt CircleCI configuration to enable running tests

* Add wrapper scripts for git and gpg

* Sigh.

* Display gpg version in CircleCI

* Install gnupg2 and link it to gpg in CI

* Try to install gnupg2 in CircleCI image

* More CircleCI tweaks

* # This is a combination of 10 commits.
# This is the 1st commit message:

Containerize tests - test cycle

# This is the commit message #2:

adapt working directory

# This is the commit message #3:

Build before running tests (so we might have a cache)

# This is the commit message #4:

Test limiting parallelism

# This is the commit message #5:

Remove unbound variable

# This is the commit message #6:

Decrease parallelism to find out limit

# This is the commit message #7:

Use correct flag

# This is the commit message #8:

Update Docker image

# This is the commit message #9:

Remove build phase and increase parallelism

# This is the commit message #10:

Further increase parallelism

* Dockerize toolchain

* Add new targets to Makefile

* Codegen

* Properly handle permissions for E2E tests

* Remove gnupg2 installation from CircleCI configuration

* Limit parallelism of build

* Fix Yarn lint

* Retrigger CI for possible flaky test

* Codegen

* Remove duplicate target in Makefile

* Pull in pager from dep ensure -v

* Adapt to gitops-engine changes and codegen

* Use new health package for health status constants

* Add GPG methods to ArgoDB mock module

* Fix possible nil pointer dereference

* Fix linter issue in imports

* Introduce RBAC resource type 'gpgkeys' and adapt policies

* Use ARGOCD_GNUPGHOME instead of GNUPGHOME for subsystem configuration

Also remove some deprecated unit tests.

* Also register GPG keys API with gRPC-GW

* Update from codegen

* Update GPG key API

* Add web UI to manage GPG keys

* Lint updates

* Change wording

* Add some plausibility checks for supplied data on key creation

* Update from codegen

* Re-allow binary keys and move check for ASCII armoured to UI

* Make yarn lint happy

* Add editing signature keys for projects in UI

* Add ability to configure signature keys for project in CLI

* Change default value to use for GNUPGHOME

* Do not include data section in default gpg keys CM

* Adapt Docker image for GnuPG feature

* Add required configuration to installation manifests

* Add add-signature-key and remove-signature-key commands to project CLI

* Fix typo

* Add initial user documentation for GnuPG verification

* Fix role name - oops

* Mention required RBAC roles in docs

* Support GPG verification of git annotated tags as well

* Ensure CLI can build succesfully

* Better support verification on tags

* Print key type in upper case

* Update user documentation

* Correctly disable GnuPG verification if ARGOCD_GPG_ENABLE=false

* Clarify that this feature is only available with Git repositories

* codegen

* Move verification code to own function

* Remove deprecated check

* Make things more developer friendly when running locally

* Enable GPG feature by default, and don't require ARGOCD_GNUPGHOME to be set

* Revert changes to manifests to reflect default enable state

* Codegen
2020-06-22 18:21:53 +02:00
Alexander MatyushentsevandGitHub ac3f1fc3f3 chore: implement development helpers that mount config maps to local folder (#3796) 2020-06-19 12:27:39 -07:00
Daichi SakaueandGitHub 3595c3b4a5 chore: Update Redis to 5.0.8 (#3734)
Signed-off-by: Daichi Sakaue <[email protected]>
2020-06-11 14:41:18 -07:00
Alexander MatyushentsevandGitHub d305dbe705 feat: downgrade dex to 2.22.0 and revert bug workaround (#3468) 2020-04-22 17:34:58 -07:00
Alexander MatyushentsevandGitHub a0ba859a22 feat: upgrade dex to v2.23.0 (#3448)
* feat: upgrade dex to v2.23.0

* workaround for https://github.com/dexidp/dex/issues/1695
2020-04-20 22:22:19 -07:00
Alexander MatyushentsevandGitHub 694502569a feat: upgrade dex to v2.21.0 (#2985) 2020-01-15 14:06:38 -08:00
Alexander MatyushentsevandGitHub cf44ed38ee fix: UI should re-trigger SSO login if SSO JWT token expires (#2891) 2019-12-17 18:31:30 -08:00
Alex CollinsandGitHub 53b92577a7 Gzip JWTs and Adds New User Info Page (#2204) 2019-09-05 13:31:04 -07:00
jannfisandAlexander Matyushentsev 90bb86a8f8 Fix and enhance end-to-end testing for SSH repositories (#2101)
* Fix and enhance end-to-end testing for SSH repositories
2019-08-07 10:53:00 -07:00
Alexander MatyushentsevandGitHub 28005f0517 Issues #1513 - Make sure insecure flag works for remote Kustomize bases (#1934)
* Make sure insecure flag works for remote Kustomize bases
2019-07-12 17:17:23 -07:00