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

fix(app): use jsonpatch to check for changes in status field (#15126) #15227

Closed
wants to merge 337 commits into from
Closed
Changes from all commits
Commits
Show all changes
337 commits
Select commit Hold shift + click to select a range
bfe9594
docs: better command reference titles (#15567) (#15568)
crenshaw-dev Sep 19, 2023
ee33441
chore(deps): bump library/node from 20.6.1 to 20.7.0 in /ui-test (#15…
dependabot[bot] Sep 20, 2023
63d2e0d
chore(deps): bump library/node from 20.6.1 to 20.7.0 in /test/contain…
dependabot[bot] Sep 20, 2023
f4980d0
docs: Add documentation on how to specify shard number for a cluster …
sridharnandigam Sep 20, 2023
9b2df1e
docs: 'action' RBAC example for Kind without group (#15589)
crenshaw-dev Sep 20, 2023
e8214f5
chore: add gdsoumya to reviewers (#15596)
gdsoumya Sep 20, 2023
658a82f
feat: added patch_ms and setop_ms timings to reconciliation logs (#15…
gdsoumya Sep 21, 2023
93aeb41
chore(action): minor lua changes (#15580)
jsoref Sep 21, 2023
eab2ce4
chore(deps): bump library/golang from `cffaba7` to `2270a40` (#15615)
crenshaw-dev Sep 21, 2023
acd2cef
feat(extensions): Automatically apply extension configs without resta…
leoluz Sep 21, 2023
90939bf
Update the supported version policy in Operator Manual Installation d…
mooneeb Sep 22, 2023
17f8d7d
doc: resource tracking custom label configuration (#15587)
Timoses Sep 22, 2023
fa574df
feat(cli): tree option in output flag for app sync, app wait and app …
schakrad Sep 22, 2023
a9175cc
feat: dynamic rebalancing of clusters across shards (#15036)
ishitasequeira Sep 22, 2023
be880bf
chore(deps): bump node version (#15616)
crenshaw-dev Sep 22, 2023
b64e991
feat(appset): add Support for AzureDevops Webhooks (#15047)
robinlieb Sep 22, 2023
ae0c276
fix(cli): get latest app state before printing tree (#15639)
crenshaw-dev Sep 22, 2023
d0e9004
chore(deps): bump actions/setup-node from 3.8.0 to 3.8.1 (#15108)
dependabot[bot] Sep 22, 2023
dcbf283
feat(kustomize): add patches field (#5114) (#14648)
crenshaw-dev Sep 23, 2023
160ea7d
feat(health): Implement AnsibleJob CRD health checks (#14483)
mikeshng Sep 25, 2023
ca6146e
feat(health): add PushSecret health status and force-sync action (#14…
agaudreault Sep 25, 2023
fc768af
fix(kustomize): no concurrent processing if Kustomize patches are use…
crenshaw-dev Sep 25, 2023
891f4cb
feat(appset): ignoreApplicationDifferences (#9101) (#14743)
crenshaw-dev Sep 25, 2023
8198121
fix(applicationset): cannot validate inherited project permissions (#…
agaudreault Sep 25, 2023
c40af32
chore(deps): bump semver from 5.7.1 to 5.7.2 in /ui-test (#14457)
dependabot[bot] Sep 26, 2023
24fabd0
chore(ci): free up disk space (#15674)
crenshaw-dev Sep 26, 2023
5270754
fix: add a not found check for application controller deployment (#15…
ishitasequeira Sep 26, 2023
f381c00
[fix] sidebar style (#15652)
ymktmk Sep 26, 2023
9351624
fix(ci): free up disk space (#15683)
crenshaw-dev Sep 26, 2023
a2b44b9
fix(ci): do not fail fast on e2e test failures (#15694)
crenshaw-dev Sep 27, 2023
d4f8c70
fix(ci): misplaced config option (#15698)
crenshaw-dev Sep 27, 2023
0845421
fix(applicationset): git generator ignores empty files (#15661)
agaudreault Sep 27, 2023
0bba7f7
fix(appset): don't emit k8s events for unchanged apps, log at debug (…
ericblackburn Sep 27, 2023
47d55fe
feat(ci): retry individual e2e tests (#15696)
crenshaw-dev Sep 28, 2023
eb304e7
docs: Maintaining Uniformity In Documentation Writing Style (#15713)
PranitRout07 Sep 28, 2023
1d42bfc
docs: add dynamic cluster distribution doc in the menu (#15716)
leoluz Sep 28, 2023
e2fd86c
Converted italic text to normal text (#15692)
PranitRout07 Sep 29, 2023
ab54606
fix(action): populate all fields of Job from CronJob (#15259) (#15727)
SergeyLadutko Sep 29, 2023
50e28de
fix(application-controller): Fix panic error when trying to scale app…
anandf Sep 29, 2023
8b28799
docs: move self-signed certs gitlab scm docs (#15720)
leoluz Sep 29, 2023
c8a1ec9
fix: only enable dynamic cluster sharding feature explicitly (#15734)
rbreeze Sep 30, 2023
85f207d
Fixed Custom Link Text not Hyperlinked (#15747)
PranitRout07 Sep 30, 2023
502d1cf
docs: Add documentation for Zitadel SSO integration (#15029)
stephanrenggli Oct 1, 2023
731d7f6
chore: set proper struct tag for ApplicationSetTerminalGenerator.Plug…
chavacava Oct 2, 2023
f974216
test: bump k8s versions for e2e tests (#15766)
crenshaw-dev Oct 2, 2023
5292d45
docs: add Mercedes-Benz.io to user list (#15768)
gonmmarques Oct 2, 2023
15271d4
chore: don't make argocd-approvers owners of anything (#15774)
crenshaw-dev Oct 2, 2023
9e210af
docs: add `CONTRIBUTING.md` copy at repo root (#14889)
agilgur5 Oct 2, 2023
923add1
chore: revert codeowners test change (#15777)
crenshaw-dev Oct 2, 2023
82a0272
fix: address nil pointer when controller runs with sts and replicas >…
leoluz Oct 2, 2023
07710e3
chore: allow docs approvers to merge USERS.md changes (#15773)
crenshaw-dev Oct 2, 2023
01a9c51
fix(plugin): remove git environment variables unavailable to plugin e…
jmcshane Oct 3, 2023
7c75cb5
fix(ui): responsive topbar, filter button in application details page…
JulienFuix Oct 3, 2023
70d5535
chore(cli): clarify core mode code (#15800)
crenshaw-dev Oct 3, 2023
c39a848
chore: Add SCRM Lidl International Hub as users (#15801)
JorTurFer Oct 3, 2023
3e0935e
docs: fix list format (#15798)
crenshaw-dev Oct 3, 2023
73e92a1
fix(appset): add option to disable SCM providers entirely (#14246) (#…
crenshaw-dev Oct 3, 2023
49efc33
fea(cli)t: Add example to --help output for "argocd appset get" (#15808)
mcaci Oct 4, 2023
c3b9065
fix: codeowners syntax error (#15781)
crenshaw-dev Oct 4, 2023
c96b375
fix(cli): Do not error out with no errors (#15688)
gczuczy Oct 5, 2023
05340ac
test(e2e): do not always include plaintext for account update passwor…
ChristopherFry Oct 5, 2023
98d412b
test(e2e): update git submodule remote tests to use submodule url (#1…
ChristopherFry Oct 5, 2023
98df29f
docs: actually all helm hooks are ignored (#15752)
naruse666 Oct 5, 2023
4198ddd
feat(cli): Added example to --help output for context (#15809)
sagarwala Oct 5, 2023
a361663
chore(ci): fix generate code CI failure (#15828)
jmcshane Oct 6, 2023
eb9ec0b
feat(cli): Add example to `--help` output 1 (#15782)
dttung2905 Oct 6, 2023
71e0622
test(e2e): always specify master as the initial git branch (#15662)
ChristopherFry Oct 6, 2023
146514a
feat(cli): Add examples to --help output for remaining "argocd repocr…
mcaci Oct 6, 2023
7d3737e
feat(cli): Add examples to --help output for remaining "argocd accoun…
mcaci Oct 6, 2023
a689d08
feat(cli): Add example to --help output for app actions (#15822)
kokikathir Oct 6, 2023
4e09588
feat(appset): fromYaml, fromYamlArray toYaml functions (#15063)
speedfl Oct 6, 2023
e068c0e
chore: skip server certificate verification for http requests in e2e …
ChristopherFry Oct 6, 2023
c4d72d3
docs: improve notifications docs (#15816)
crenshaw-dev Oct 6, 2023
2bd4f78
fix(notifications): Allow notifications controller to notify on all n…
mayzhang2000 Oct 6, 2023
edbb453
chore: log more fields with error (#15735)
crenshaw-dev Oct 6, 2023
864bc63
feat(cli): Added example to --help output for bcrypt (#15838)
akashbalaraj Oct 6, 2023
bea0d78
feat: Add examples to --help output for all "argocd proj" cmds (#15824)
mcaci Oct 6, 2023
deafede
chore(deps): bump gitops-engine (#15736)
crenshaw-dev Oct 6, 2023
f5ffabe
feat(cli): Add example to argocd relogin command (#15839)
chiranjeevir-git Oct 6, 2023
b22ef53
test(e2e): allow build of argocd-e2e-cluster image for remote tests (…
ChristopherFry Oct 7, 2023
f6862d3
docs: clarify health inheritance (#15799)
crenshaw-dev Oct 8, 2023
897e904
fix: Replace antonmedv/expr with expr-lang/expr (#15879)
terrytangyuan Oct 9, 2023
0829a99
feat(cli): Add examples to --help output for "logs APPNAME" (#15873)
Ratangulati Oct 10, 2023
3813570
feat(cli): Add examples to --help output for "set APPNAME" (#15872)
Ratangulati Oct 10, 2023
631a364
feat(cli): add the repo-example (#15690) (#15865)
gaurangkudale Oct 10, 2023
49c5731
feat: Add examples to --help output for "generate-spec PROJECT" (#15871)
Ratangulati Oct 10, 2023
3bbe4df
feat(health): add iammanager.keikoproj.io/Iamrole health check (#15899)
crenshaw-dev Oct 11, 2023
ed93d59
chore(deps): bump library/golang in /test/container (#15894)
dependabot[bot] Oct 11, 2023
07cccb7
chore(deps): bump library/golang from 1.21.1 to 1.21.3 (#15895)
dependabot[bot] Oct 11, 2023
d3f0db8
docs: Improve helm docs #15706 (#15755)
phyzical Oct 11, 2023
41768cd
chore(deps): bump google.golang.org/grpc from 1.56.2 to 1.58.3 (#15893)
dependabot[bot] Oct 11, 2023
9fdfc1f
chore(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 (#15916)
dependabot[bot] Oct 12, 2023
cee57c3
chore(deps): bump library/golang from 1.21.1 to 1.21.3 in /test/remot…
dependabot[bot] Oct 12, 2023
ec3f76b
docs: improve toolchain/k3d docs (#15913)
francRang Oct 12, 2023
52ae92f
fix: update docs for ApplicationService.Get to reflect reality (#15927)
djeebus Oct 12, 2023
288af5c
fix(ui): pod count tooltip (#15928)
smriti0710 Oct 13, 2023
7f9d0e5
chore(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 (#15919)
dependabot[bot] Oct 13, 2023
56e43ec
feat(cli): Add examples to projectwindows.go (#15860)
josephperez3 Oct 13, 2023
3e7deaf
[Bot] docs: Update Snyk reports (#15867)
github-actions[bot] Oct 13, 2023
708a4c9
bump helm 3.13.1, kustomize 5.1.1 (#15703)
alex-souslik-hs Oct 13, 2023
2a28b7a
Added timezone example to sync_windows page (#15926)
Mattie112 Oct 15, 2023
10bacfb
fix(ci): unstable integration test (#15976)
naruse666 Oct 15, 2023
cd275ea
fix: delete event cache deadlock test flakiness (#15964)
nromriell Oct 16, 2023
f1bcd9f
[Bot] docs: Update Snyk reports (#15977)
github-actions[bot] Oct 16, 2023
1b3849b
fix(appset): performProgressiveSyncs only when the applicationset is …
ericblackburn Oct 16, 2023
614e555
fix: helm set parameter to allow passing list parameters (#15978)
kkk777-7 Oct 16, 2023
3a2cf41
fix(grpcproxy): add GRPCKeepAliveEnforcementMinimum (#15708)
phanama Oct 17, 2023
7a35238
feat: Add examples to --help output for "delete PROJECT ROLE-NAME" (#…
Shauryagulati Oct 17, 2023
19c22c1
feat(cli): add the cluster-list-example (#15690) (#15866)
gaurangkudale Oct 18, 2023
fd73fe6
feat(cli): add the repocred-list-example (#15690) (#15869)
gaurangkudale Oct 18, 2023
082b5ee
feat: Add examples to --help output for remaining "get APPNAME" (#15862)
Ratangulati Oct 18, 2023
cf776ef
chore(deps): upgrade k8s version and client-go (#15852)
blakepettersson Oct 18, 2023
b6fd7d0
feat: use rate limited queue (#15480)
gdsoumya Oct 18, 2023
845171d
fix: Add ENV variable to configure GRPC Keep Alive Time (#15656) (#15…
BhavikaSharma Oct 18, 2023
e0e1c4e
add example to --help command in argocd_admin_dashboard.md file (#16034)
akagami-harsh Oct 19, 2023
866442f
chore: Revert "fix: Replace antonmedv/expr with expr-lang/expr" (#16027)
terrytangyuan Oct 19, 2023
a38eccd
added example of using build env vars in your Kustomized Argo CD Appl…
christianh814 Oct 19, 2023
71ff875
fix: list manually provided external urls before generated ones (#13296)
nkkowa Oct 19, 2023
a4931cd
feat(ui): Recursive Helm Values files detection (#15935) (#15936)
bagnaram Oct 19, 2023
121e238
chore(deps): bump kustomize to v5.2.1 (#16054)
MPV Oct 23, 2023
70ffef5
fix: ensure appset don't attempt to remove application kind in patch …
alexmt Oct 23, 2023
93be92c
feat(cli): Add examples to --help output for "gpg add" (#16020)
Ratangulati Oct 23, 2023
822f2df
feat(cli): Add examples to --help output for "list PROJECT" (#16033)
Shauryagulati Oct 23, 2023
51c7c8c
feat(cmp): Print stderr output from command even on success (#15921) …
peschmae Oct 23, 2023
d439ac5
fix: auto-sync fails with 'another operation is already in progress' …
alexmt Oct 23, 2023
6670c27
fix: argocd notification controller app cluster permission issue (#16…
mayzhang2000 Oct 23, 2023
2d1dc36
feat: add write back to application informer (#15987)
gdsoumya Oct 24, 2023
2b4027f
docs: add percona to list of Argo users (#16079)
edithturn Oct 24, 2023
f8394c7
fix(ui): Dark theme improvements (#15891)
rpelczar Oct 24, 2023
670f51a
docs(bounty): proposal for feature to hide annotations on secrets in …
crenshaw-dev Oct 24, 2023
0dbfaf4
fix(docs): proj role list example (#16074)
crenshaw-dev Oct 24, 2023
0957070
feat: make git requests configurable (#15646)
alexmt Oct 24, 2023
583bdec
fix(banzai/KafkaCluster): Update health.lua (#15962)
OneCricketeer Oct 25, 2023
f15b2a3
feat: expose notification secrets for request payload templating (#16…
eroznik Oct 25, 2023
1e91159
fix(ui): log button behaviors (#15848) (#16098)
ciiay Oct 25, 2023
21ec49d
[Bot] docs: Update Snyk reports (#16061)
github-actions[bot] Oct 25, 2023
e123120
feat(cli): add project flag to avoid permission denied errors on 404 …
crenshaw-dev Oct 25, 2023
fee88f4
fix: Add timezone to projectwindows list (#15929)
josephperez3 Oct 25, 2023
4cfb451
feat(cli): add admin-app-example (#15690) (#15861)
gaurangkudale Oct 25, 2023
d1255ff
docs: added identity-center.md doc for AWS SSO (#15689)
zeusal Oct 27, 2023
cc93985
chore: let docs approvers approve mkdocs.yml (#16134)
blakepettersson Oct 27, 2023
4c9a9a2
feat(cli): Add examples to `argocd proj role` cli family (#15875)
dttung2905 Oct 27, 2023
a805606
feat: Add examples to --help output for remaining "create PROJECT ROL…
Ratangulati Oct 27, 2023
2ce7b17
feat(cli): Add examples to --help output for "gpg_list" (#16017)
Ratangulati Oct 27, 2023
2f5bc0e
feat(cli): Add examples to --help output for get KEYID (#16019)
Ratangulati Oct 27, 2023
8f1230f
docs(appset): ApplicationSets generators docs to use go templates (#1…
KunalSin9h Oct 27, 2023
b3a7f6d
chore: fix typo in declarative tests filename (#15934)
ChristopherFry Oct 28, 2023
f6dcb9e
feat(cli): example for generate-allow-list (#16136)
range123 Oct 28, 2023
25075c5
[Bot] docs: Update Snyk reports (#16143)
github-actions[bot] Oct 29, 2023
7f3f1ca
Set cert resolver in notifications-controller (#15394)
svghadi Oct 30, 2023
fa83200
fix: rbac validate command can now take either namespace or policy-fi…
ashinsabu3 Oct 30, 2023
d368c8e
chore(appset): better structured logging for controller (#16149)
crenshaw-dev Oct 30, 2023
9733344
feat: PKCE authentication flow for web logins #9890 (#15889)
Marvin9 Oct 30, 2023
7ee62eb
docs(cmp): Document ConfigManagementPlugin.spec.version more clearly …
peschmae Oct 30, 2023
aae2590
fix(appset): ignoreApplicationDifferences not working (#15965)
crenshaw-dev Oct 30, 2023
4ce5862
fix(application-controller): convert defaultDeploymentInformerResyncD…
ishitasequeira Oct 30, 2023
bfcc498
chore(ci): bump cosign version (#16182)
crenshaw-dev Oct 31, 2023
caef4cb
fix(ui): Improve apps tiles view (#16140)
rpelczar Oct 31, 2023
2ccc908
fix(ui): Missing data in Sync Status if application never been synced…
rpelczar Oct 31, 2023
c484e8c
docs: Add Semgrep as a user (#16185)
cgdolan Oct 31, 2023
1ec6729
chore(deps): bump slsa-github-generator to 1.9.0 (#16188)
crenshaw-dev Oct 31, 2023
47804c6
docs(cmp): fix CMP param getter example (#16077) (#16190)
crenshaw-dev Nov 1, 2023
b5776d2
fix api docs (#16186)
Priyanshuthapliyal2005 Nov 1, 2023
7e6dca8
Remove unnecessary error checking (#16150)
navist2020 Nov 1, 2023
8d56d29
chore: specify namespace when restarting deployments in remote e2e te…
ChristopherFry Nov 1, 2023
ed7509b
fix(ui): prevent app panel to open on app direct link click (#15040)
aslafy-z Nov 1, 2023
93784d4
fix(server): appset list uses argocd's namespace instead of all (#154…
JorTurFer Nov 1, 2023
82237e7
feat: Allow 'both' option for uibannerposition (#14623)
Jneville0815 Nov 1, 2023
731e3c1
docs: Ensure consistent proper case of Kubernetes (#16205)
adamdmharvey Nov 1, 2023
43ea9dd
Added an example of project scoped cluster (#16210)
christianh814 Nov 2, 2023
ce0d15b
feat: add examples to --help ouput for argocd_server.go file (#16032)
akagami-harsh Nov 2, 2023
c4a2e29
fix(docs): repo field name in GCP Cloud Source Repositories should be…
nyanshell Nov 2, 2023
8fb3786
feat: add examples to --help output for admin.go file (#16030)
akagami-harsh Nov 2, 2023
46ad744
chore: Upgrade Redis to redis:7.0.14 (#16164)
shyukri Nov 2, 2023
b25b4fa
chore: add SECURITY-INSIGHTS.yml (#16135)
crenshaw-dev Nov 2, 2023
f66bc6f
feat: grace period for repo errors to prevent aggressive unknown sync…
gdsoumya Nov 2, 2023
045bb9f
feat: add retry logic for k8s client #7692 (#16154)
aborilov Nov 2, 2023
eb00ca2
docs: add Axians ACSP to users (#16226)
djerfy Nov 3, 2023
715bef8
chore: update gitops engine version (#16232)
pasha-codefresh Nov 3, 2023
bcd08e3
fix(ui): summary: fix sync options block layout (#16152)
ksrt12 Nov 3, 2023
00b3cf1
Documentation "Annotations and Labels used by Argo CD": fix internal …
vazhnov Nov 5, 2023
45b03af
fix(appset): Fix name conflict in appset controller (#16207) (#16222)
speedfl Nov 6, 2023
921a686
feat: Support for Kustomize Components (#16230)
pasha-codefresh Nov 6, 2023
f54dfb0
Update USERS.md (#16251)
AlexMichaelJonesNC Nov 7, 2023
fa1da7e
fix: check for double definition (#15670)
blakepettersson Nov 8, 2023
e44e06b
fix: failing lint and unit test (#16275)
mikutas Nov 8, 2023
604591e
chore(ui): Change testEnvironment from node to jsdom (#16287)
rpelczar Nov 9, 2023
6f7d843
docs: Document `ApplyOutOfSyncOnly` in application spec (#16282)
matthewhughes-uw Nov 9, 2023
519eebf
fix(appset): prevent app deletion according to appset policy (#12172)…
mikutas Nov 10, 2023
bca6b9f
copy ServerName into clientOpts (#16267)
ATGardner Nov 10, 2023
1e9d5ae
chore(deps): bump argo-ui (#16264)
rpelczar Nov 10, 2023
bfd8488
fix(ui): Issues with overlapping content in the app details view on s…
rpelczar Nov 11, 2023
c1871af
chore(deps): bump Helm to 3.13.2 (#16320) (#16321)
m-over Nov 14, 2023
4053ab8
docs: Add @gdsoumya to approvers in OWNERS (#16331)
terrytangyuan Nov 14, 2023
8685516
docs: fix upgrade instructions (#16326)
crenshaw-dev Nov 14, 2023
05a43db
chore(deps): fix superagent vulnerability (#16305)
zhaque44 Nov 14, 2023
40f0ba5
docs: update release doc and issue template (#16329)
crenshaw-dev Nov 14, 2023
cc0fd93
feat(appset): Added 'slugify' sprig function (#15188)
Aym3nTN Nov 15, 2023
0c4e31d
docs: Katie as Release Champion for 2.10 and Added a column for Relea…
kmlamkin9 Nov 15, 2023
bd21ed2
chore(deps): bump @types/superagent from 4.1.15 to 4.1.21 in /ui (#16…
dependabot[bot] Nov 15, 2023
011089f
docs: fix kustomize patches example (#16353)
morey-tech Nov 15, 2023
11f122b
docs: fix documentation of ignoreApplicationDifferences (#16365)
taliastocks Nov 17, 2023
ec4300b
fix(appset): use topics for Gitlab SCM Provider (#13169) (#13170)
tillepille Nov 20, 2023
544f71c
Add traefik pending ingress solution (#16391)
issmirnov Nov 20, 2023
033ac75
chore: Use safe example domains defined in RFC 2606 (#16389)
mkilchhofer Nov 20, 2023
58429b7
fix: set max for max cookie number to `math.MaxInt` (#16388)
onematchfox Nov 20, 2023
fe3e405
feat: add support for ALL_PROXY (#10451)
yushiwho Nov 20, 2023
fc577da
feat(app): Support app sync --dry-run --revision some-revision with a…
Tyrael Nov 20, 2023
b4bf8c4
chore(deps): bump docker/build-push-action from 4.1.1 to 5.1.0 (#16392)
dependabot[bot] Nov 20, 2023
52bb8bc
feat(oidc): optionally query OIDC UserInfo to gather group claims (#1…
the-technat Nov 21, 2023
5db0c83
chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 (…
dependabot[bot] Nov 22, 2023
1d46eef
chore: Bump otel to 1.21.0 (#16420)
dlorenc Nov 22, 2023
3b9f8c0
chore: Update USERS.md (#16425)
seniorquico Nov 22, 2023
2e5d4b2
fix: fixed cli admin dashboard cmd (#16430)
gdsoumya Nov 27, 2023
b943541
feat(opentelemetry): :sparkles: support for secured OTLP endpoint and…
prashant-shahi Nov 27, 2023
6b4cc66
Renamed/corrected OCI proposal filename (#16452)
sabre1041 Nov 27, 2023
53b93b6
fix(ui): User Info blob is too far to the right relative to Applicati…
shijiadong2022 Nov 28, 2023
40581d4
feat(server): log app Spec along with event (#16416)
nandinisingh759 Nov 28, 2023
4ecca44
fix: upgrade notifications-engine (#16354)
GilUpstream Nov 29, 2023
e730916
fix(cli): pass redis compression to cluster stats and shards commands…
phanama Nov 29, 2023
a0766f1
fix(controller): Address diff cache miss issues (#16458)
leoluz Nov 29, 2023
788d788
fix PerconaXtraDBCluster health (#16434)
filiprafaj Nov 30, 2023
61b98d1
feat(cli): Added example to admin-cluster.go and projectwindow.go fil…
surajyadav1108 Nov 30, 2023
e0c6f7e
fix(ui): add exec check to avoid API calls (#16168)
ashutosh16 Nov 30, 2023
f202fca
Fix extra space in application tree pod group (#16358)
ashinsabu3 Nov 30, 2023
ab3f3f3
fix(repo-server): excess git requests, resolveReferencedSources and r…
nromriell Nov 30, 2023
57a7466
chore(deps): bump cosign-installer from 3.1.2 to 3.2.0 (#16495)
crenshaw-dev Nov 30, 2023
bd90425
feat: Argocd notification self service (#16488)
mayzhang2000 Nov 30, 2023
57ba868
fix: Tooltips point in wrong direction#11935 (#12578)
JessieTeng89 Dec 1, 2023
1547688
feat(appset): Advanced Templating using templatePatch (#14893)
speedfl Dec 1, 2023
f4d4b69
feat(ui): Add sourceNamespaces in Projects UI and only show it if App…
jdvgh Dec 1, 2023
b2f1f8c
fix(appset): Don't use revision cache when reconciling after webhook …
dhruvang1 Dec 4, 2023
d7d8a4d
fix(doc): Fix documentation templatePatch (#16522)
speedfl Dec 4, 2023
21e6c52
fix: cert-manager.io/certificate health.lua for consistent issuing (I…
chr15murray Dec 4, 2023
c308c57
fix: Use math.MaxInt (instead of math.MaxInt64) to fix builds on 32bi…
ondrejsika Dec 4, 2023
5a7ca83
Added missing 'alias:' prefix for repository name as described here: …
ffppmm Dec 5, 2023
6a6b20d
fix(ui): use background delete to match k8s terminology (#15579)
jsoref Dec 5, 2023
3cc02e2
docs: Fix format issue in rbac.md (#16521)
elouanKeryell-Even Dec 5, 2023
376f5fa
docs: Fix minor typo in Declarative Setup (#16550)
philnichol Dec 6, 2023
14d9043
chore: update PR template to suggest cherry-pick releases (#16560)
jessesuen Dec 6, 2023
6180bb8
resource_customizations/db.atlasgo.io: atlas operator resources (#16364)
rotemtam Dec 7, 2023
3d9e383
fix(appset): Always remove ownerReferences when appset policy doesn't…
mikutas Dec 8, 2023
4d8a63e
docs: Add Kong Inc. as a user (#16582)
reversearrow Dec 8, 2023
9fbd085
chore: upgrade kubernetes dependencies from 0.26.4 to 0.26.11 (#16581)
reegnz Dec 8, 2023
1bb3828
docs: fix broken link in secret-management.md (#16588)
elouanKeryell-Even Dec 11, 2023
9384e43
docs(monitoring): add new ServiceMonitors for redis, dex, notificatio…
dmpe Dec 13, 2023
a321d27
use jsonpatch just for the valuesObject field
vladfr Dec 13, 2023
973868a
update patchMs to time both conditions; use writeback
vladfr Dec 13, 2023
eb27b2d
merge patches and apply only once, treat null pointers
vladfr Dec 13, 2023
57617ed
Merge branch 'master' into 15126-jsonpatch
vladfr Dec 13, 2023
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
83 changes: 83 additions & 0 deletions controller/appcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1697,13 +1697,53 @@ func (ctrl *ApplicationController) persistAppStatus(orig *appv1.Application, new
}
delete(newAnnotations, appv1.AnnotationKeyRefresh)
}

// false on first run (Create) but that's ok, original diff logic can handle nulls; avoid nil pointer deref
hasHelmValuesObject := orig.Status.Sync.ComparedTo.Source.Helm != nil && newStatus.Sync.ComparedTo.Source.Helm != nil

valuesObjectPatch, valuesModified, valuesErr := []byte{}, false, error(nil)
if hasHelmValuesObject {
valuesObjectPatch, valuesModified, valuesErr = createMergePatchValuesObject(
orig.Status.Sync.ComparedTo.Source.Helm.ValuesObject,
newStatus.Sync.ComparedTo.Source.Helm.ValuesObject,
)
if valuesErr != nil {
logCtx.Errorf("Error constructing status patch in valuesObject: %v", valuesErr)
return
}
}

var origTmp, newStatusTmp *apiruntime.RawExtension
if hasHelmValuesObject {
// strategic merge patching should ignore valuesObject
origTmp = orig.Status.Sync.ComparedTo.Source.Helm.ValuesObject
orig.Status.Sync.ComparedTo.Source.Helm.ValuesObject = nil

newStatusTmp = newStatus.Sync.ComparedTo.Source.Helm.ValuesObject
newStatus.Sync.ComparedTo.Source.Helm.ValuesObject = nil
}
patch, modified, err := diff.CreateTwoWayMergePatch(
&appv1.Application{ObjectMeta: metav1.ObjectMeta{Annotations: orig.GetAnnotations()}, Status: orig.Status},
&appv1.Application{ObjectMeta: metav1.ObjectMeta{Annotations: newAnnotations}, Status: *newStatus}, appv1.Application{})

if hasHelmValuesObject {
orig.Status.Sync.ComparedTo.Source.Helm.ValuesObject = origTmp
newStatus.Sync.ComparedTo.Source.Helm.ValuesObject = newStatusTmp
}
if err != nil {
logCtx.Errorf("Error constructing app status patch: %v", err)
return
}

if valuesModified {
modified = true
patch, err = jsonpatch.MergeMergePatches(patch, valuesObjectPatch)
if err != nil {
logCtx.Errorf("error merging operation state patch: %v", err)
return
}
}

if !modified {
logCtx.Infof("No status changes. Skipping patch")
return
Expand Down Expand Up @@ -2142,3 +2182,46 @@ func (ctrl *ApplicationController) toAppQualifiedName(appName, appNamespace stri
}

type ClusterFilterFunction func(c *argov1alpha.Cluster, distributionFunction sharding.DistributionFunction) bool

// jsonCreateMergePatch is a wrapper func to calculate the diff between two objects
// instead of bytes.
func jsonCreateMergePatch(orig, new interface{}) ([]byte, bool, error) {
origBytes, err := json.Marshal(orig)
if err != nil {
return nil, false, err
}
newBytes, err := json.Marshal(new)
if err != nil {
return nil, false, err
}
patch, err := jsonpatch.CreateMergePatch(origBytes, newBytes)
return patch, string(patch) != "{}", err
}

// createMergePatchValuesObject compute patch just for the Helm valuesObject using jsonpatch.
func createMergePatchValuesObject(orig, new *apiruntime.RawExtension) ([]byte, bool, error) {
return jsonCreateMergePatch(
&appv1.Application{ObjectMeta: metav1.ObjectMeta{}, Status: appv1.ApplicationStatus{
Sync: appv1.SyncStatus{
ComparedTo: appv1.ComparedTo{
Source: appv1.ApplicationSource{
Helm: &appv1.ApplicationSourceHelm{
ValuesObject: orig,
},
},
},
},
}},
&appv1.Application{ObjectMeta: metav1.ObjectMeta{}, Status: appv1.ApplicationStatus{
Sync: appv1.SyncStatus{
ComparedTo: appv1.ComparedTo{
Source: appv1.ApplicationSource{
Helm: &appv1.ApplicationSourceHelm{
ValuesObject: new,
},
},
},
},
}},
)
}
Loading