Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: argo cd 2.13.2 #369

Merged
merged 1,169 commits into from
Jan 9, 2025
Merged

Conversation

oleksandr-codefresh
Copy link

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Toolchain Guide
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.
  • Optional. My organization is added to USERS.md.
  • Optional. For bug fixes, I've indicated what older releases this fix should be cherry-picked into (this may or may not happen depending on risk/complexity).

crenshaw-dev and others added 30 commits August 15, 2024 07:29
* chore: remove unused params

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

* more

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

---------

Signed-off-by: Michael Crenshaw <[email protected]>
…roj#19452 (argoproj#19512)

* fix(controller): selfHeal respected in multi-source apps
when there is object change in cluster

Signed-off-by: Eric Lin <[email protected]>

* fix: tests for multi source selfheal

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

---------

Signed-off-by: Eric Lin <[email protected]>
Signed-off-by: Ezzahhh <[email protected]>
Bumps library/registry from `79b2959` to `1212042`.

---
updated-dependencies:
- dependency-name: library/registry
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: Support context switch for argocd-util

Signed-off-by: Atsushi Neki <[email protected]>

* execute codegen

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

---------

Signed-off-by: Atsushi Neki <[email protected]>
Signed-off-by: Dan Garfield <[email protected]>
Signed-off-by: pasha-codefresh <[email protected]>
Signed-off-by: pashakostohrys <[email protected]>
Co-authored-by: Atsushi Neki <[email protected]>
Co-authored-by: Dan Garfield <[email protected]>
argoproj#19541)

Bumps bitnami/kubectl from 1.30 to 1.31.

---
updated-dependencies:
- dependency-name: bitnami/kubectl
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.19.1...v1.20.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jann Fischer <[email protected]>
* feat(ci): upload test results to codecov

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

* only run on master

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

---------

