summaryrefslogtreecommitdiff
path: root/pkg/argocd
AgeCommit message (Collapse)Author
2025-01-14Replace common constant references (#1011)HEADmasterIshita Sequeira
Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2025-01-14chore: separate Argo specific constants from registry-scanner constants (#1010)Ishita Sequeira
Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2025-01-14Keep yaml sequence indentation when writing back to Git to a kustomize file ↵Alessandro Zanatta
(#1002) Signed-off-by: Alessandro Zanatta <alessandro.zanatta.lav@gmail.com>
2025-01-07Move references for kube, image, registry to registry-scanner (#998)Ishita Sequeira
Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2024-12-19Update references of cache, env, health to use modules from registry-scanner ↵Ishita Sequeira
(#972) Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2024-12-17fix: Image updater changes git write back file (#970)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-12-16Update references of pkg/tag pkg/log pkg/options to use modules from ↵Ishita Sequeira
registry-scanner (#962) Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2024-12-12Improve Application updates when write-back method is ArgoCD (#965)Álvaro Aguilar-Tablada Espinosa
Signed-off-by: Álvaro Aguilar-Tablada Espinosa <Alvaro.Aguilar@mail.schwarz>
2024-11-14chore(deps): upgrade argo-cd from 2.11.7 to 2.13.0 (#936)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.com> Co-authored-by: Jann Fischer <jann@mistrust.net>
2024-11-08fix: delay setting git.username and git.email config till commit time (#912)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-11-08fix: #896 App of apps being overwritten by image-updater (#918)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-11-01fix: #895 Image Updater continuously force-pushes new commits when checkout ↵Cheng Fang
branch is specified (#911) Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-10-18fix: Git write back to helm values is incorrect during the first pass and ↵Cheng Fang
corrupts existing data (#885) Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-10-14chore: Address comments in PR #854 (#886)Ishita Sequeira
Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2024-10-14k8sClient get resources across all namespaces (#601) (#854)Jort Koopmans
Signed-off-by: Jort Koopmans <jort.koopmans@entrnce.com>
2024-10-04fix(git): write back to custom git branch failed by rejected push: tip of ↵Cheng Fang
your current branch is behind (#882) Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-09-20fix: Kustomize skip commit if nothing changed (#607)Surya Asriadie
Signed-off-by: Fs02 <surya.asriadie@gmail.com>
2024-09-10tests: add tests for github app credentials (#862)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-09-06fix: failed to process a full image-spec annotation with git writeback to ↵Cheng Fang
helmvalues (#843) Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-08-30fix: Multiple aliases for the same image only 1 parameter is updated (#846)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-08-29Allow setting new value in Helm values file (#838)jnovick
Signed-off-by: Joshua Novick <joshua.novick@hunters.ai>
2024-08-13feat: Use shallow clone to speed up performance (#830)jnovick
Signed-off-by: Joshua Novick <joshua.novick@hunters.ai>
2024-08-13feat!: Filter labels on the server instead of client to allow more label ↵jnovick
filtering options (#832) Signed-off-by: Joshua Novick <joshua.novick@hunters.ai>
2024-08-08Add unit tests for pkg/argocd/gitcreds.go (#820)Ishita Sequeira
Signed-off-by: isequeir <isequeir@redhat.com>
2024-08-07tests: Add unit tests for pkg/argocd (#818)Ishita Sequeira
Signed-off-by: isequeir <isequeir@redhat.com>
2024-07-18Fix updates to multiple images when using helm values file (#790)Lyupcho Kotev
Signed-off-by: Lyupcho Kotev <lyupcho.kotev@codira.dev>
2024-07-17Preserve field order when updating kustomization.yaml file (#666)Jaye Doepke
Signed-off-by: Jaye Doepke <jdoepke@mintel.com>
2024-07-16Use status instead of spec for determining source types (#772)Jason Parraga
Signed-off-by: Jason Parraga <sovietaced@gmail.com> Co-authored-by: Cheng Fang <cfang@redhat.com>
2024-07-12chore(lint): Enable spelling linter (#773)Jann Fischer
Signed-off-by: Jann Fischer <jann@mistrust.net>
2024-07-10feat: Support other namespaces than argocd in AIU (#763)sribiere-jellysmack
Signed-off-by: Sebastien RIBIERE <sebastien.ribiere.ext@jellysmack.com> Signed-off-by: Cheng Fang <cfang@redhat.com> Signed-off-by: Mangaal <angommeeteimangaal@gmail.com> Signed-off-by: jannfis <jann@mistrust.net> Co-authored-by: Cheng Fang <cfang@redhat.com> Co-authored-by: Mangaal <44372157+Mangaal@users.noreply.github.com> Co-authored-by: Jann Fischer <jann@mistrust.net>
2024-07-01Create directory automatically (#680)jnovick
Signed-off-by: Joshua Novick <joshua.novick@hunters.ai>
2024-06-23fix: pass through git store to git creds (#756)Ben Fu
Signed-off-by: Ben Fu <ben@benfu.me>
2024-06-23Fix/helm values wbc (#748)David Vidal Villamide
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
2024-06-18feat: Support for signing commits with gpg and ssh (#710)Dustin Lactin
Signed-off-by: Dustin Lactin <dustin.lactin@gmail.com>
2024-06-14fix: Make Git credentials work again (#737)Jann Fischer
* fix: Make Git credentials work again Signed-off-by: jannfis <jann@mistrust.net> * Update Signed-off-by: jannfis <jann@mistrust.net> --------- Signed-off-by: jannfis <jann@mistrust.net>
2024-06-07fix: Pass AppNamespace to UpdateSpec api call (#687)Merijn Wijngaard
Signed-off-by: Merijn Wijngaard <mwijngaard@gmail.com>
2024-05-29check if alias existPasha Kostohrys
Signed-off-by: Pasha Kostohrys <pavel@codefresh.io>
2024-05-29optimize codePasha Kostohrys
Signed-off-by: Pasha Kostohrys <pavel@codefresh.io>
2024-05-29fix: getHelmParamNamesFromAnnotation should take info from container image ↵Pasha Kostohrys
for prevent code duplication Signed-off-by: Pasha Kostohrys <pavel@codefresh.io>
2024-05-29Merge remote-tracking branch ↵Pasha Kostohrys
'askhari/fix/set-default-image-alias-with-helmvalues' into fix/set-default-image-alias-with-helmvalues
2024-05-29change: make NormalizedSymbolicName() method publicDavid Vidal Villamide
fix: use NormalizedSymbolicName() to retrieve name and version from annotations for Helm app types Signed-off-by: David Vidal Villamide <david@askharilabs.com>
2024-05-29Merge branch 'master' of ↵Pasha Kostohrys
https://github.com/argoproj-labs/argocd-image-updater into fix/set-default-image-alias-with-helmvalues
2024-05-27chore(deps): Pull in Git client changes from Argo CD v2.11.2jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2024-05-27fix: crash due to store is nil (#723)pasha-codefresh
Signed-off-by: Pasha Kostohrys <pavel@codefresh.io>
2024-05-27add: GetImagesAndAliasesFromApplication to retrieve images with aliasesDavid Vidal Villamide
fix: now using alias to retrieve annotations when updating Helm type app Signed-off-by: David Vidal Villamide <david@askharilabs.com>
2024-05-12Merge pull request #624 from testwill/typopasha-codefresh
fix: typo
2023-12-07feat: add support for separate GitHub app credentials (#649)Dustin Lactin
* feat: add support for separate GitHub app credentials stored as Kubernetes secrets Signed-off-by: Dustin Lactin <dustin.lactin@gmail.com> * test: added tests for consuming GitHub app credentials from a secret Signed-off-by: Dustin Lactin <dustin.lactin@gmail.com> * fix: added GitHub App placeholder words to expect.txt Signed-off-by: Dustin Lactin <dustin.lactin@gmail.com> * fix: checking for errors when converting GitHub App and Installation IDs Signed-off-by: Dustin Lactin <dustin.lactin@gmail.com> * fix: added more descriptive error messages for string-to-number conversions Signed-off-by: Dustin Lactin <dustin.lactin@gmail.com> --------- Signed-off-by: Dustin Lactin <dustin.lactin@gmail.com>
2023-12-04fix: typoguoguangwu
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-12-04feat: multisource support (#636)David Vidal Villamide
* change: update argocd library from 2.7.9 to 2.8.4 for future multisource support Signed-off-by: David Vidal Villamide <david@askharilabs.com> * feat: added support for multisource applications. Signed-off-by: David Vidal Villamide <david@askharilabs.com> * feat: added multisource support to Git WriteBack method Signed-off-by: David Vidal Villamide <david@askharilabs.com> * changed: all Spec.Source references to enable multisource support Signed-off-by: David Vidal Villamide <david@askharilabs.com> * feat: added multisource support for write back method fix: pointer management at getApplicationSource function Signed-off-by: David Vidal Villamide <david@askharilabs.com> * feat: added write-back-target prefix to allow the use of values.yaml files These changes intend to add support for write-back-method git on multisource applications based on Helm sources and value files as Helm does. Also we tried to keep the same coding patterns and the previous features and flows untouched. Signed-off-by: David Vidal Villamide <david@askharilabs.com> * add: helmvalues word to expected dictionaries for check spelling tests Signed-off-by: David Vidal Villamide <david@askharilabs.com> * fix: readthedocs build.os parameter added and set to ubuntu-22.04 Signed-off-by: David Vidal Villamide <david@askharilabs.com> * fix: build.tools.python set to version 3.12 to create documentation Signed-off-by: David Vidal Villamide <david@askharilabs.com> * test: dded coverage for all the new code Signed-off-by: David Vidal Villamide <david@askharilabs.com> * fix: get image and tag parameter from getHelmParameterNamesFromAnnotation fix: set default values for image and tag parameters change: get application source type from Spec intead of Status values Signed-off-by: David Vidal Villamide <david@askharilabs.com> --------- Signed-off-by: David Vidal Villamide <david@askharilabs.com>
2023-09-21fix: Add support for ocischema.DeserializedImageIndex manifest type (#618)Jesse Bye
* fix: Add support for ocischema.DeserializedImageIndex manifest type Signed-off-by: Jesse Bye <8467862+jessebye@users.noreply.github.com> * more informative error logging Signed-off-by: Jesse Bye <8467862+jessebye@users.noreply.github.com> --------- Signed-off-by: Jesse Bye <8467862+jessebye@users.noreply.github.com>