Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
422c6f6
feat: Provide Edit support in Sources tab for multi-source app (#17588)
keithchong Mar 21, 2024
ad372cf
wrap error for SyncKeyRingFromDirectory (#17633)
danqixu Mar 27, 2024
442dac1
docs(user-guide): fix a typo (#17642)
treble-snake Mar 27, 2024
e9547bc
[Bot] docs: Update Snyk reports (#17601)
github-actions[bot] Mar 27, 2024
31aa4d9
chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 in /ui-test …
dependabot[bot] Mar 27, 2024
4b80393
Update USERS.md (#17651)
obeyler Mar 28, 2024
53b0842
chore(deps): bump express from 4.17.3 to 4.19.2 in /ui (#17648)
dependabot[bot] Mar 28, 2024
ae29279
Merge pull request from GHSA-jhwx-mhww-rgc3
pasha-codefresh Mar 28, 2024
8631e7e
docs: fix contrib meeting time description (#17655)
leoluz Mar 28, 2024
e26f4fb
docs: 2 link fixes + hint (#17657)
deer-wmde Mar 28, 2024
b711c5b
docs: added warning for multiple sources (#17670)
kostis-codefresh Mar 29, 2024
766a6da
feat: Enhance ArgoCD CLI: Dynamic Repo Server Retrieval with --core a…
Mangaal Mar 29, 2024
7deafc4
feat(ui): metadata.annotations: too long message Improved (#17452)
surajyadav1108 Apr 1, 2024
f287dab
chore: Update USERS.md (#17683)
suhas-chikkanna Apr 1, 2024
405949b
docs: clarify multiple sources example (#17698)
kostis-codefresh Apr 2, 2024
affd1cb
fix(ui): Fix color generation for pod name in logs viewer. Fixes #177…
der-eismann Apr 2, 2024
614f44c
feat(server): Add maxPodLogsToRender setting (#14617)
lukaszgyg Apr 3, 2024
c8d912f
docs/user-guide/helm.md: fix typo valuesFile (#17716)
pstast Apr 3, 2024
4b11524
feat(cli): add support for multiple sources to app diff|manifests com…
ishitasequeira Apr 3, 2024
44da206
fix: fix calculating patch for respect ignore diff feature (#17693)
alexmt Apr 3, 2024
a4b8c66
chore(deps): bump library/golang in /test/container (#17721)
dependabot[bot] Apr 4, 2024
c09e5b0
chore: add v2.11 release cadence (#17727)
pasha-codefresh Apr 4, 2024
3654d7f
chore(deps): bump library/golang from 1.21.3 to 1.21.9 (#17722)
dependabot[bot] Apr 4, 2024
618a4e9
chore(deps): bump library/busybox in /test/e2e/multiarch-container (#…
dependabot[bot] Apr 4, 2024
4e46a5e
feat(controller): use manifest generate path during comparison (#1424…
alexymantha Apr 4, 2024
6523f25
chore(ui): improve the msg to user when deleteing the resource (#17734)
ashutosh16 Apr 4, 2024
040eb36
fix(security): use Chainguard fork of git-urls (#17732)
crenshaw-dev Apr 4, 2024
35deccb
chore: rename source-indexes to source-positions (#17746)
ishitasequeira Apr 5, 2024
496ac5e
fix(cli): ARGOCD_OPTS supports --header and other parameters (#17553)
Young-Zen Apr 5, 2024
cbafc13
feat: support grpc message size as env (#17728)
pasha-codefresh Apr 6, 2024
a539f95
chore: cleanup follow up for enforce manifest generate path (#15636) …
alexymantha Apr 7, 2024
1d13dc2
docs: Add CloudGeometry to USERS.md (#17774)
sergs-pci Apr 8, 2024
4abc992
docs: Proposal to support multi-source apps in the UI (#17106) (#17108)
keithchong Apr 8, 2024
ebe4804
chore: bump protobuf (#17788)
blakepettersson Apr 9, 2024
c2dfab5
fix: update rbac validation to support applications in different name…
Apr 10, 2024
4e433c6
fix(snyk): use version sort (#17798)
rumstead Apr 10, 2024
0cf6fdb
docs: Add IFS to USERS.md (#17806)
antonhornquist Apr 11, 2024
5ac8d05
fix: prevent leak of files to /dev/shm in corner cases (#17658) (#17659)
jgwest Apr 11, 2024
922abef
fix(api): use arrays instead of map to display ApplicationManifetQuer…
ishitasequeira Apr 12, 2024
659f426
docs: Add Metacore Games to USERS.md (#17827)
juhosyrjanen Apr 13, 2024
6646c6b
Merge pull request from GHSA-2gvw-w6fj-7m3c
pasha-codefresh Apr 15, 2024
44894e9
fix: docker build fails due to 'http://deb.debian.org/debian buster-b…
pasha-codefresh Apr 15, 2024
cbbb99d
Fix some comments (#17830)
pullmerge Apr 15, 2024
831bfc3
[Bot] docs: Update Snyk reports (#17829)
github-actions[bot] Apr 15, 2024
c740412
chore: Add rerunreport.txt to .gitignore (#17848)
jannfis Apr 15, 2024
957170e
fix: run codegen check in ci for docs (#17853)
gdsoumya Apr 15, 2024
6263604
chore(deps): bump library/node from 21.7.1 to 21.7.3 in /test/contain…
dependabot[bot] Apr 16, 2024
a8b3663
chore(deps): bump library/node from 21.7.1 to 21.7.3 in /ui-test (#17…
dependabot[bot] Apr 16, 2024
27b592e
chore(deps): bump library/golang from `7d0dcbe` to `ff6cfbd` (#17794)
dependabot[bot] Apr 16, 2024
4d527f8
chore: upgrade redis to 7.0.15 (#17665)
taisph Apr 16, 2024
e12fae8
fix: Excessive HTTP requests when navigating in list view (#17757)
adberger Apr 16, 2024
48b636e
chore: native client mock should be generated with go gen (#17864)
pasha-codefresh Apr 16, 2024
a1472ae
chore: add Octopus Deploy to USERS.md (#17858)
pasha-codefresh Apr 16, 2024
f819870
feat: Add Sources tab to show all sources of a multi-source app (#172…
keithchong Apr 16, 2024
74805d5
chore(deps): bump library/golang in /test/container (#17865)
dependabot[bot] Apr 17, 2024
60f3332
document possibility to specify request timeout in plugin generator (…
isihu Apr 17, 2024
2031a07
fix: Pass logger to differ in diff command (#17871)
matthewhughes-uw Apr 17, 2024
1c6b6eb
docs: fix metrics labels name in notification monitoring (#17869)
dacofr Apr 17, 2024
db615ed
chore: update gitops engine for force sync option (#5882) (#17866)
kkk777-7 Apr 17, 2024
b867c9e
fix: remove deprecated default cipher for golang >=1.22 (#17569)
joshrwolf Apr 17, 2024
360a3b0
feat: Provide Edit support in Sources tab for multi-source app (#17588)
keithchong Apr 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
frontend:
- 'ui/**'
- Dockerfile
docs:
- 'docs/**'
check-go:
name: Ensure Go modules synchronicity
if: ${{ needs.changes.outputs.backend == 'true' }}
Expand Down Expand Up @@ -245,7 +247,7 @@ jobs:

codegen:
name: Check changes to generated code
if: ${{ needs.changes.outputs.backend == 'true' }}
if: ${{ needs.changes.outputs.backend == 'true' || needs.changes.outputs.docs == 'true'}}
runs-on: ubuntu-22.04
needs:
- changes
Expand Down Expand Up @@ -472,7 +474,7 @@ jobs:
run: |
docker pull ghcr.io/dexidp/dex:v2.38.0
docker pull argoproj/argo-cd-ci-builder:v1.0.0
docker pull redis:7.0.14-alpine
docker pull redis:7.0.15-alpine
- name: Create target directory for binaries in the build-process
run: |
mkdir -p dist
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ node_modules/
./test/cmp/*.sock
.envrc.remote
.*.swp
rerunreport.txt

# ignore built binaries
cmd/argocd/argocd
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ ARG BASE_IMAGE=docker.io/library/ubuntu:22.04@sha256:0bced47fffa3361afa981854fca
# Initial stage which pulls prepares build dependencies and CLI tooling we need for our final image
# Also used as the image in CI jobs so needs all dependencies
####################################################################################################
FROM docker.io/library/golang:1.21.8@sha256:856073656d1a517517792e6cdd2f7a5ef080d3ca2dff33e518c8412f140fdd2d AS builder
FROM docker.io/library/golang:1.21.9@sha256:81811f8a883e238666dbadee6928ae2902243a3cd3f3e860f21c102543c6b5a7 AS builder

RUN echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list
RUN echo 'deb http://archive.debian.org/debian buster-backports main' >> /etc/apt/sources.list

RUN apt-get update && apt-get install --no-install-recommends -y \
openssh-server \
Expand Down Expand Up @@ -101,7 +101,7 @@ RUN HOST_ARCH=$TARGETARCH NODE_ENV='production' NODE_ONLINE_ENV='online' NODE_OP
####################################################################################################
# Argo CD Build stage which performs the actual build of Argo CD binaries
####################################################################################################
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21.3@sha256:02d7116222536a5cf0fcf631f90b507758b669648e0f20186d2dc94a9b419a9b AS argocd-build
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21.9@sha256:81811f8a883e238666dbadee6928ae2902243a3cd3f3e860f21c102543c6b5a7 AS argocd-build

WORKDIR /go/src/github.com/argoproj/argo-cd

Expand Down
8 changes: 8 additions & 0 deletions USERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Currently, the following organizations are **officially** using Argo CD:
1. [Ant Group](https://www.antgroup.com/)
1. [AppDirect](https://www.appdirect.com)
1. [Arctiq Inc.](https://www.arctiq.ca)
2. [Arturia](https://www.arturia.com)
1. [ARZ Allgemeines Rechenzentrum GmbH](https://www.arz.at/)
1. [Autodesk](https://www.autodesk.com)
1. [Axians ACSP](https://www.axians.fr)
Expand All @@ -34,6 +35,7 @@ Currently, the following organizations are **officially** using Argo CD:
1. [BCDevExchange DevOps Platform](https://bcdevexchange.org/DevOpsPlatform)
1. [Beat](https://thebeat.co/en/)
1. [Beez Innovation Labs](https://www.beezlabs.com/)
1. [Bedag Informatik AG](https://www.bedag.ch/)
1. [Beleza Na Web](https://www.belezanaweb.com.br/)
1. [BigPanda](https://bigpanda.io)
1. [BioBox Analytics](https://biobox.io)
Expand All @@ -57,6 +59,7 @@ Currently, the following organizations are **officially** using Argo CD:
1. [Cisco ET&I](https://eti.cisco.com/)
1. [Cloud Posse](https://www.cloudposse.com/)
1. [Cloud Scale](https://cloudscaleinc.com/)
1. [CloudGeometry](https://www.cloudgeometry.io/)
1. [Cloudmate](https://cloudmt.co.kr/)
1. [Cloudogu](https://cloudogu.com/)
1. [Cobalt](https://www.cobalt.io/)
Expand Down Expand Up @@ -131,6 +134,7 @@ Currently, the following organizations are **officially** using Argo CD:
1. [IABAI](https://www.iab.ai)
1. [IBM](https://www.ibm.com/)
1. [Ibotta](https://home.ibotta.com)
1. [IFS](https://www.ifs.com)
1. [IITS-Consulting](https://iits-consulting.de)
1. [IllumiDesk](https://www.illumidesk.com)
1. [imaware](https://imaware.health)
Expand Down Expand Up @@ -178,6 +182,7 @@ Currently, the following organizations are **officially** using Argo CD:
1. [Meilleurs Agents](https://www.meilleursagents.com/)
1. [Mercedes-Benz Tech Innovation](https://www.mercedes-benz-techinnovation.com/)
1. [Mercedes-Benz.io](https://www.mercedes-benz.io/)
1. [Metacore Games](https://metacoregames.com/)
1. [Metanet](http://www.metanet.co.kr/en/)
1. [MindSpore](https://mindspore.cn)
1. [Mirantis](https://mirantis.com/)
Expand All @@ -198,6 +203,7 @@ Currently, the following organizations are **officially** using Argo CD:
1. [Objective](https://www.objective.com.br/)
1. [OCCMundial](https://occ.com.mx)
1. [Octadesk](https://octadesk.com)
1. [Octopus Deploy](https://octopus.com)
1. [Olfeo](https://www.olfeo.com/)
1. [omegaUp](https://omegaUp.com)
1. [Omni](https://omni.se/)
Expand Down Expand Up @@ -242,6 +248,7 @@ Currently, the following organizations are **officially** using Argo CD:
1. [QuintoAndar](https://quintoandar.com.br)
1. [Quipper](https://www.quipper.com/)
1. [RapidAPI](https://www.rapidapi.com/)
1. [rebuy](https://www.rebuy.de/)
1. [Recreation.gov](https://www.recreation.gov/)
1. [Red Hat](https://www.redhat.com/)
1. [Redpill Linpro](https://www.redpill-linpro.com/)
Expand All @@ -263,6 +270,7 @@ Currently, the following organizations are **officially** using Argo CD:
1. [SCRM Lidl International Hub](https://scrm.lidl)
1. [SEEK](https://seek.com.au)
1. [Semgrep](https://semgrep.com)
1. [Shield](https://shield.com)
1. [SI Analytics](https://si-analytics.ai)
1. [Skit](https://skit.ai/)
1. [Skyscanner](https://www.skyscanner.net/)
Expand Down
19 changes: 19 additions & 0 deletions assets/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,25 @@
"type": "string",
"name": "project",
"in": "query"
},
{
"type": "array",
"items": {
"type": "string",
"format": "int64"
},
"collectionFormat": "multi",
"name": "sourcePositions",
"in": "query"
},
{
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi",
"name": "revisions",
"in": "query"
}
],
"responses": {
Expand Down
6 changes: 6 additions & 0 deletions cmd/argocd-repo-server/commands/argocd_repo_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func NewCommand() *cobra.Command {
streamedManifestMaxTarSize string
streamedManifestMaxExtractedSize string
helmManifestMaxExtractedSize string
helmRegistryMaxIndexSize string
disableManifestMaxExtractedSize bool
)
var command = cobra.Command{
Expand Down Expand Up @@ -110,6 +111,9 @@ func NewCommand() *cobra.Command {
helmManifestMaxExtractedSizeQuantity, err := resource.ParseQuantity(helmManifestMaxExtractedSize)
errors.CheckError(err)

helmRegistryMaxIndexSizeQuantity, err := resource.ParseQuantity(helmRegistryMaxIndexSize)
errors.CheckError(err)

askPassServer := askpass.NewServer()
metricsServer := metrics.NewMetricsServer()
cacheutil.CollectMetrics(redisClient, metricsServer)
Expand All @@ -125,6 +129,7 @@ func NewCommand() *cobra.Command {
StreamedManifestMaxExtractedSize: streamedManifestMaxExtractedSizeQuantity.ToDec().Value(),
StreamedManifestMaxTarSize: streamedManifestMaxTarSizeQuantity.ToDec().Value(),
HelmManifestMaxExtractedSize: helmManifestMaxExtractedSizeQuantity.ToDec().Value(),
HelmRegistryMaxIndexSize: helmRegistryMaxIndexSizeQuantity.ToDec().Value(),
}, askPassServer)
errors.CheckError(err)

Expand Down Expand Up @@ -208,6 +213,7 @@ func NewCommand() *cobra.Command {
command.Flags().StringVar(&streamedManifestMaxTarSize, "streamed-manifest-max-tar-size", env.StringFromEnv("ARGOCD_REPO_SERVER_STREAMED_MANIFEST_MAX_TAR_SIZE", "100M"), "Maximum size of streamed manifest archives")
command.Flags().StringVar(&streamedManifestMaxExtractedSize, "streamed-manifest-max-extracted-size", env.StringFromEnv("ARGOCD_REPO_SERVER_STREAMED_MANIFEST_MAX_EXTRACTED_SIZE", "1G"), "Maximum size of streamed manifest archives when extracted")
command.Flags().StringVar(&helmManifestMaxExtractedSize, "helm-manifest-max-extracted-size", env.StringFromEnv("ARGOCD_REPO_SERVER_HELM_MANIFEST_MAX_EXTRACTED_SIZE", "1G"), "Maximum size of helm manifest archives when extracted")
command.Flags().StringVar(&helmRegistryMaxIndexSize, "helm-registry-max-index-size", env.StringFromEnv("ARGOCD_REPO_SERVER_HELM_MANIFEST_MAX_INDEX_SIZE", "1G"), "Maximum size of registry index file")
command.Flags().BoolVar(&disableManifestMaxExtractedSize, "disable-helm-manifest-max-extracted-size", env.ParseBoolFromEnv("ARGOCD_REPO_SERVER_DISABLE_HELM_MANIFEST_MAX_EXTRACTED_SIZE", false), "Disable maximum size of helm manifest archives when extracted")
tlsConfigCustomizerSrc = tls.AddTLSFlagsToCmd(&command)
cacheSrc = reposervercache.AddCacheFlagsToCmd(&command, cacheutil.Options{
Expand Down
19 changes: 14 additions & 5 deletions cmd/argocd/commands/admin/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
"github.com/argoproj/argo-cd/v2/controller"
"github.com/argoproj/argo-cd/v2/controller/cache"
"github.com/argoproj/argo-cd/v2/controller/metrics"
"github.com/argoproj/argo-cd/v2/controller/sharding"
argocdclient "github.com/argoproj/argo-cd/v2/pkg/apiclient"
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
appclientset "github.com/argoproj/argo-cd/v2/pkg/client/clientset/versioned"
Expand Down Expand Up @@ -269,18 +270,26 @@ func NewReconcileCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

var result []appReconcileResult
if refresh {
appClientset := appclientset.NewForConfigOrDie(cfg)
kubeClientset := kubernetes.NewForConfigOrDie(cfg)
if repoServerAddress == "" {
printLine("Repo server is not provided, trying to port-forward to argocd-repo-server pod.")
overrides := clientcmd.ConfigOverrides{}
repoServerPodLabelSelector := common.LabelKeyAppName + "=" + clientOpts.RepoServerName
repoServerName := clientOpts.RepoServerName
repoServerServiceLabelSelector := common.LabelKeyComponentRepoServer + "=" + common.LabelValueComponentRepoServer
repoServerServices, err := kubeClientset.CoreV1().Services(namespace).List(context.Background(), v1.ListOptions{LabelSelector: repoServerServiceLabelSelector})
errors.CheckError(err)
if len(repoServerServices.Items) > 0 {
if repoServerServicelabel, ok := repoServerServices.Items[0].Labels[common.LabelKeyAppName]; ok && repoServerServicelabel != "" {
repoServerName = repoServerServicelabel
}
}
repoServerPodLabelSelector := common.LabelKeyAppName + "=" + repoServerName
repoServerPort, err := kubeutil.PortForward(8081, namespace, &overrides, repoServerPodLabelSelector)
errors.CheckError(err)
repoServerAddress = fmt.Sprintf("localhost:%d", repoServerPort)
}
repoServerClient := reposerverclient.NewRepoServerClientset(repoServerAddress, 60, reposerverclient.TLSConfiguration{DisableTLS: false, StrictValidation: false})

appClientset := appclientset.NewForConfigOrDie(cfg)
kubeClientset := kubernetes.NewForConfigOrDie(cfg)
result, err = reconcileApplications(ctx, kubeClientset, appClientset, namespace, repoServerClient, selector, newLiveStateCache, serverSideDiff)
errors.CheckError(err)
} else {
Expand Down Expand Up @@ -437,5 +446,5 @@ func reconcileApplications(
}

func newLiveStateCache(argoDB db.ArgoDB, appInformer kubecache.SharedIndexInformer, settingsMgr *settings.SettingsManager, server *metrics.MetricsServer) cache.LiveStateCache {
return cache.NewLiveStateCache(argoDB, appInformer, settingsMgr, kubeutil.NewKubectl(), server, func(managedByApp map[string]bool, ref apiv1.ObjectReference) {}, nil, argo.NewResourceTracking())
return cache.NewLiveStateCache(argoDB, appInformer, settingsMgr, kubeutil.NewKubectl(), server, func(managedByApp map[string]bool, ref apiv1.ObjectReference) {}, &sharding.ClusterSharding{}, argo.NewResourceTracking())
}
Loading