Signed-off-by: Michael Crenshaw <[email protected]>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.1/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.20.0...v1.20.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…sgenerated status to prevent update loop (argoproj#19613)

* fix status and update loop

Signed-off-by: Ilia Medvedev <[email protected]>

* add tests

Signed-off-by: Ilia Medvedev <[email protected]>

* lint

Signed-off-by: Ilia Medvedev <[email protected]>

---------

Signed-off-by: Ilia Medvedev <[email protected]>
…#19608)

* feat(dex): set logger based on argo config

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

* add env config

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

* organize import bug?

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

---------

Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Ishita Sequeira <[email protected]>
Co-authored-by: Dan Garfield <[email protected]>
* docs: fix stable message

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

* docs: fix stable message

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

---------

Signed-off-by: Junseokee <[email protected]>
Signed-off-by: Jessie Teng <[email protected]>
Co-authored-by: Jessie Teng <[email protected]>
* fix: cache helm-index in Redis cluster

Signed-off-by: JenTing Hsiao <[email protected]>

* Update repository.go

Fix order

Signed-off-by: Dan Garfield <[email protected]>

---------

Signed-off-by: JenTing Hsiao <[email protected]>
Signed-off-by: Dan Garfield <[email protected]>
Co-authored-by: Dan Garfield <[email protected]>
…#19626)

Bullets need to start with blank line, otherwise they don't render on read the docs. GitHub markdown doesn't require them but read the docs does

Signed-off-by: Cornelius Roemer <[email protected]>
…oproj#19619)

# Context:
  `migrateStatus` updates the status of the appset but after succeeding
  it does not update the in memory object which means that that new
  updates may fail due to conflict since it's comparing it to the
  object previous to updating it in `migrateStatus`.

  # What does this PR?
  - After updating the appset object in `migrateStatus` it gets the
    object again to reference it in the appset pointer of the
    reconciler.

Signed-off-by: Carlos Rejano <[email protected]>
…goproj#19612)

* use event to notify extensions changes

Signed-off-by: Yiwei Gong <[email protected]>

* use custom event target implementation

Signed-off-by: Yiwei Gong <[email protected]>

---------

Signed-off-by: Yiwei Gong <[email protected]>
Bumps library/golang from `a400dc7` to `8e529b6`.

---
updated-dependencies:
- dependency-name: library/golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Adding same checkpoint in a loop would be misleading with multiple sources, also unmarshal checkpoint has a wrong name if there's a loop.
Remove checkpoints in the loop and rename the unmarshal checkpoint.

Signed-off-by: Andrii Korotkov <[email protected]>
austin5219 and others added 23 commits November 7, 2024 15:47
…rgoproj#20675)

* fix(pkce): 20111 PKCE auth flow does not return user to previous path like dex auth flow (argoproj#20202)

* Adding non-default basehref support for PKCE auth flow

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

* Adding ; for linting

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

* removing hook function

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

* Moving unauthorized error handling to class component to access context for error handling within 401 error

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

* Store the subsrition handle to close in unmount

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

* reorder imports

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

* Actually saving the subscriptions now

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

* returning the 401 subscription from helper function

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

* Handle the promise of a subscription

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

* Removing then from non async subscribe

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

* Linter fixes

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

* Adding path caching to sessionStorage on pkceLogin and redirect step to cached path if available in pkceCallback to mirror Dex functionality

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

---------

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

* Merge Conflict fix

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

---------

Signed-off-by: austin5219 <[email protected]>
…oj#20665) (argoproj#20694)

Closes argoproj#20171

There are valid use cases for InsufficientPods, e.g. running some jobs or tests that don't want to be terminated. See the discussion on the issue for more details. So don't degrade the PDB on InsufficientPods condition.

This needs to be cherry picked to 2.13, as many people may not upgrade otherwise.

Signed-off-by: Andrii Korotkov <[email protected]>
Co-authored-by: Andrii Korotkov <[email protected]>
…argoproj#20718)

* fix: disable automaxprocs logging (argoproj#20069)

* disable automaxprocs logging

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

fix lint checks

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

move maxprocs to main.go

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

move set auto max procs to a function

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

add info log

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

* add info log

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

* fix lint checks

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

* fix lint checks

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

* add unit test

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

* fix lint issues

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

---------

Signed-off-by: nitishfy <[email protected]>
(cherry picked from commit cfa1c89)

* fix(ci): ignore temporary files when checking for out of bound symlinks (argoproj#20527)

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

---------

Signed-off-by: cef <[email protected]>
Co-authored-by: Nitish Kumar <[email protected]>
Co-authored-by: ABBOUD Moncef <[email protected]>
…18441) (argoproj#20788)

* feat: option to disable writing k8s events

optioned to write logs for k8s events.
Each is passed as an environment variable and defaults to true,
disabling it requires explicitly setting the option to false.

---------

Signed-off-by: Jack-R-lantern <[email protected]>
…20699) (argoproj#20819) (argoproj#20860)

Fixes argoproj#20699

Constructor may not get called every time the application changes, so previous this.appNamespace could be stale. But the update to use `this.props.match.params.appnamespace` could also fail if it's undefined.
As a fix, create and use a helper function `getAppNamespace` which has a special case handling for undefined.

Also, use a namespaced endpoint when namespace is not undefined.

It needs to be cherry-picked to v2.11-2.13.

Signed-off-by: Andrii Korotkov <[email protected]>
Co-authored-by: Andrii Korotkov <[email protected]>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: pasha-codefresh <[email protected]>
…rgoproj#20518) (argoproj#20892)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rgoproj#20950) (argoproj#20960)

* fix: api server is trying to list cluster wide secrets while generating apps



* Revert "fix: Fix argocd appset generate failure due to missing clusterrole (argoproj#20162)"

This reverts commit fad534b.

---------

Signed-off-by: Alexander Matyushentsev <[email protected]>
Co-authored-by: Alexander Matyushentsev <[email protected]>
argoproj#20990) (argoproj#21039)

Fixes argoproj#20769

Author there is a struct, not a string. Use nickname from that struct as an author name.

Let's cherry pick to 2.11-2.13

Signed-off-by: Andrii Korotkov <[email protected]>
Co-authored-by: Andrii Korotkov <[email protected]>
…oj#20975) (argoproj#21116)

* fix: Allow to delete repos with invalid urls (argoproj#20921)

Fixes argoproj#20921

Normalization of repo url is attempted during repo deletion before comparison with existing repos. Before this change, it'd fail on invalid urls and return "", resulting in permission denied. This ended up in a state where people can add repos with invalid urls but couldn't delete them. Return raw repo url if url parsing failed. Add a test to validate the deletion can be performed and make sure it fails without the main change.

This needs to be cherry-picked to v2.11-2.13



* Don't modify the original NormalizeGitURL



---------

Signed-off-by: Andrii Korotkov <[email protected]>
Co-authored-by: Andrii Korotkov <[email protected]>
…j#21129)

This fixes a regression in 2.12. Before 2.12 githubAppInstallationID,
`githubAppID` and `gitHubAppEnterpriseBaseURL` were returned, but with
2.12 the repo is retrieved with getRepositories`, which does not
include those fields.

To fix this, add those missing fields to `ListRepositories`.

Signed-off-by: Blake Pettersson <[email protected]>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ishitasequeira <[email protected]>
…rgoproj#21063) (cherry-pick 2.13) (argoproj#21176)

* fix: Populate destination name when destination server is specified (argoproj#21063)

* Populate destination name when destination server is specified

Signed-off-by: Adrian Aneci <[email protected]>

---------

Signed-off-by: Adrian Aneci <[email protected]>

* Go lint fixes

Signed-off-by: Adrian Aneci <[email protected]>

---------

Signed-off-by: Adrian Aneci <[email protected]>
…rgoproj#21178) (argoproj#21187)

* fix(api): send to closed channel in mergeLogStreams (argoproj#7006)



* more intense test



* even more intense



* remove unnecessary comment



* fix the race condition



---------

Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
…cts (argoproj#20758) (argoproj#21300)

* Change applicationset generate HTTP method to avoid route conflicts



* Update server/applicationset/applicationset.proto




* Codegen



---------

Signed-off-by: Amit Oren <[email protected]>
Signed-off-by: Amit Oren <[email protected]>
Co-authored-by: Amit Oren <[email protected]>
Co-authored-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: crenshaw-dev <[email protected]>
@oleksandr-codefresh oleksandr-codefresh force-pushed the chore/CR-26736-argo-cd-2.13.2 branch from 7255f22 to bac28c1 Compare January 7, 2025 18:51
# Conflicts:
#	VERSION
#	manifests/base/kustomization.yaml
#	manifests/core-install.yaml
#	manifests/core-install/kustomization.yaml
#	manifests/ha/base/kustomization.yaml
#	manifests/ha/install.yaml
#	manifests/ha/namespace-install.yaml
#	manifests/install.yaml
#	manifests/namespace-install.yaml
#	server/application/logs.go
#	server/application/logs_test.go
@oleksandr-codefresh oleksandr-codefresh merged commit 67d01f9 into release-2.13 Jan 9, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.