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

feat(argo-cd): make ServiceMonitor deployment conditional on CRD existence #2154

Merged
merged 8 commits into from
Jul 18, 2023
Merged

feat(argo-cd): make ServiceMonitor deployment conditional on CRD existence #2154

merged 8 commits into from
Jul 18, 2023

Conversation

alex-souslik-hs
Copy link
Contributor

@alex-souslik-hs alex-souslik-hs commented Jul 8, 2023

Checklist:

  • I have bumped the chart version according to versioning
  • I have updated the documentation according to documentation
  • I have updated the chart changelog with all the changes that come with this pull request according to changelog.
  • Any new values are backwards compatible and/or have sensible default.
  • I have signed off all my commits as required by DCO.
  • My build is green (troubleshooting builds).

Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com>
@alex-souslik-hs alex-souslik-hs changed the title feat(all): made ServiceMonitor deployment conditional on CRD existence feat(deps): made ServiceMonitor deployment conditional on CRD existence Jul 8, 2023
@yu-croco
Copy link
Collaborator

yu-croco commented Jul 9, 2023

Hi @alex-souslik-hs , thank you for your PR.
Can you please separate this PR into resources(e.g. argo-cd, argo-workflows)?
We make PR by each resource, instead of bundling them.
Ref: https://github.com/argoproj/argo-helm/pulls?q=is%3Apr+is%3Amereged

Also can you please give us the explanation of motivation for this change?
I am not familiar with it but does monitoring.coreos.com/v1 have compatibility to specific k8s version (I didn't get info for this, so I want the detail) ?

@alex-souslik-hs
Copy link
Contributor Author

alex-souslik-hs commented Jul 9, 2023

Hi @alex-souslik-hs , thank you for your PR. Can you please separate this PR into resources(e.g. argo-cd, argo-workflows)? We make PR by each resource, instead of bundling them. Ref: https://github.com/argoproj/argo-helm/pulls?q=is%3Apr+is%3Amereged

@yu-croco Off course I can but if you can make an exception for this particular case that'd be great. If not I'll work on splitting.

Also can you please give us the explanation of motivation for this change? I am not familiar with it but does monitoring.coreos.com/v1 have compatibility to specific k8s version (I didn't get info for this, so I want the detail) ?

monitoring.coreos.com/v1 is not a part of the k8s API but comes from the Prometheus Operator. So for example if I deploy a new cluster and I want to install ArgoCD first and Prometheus after I need two value files for ArgoCD.

@yu-croco
Copy link
Collaborator

@alex-souslik-hs

@yu-croco Off course I can but if you can make an exception for this particular case that'd be great. If not I'll work on splitting.

Please separate PR.

monitoring.coreos.com/v1 is not a part of the k8s API but comes from the Prometheus Operator. So for example if I deploy a new cluster and I want to install ArgoCD first and Prometheus after I need two value files for ArgoCD.

Thank you for explaining!

@alex-souslik-hs alex-souslik-hs changed the title feat(deps): made ServiceMonitor deployment conditional on CRD existence feat(argo-cd): made ServiceMonitor deployment conditional on CRD existence Jul 15, 2023
Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com>
@github-actions github-actions bot removed the size/M label Jul 15, 2023
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>
@alex-souslik-hs
Copy link
Contributor Author

@yu-croco cleaned up PR to be ArgoCD only, this is the one that was important to me anyway.

@alex-souslik-hs alex-souslik-hs changed the title feat(argo-cd): made ServiceMonitor deployment conditional on CRD existence feat(argo-cd): make ServiceMonitor deployment conditional on CRD existence Jul 15, 2023
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>
Copy link
Member

@mkilchhofer mkilchhofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost LGTM

charts/argo-cd/Chart.yaml Outdated Show resolved Hide resolved
alex-souslik-hs and others added 2 commits July 17, 2023 15:00
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>
@alex-souslik-hs
Copy link
Contributor Author

@mkilchhofer done.

Signed-off-by: Alex Souslik <alex.s@hiredscore.com>
Copy link
Collaborator

@yu-croco yu-croco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@pdrastil pdrastil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mkilchhofer mkilchhofer merged commit c2f813e into argoproj:main Jul 18, 2023
8 checks passed
@batazor
Copy link
Contributor

batazor commented Jul 19, 2023

@alex-souslik-hs Will this work correctly in case prometheus-operator is installed via argocd?

Now I am installing in this sequence prometheus-operator-crd -> argocd -> prometheus-operator

Won't we have cases that argocd will be installed without installing monitoring components?

@mkilchhofer
Copy link
Member

@batazor
If the CRDs are installed via Argo CD, the first helm install of Argo CD doesn't install the ServiceMonitors.

As soon as there is a helm upgrade after Argo CD reconciled the CRDs, it should install the ServiceMonitors.

yuha0 added a commit to yuha0/home-infra that referenced this pull request Aug 1, 2023
Add workaround for breaking change in
argoproj/argo-helm#2154:

> make ServiceMonitor deployment conditional on CRD existence

`helm template` does not detect cluster capabilities.

Why is this change useful? I am not sure. IMHO, as a user, when I set
`serviceMonitor.enabled=true` in my helm value, it is very clear that I
probably want to install ServiceMonitor. As a GitOps engine that uses
desired state model, it should just attempt to do it. The helm chart
seems to care about some cluster's current state too much.
@alex-souslik-hs
Copy link
Contributor Author

@alex-souslik-hs Will this work correctly in case prometheus-operator is installed via argocd?

Now I am installing in this sequence prometheus-operator-crd -> argocd -> prometheus-operator

Won't we have cases that argocd will be installed without installing monitoring components?

@batazor
If you pre-install the CRDs you'll have the same behavior as before, the idea is to allow you to install ArgoCD first and deploy everything else with it without modifying its values.

@yuha0
It's important to note the optional dependency redis-ha chart works the same way, so it's possible you already had this behavior on some of your ServiceMonitors.

yaroslav-codefresh added a commit to codefresh-io/argo-helm that referenced this pull request Sep 12, 2023
* feat(argocd-apps): add permitOnlyProjectScopedClusters flag (argoproj#2149)

Signed-off-by: Fabián Sellés Rosa <1088313+Fsero@users.noreply.github.com>

* feat(argo-cd): Allow configuring Dex's init image resources separately (argoproj#2161)

Allow configuring Dex's init image resources separately

Signed-off-by: Angelo Ross <angelo.ross@objective.com.br>

* chore(deps): bump helm/kind-action from 1.7.0 to 1.8.0 (argoproj#2163)

Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](helm/kind-action@fa81e57...dda0770)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump actions/labeler from 4.2.0 to 4.3.0 (argoproj#2164)

Bumps [actions/labeler](https://github.com/actions/labeler) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](actions/labeler@0967ca8...ac9175f)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* chore(deps): bump actions/setup-python from 4.6.1 to 4.7.0 (argoproj#2165)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@bd6b4b6...61a6322)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* fix(argo-cd): Ensure `app.kubernetes.io/version` label is valid (argoproj#2148)

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>

* feat(argo-cd): allow configurable hpa metrics (argoproj#2166)

* allow configurable HPA metrics

Signed-off-by: Zach Swanson <zswanson@wayfair.com>

* update docs

Signed-off-by: Zach Swanson <zswanson@wayfair.com>

* Update chart version and changelog

Signed-off-by: Zach Swanson <zach.swanson@gmail.com>
Signed-off-by: Zach Swanson <zswanson@wayfair.com>

* Fix values/readme reference to repo server

Signed-off-by: Zach Swanson <zswanson@wayfair.com>

---------

Signed-off-by: Zach Swanson <zswanson@wayfair.com>
Signed-off-by: Zach Swanson <zach.swanson@gmail.com>
Signed-off-by: Zach Swanson <1272954+zswanson@users.noreply.github.com>

* feat(argo-cd): make ServiceMonitor deployment conditional on CRD existence (argoproj#2154)

* made ServiceMonitor deployment conditional on CRD existence

Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com>

* remove non ArgoCD changes

Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com>

* add newline

Signed-off-by: Alex Souslik <alex.s@hiredscore.com>

* Change chage description

Signed-off-by: Alex Souslik <alex.s@hiredscore.com>

* Update charts/argo-cd/Chart.yaml

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>

---------

Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com>
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* feat(argo-cd): Upgrade argocd to v2.7.8 (argoproj#2173)

Signed-off-by: smcavallo <smcavallo@hotmail.com>

* feat(argo-rollouts): Upgrade Argo Rollouts to v1.5.1 (argoproj#2174)

* chore(argo-workflows): Upgrade to 3.4.9 (argoproj#2175)

chore(argo-workflow): Upgrade to 3.4.9

- [ ] update CRD changes

Signed-off-by: jmeridth <jmeridth@gmail.com>

* feat(argocd-apps): syncOptions for applications (argoproj#2176)

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* fix(argocd-apps): fix indent of syncOptions (argoproj#2181)

* chore(github): use table for Emeritus (argoproj#2182)

- to matches how `argoproj` lists Alumni (https://github.com/argoproj/argoproj/blob/6011d3e17300d4b642a1ab5bdb3551c5f6da9021/MAINTAINERS.md?plain=1#L11)
  - though it has more details including role and affiliation. could do that here too, but I don't know what all those are, so left those columns out
    - fortunately everyone's name was listed on their profile, so just copy+paste those!

- confirmed that all links work

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>

* fix(argo-rollouts): Use annotation cont metrics (argoproj#2184)

* fix(argo-rollouts): Use annotation cont metrics

Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>

* fix(argo-rollouts): add changes and bump version

Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>

* fix chart.yaml

Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>

---------

Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>
Co-authored-by: Artur Mudrykh <a.mudrykh@uzum.com>

* chore(argo-cd): Upgrade Argo CD to v2.7.9 (argoproj#2186)

feat(argo-cd): Upgrade argocd to v2.7.9

Signed-off-by: Venkata Mutyala <venkata@venkatamutyala.com>

* feat(argo-workflows): allow setting executor args (argoproj#2177)

* feat(argo-cd): add labels to notifications secret (argoproj#2191) (argoproj#2192)

Signed-off-by: carlos gonzález <cgrs@users.noreply.github.com>

* chore(argo-cd): Upgrade Argo CD to v2.7.10 (argoproj#2197)

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argo-rollouts): fix helm lint error when extraObjects is defined (argoproj#2196)

fix(extra-manifests): fix helm lint error when extraObjecrts is defined

Signed-off-by: Grégory SANCHEZ <gregory.sanchez@icloud.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>

* fix(argo-cd): Template configuration keys as a string instead of map (argoproj#2205)

* fix(argo-rollouts): Add required ingress permission (argoproj#2207)

* chore(argo-cd): Upgrade Argo CD to v2.7.11 (argoproj#2210)

Signed-off-by: yu-croco <yu.croco@gmail.com>

* feat(github): add Helm OCI support (argoproj#2209)

Signed-off-by: Engin Diri <engin.diri@ediri.de>

* feat(argo-cd): Upgrade Argo CD to 2.8.0 (argoproj#2170)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* fix(argo-rollouts): add CI for enabling extra objects for argo-rollouts (argoproj#2198)

* fix(argo-rollouts): add CI for enabling extra objects for argo-rollouts

Add CI for extra objects

Signed-off-by: jmeridth <jmeridth@gmail.com>

* fix: rename extra objects ci file to have -values suffix

Signed-off-by: jmeridth <jmeridth@gmail.com>

---------

Signed-off-by: jmeridth <jmeridth@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* fix(argo-cd): Fix global log level configuration (argoproj#2213)

fix(argo-cd) - Fix global log level configuration

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* chore(argo-cd): Change applicationSet replicaCount to replicas (argoproj#2214)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* fix(argo-cd): add missing permissions to run actions (argoproj#2212)

Signed-off-by: Mickaël Canévet <mickael.canevet@gmail.com>

* fix(argo-workflows): Server only needs `get` Secrets (argoproj#2211)

- as of argoproj/argo-workflows@aa366db, the Server no longer needs `list` or `watch` and only uses `get`
  - this was released as part of [v3.4.0](https://github.com/argoproj/argo-workflows/blob/master/CHANGELOG.md#v340-rc1-2022-08-09), and the current version of the chart uses v3.4.9 (per `Chart.yaml#appVersion`)

- `update` is not needed either for SSO secret
  - manifests RBAC: https://github.com/argoproj/argo-workflows/blob/a68ea0feabc87c09d5e13d12e6f0d1a61adc5b16/manifests/cluster-install/argo-server-rbac/argo-server-clusterole.yaml#L18
  - SSO source code only uses [`create`](https://github.com/argoproj/argo-workflows/blob/20d0923611f1df6b7147c3547aeeff6b6bfecf18/server/auth/sso/sso.go#L140) and [`get`](https://github.com/argoproj/argo-workflows/blob/20d0923611f1df6b7147c3547aeeff6b6bfecf18/server/auth/sso/sso.go#L151)
    - (also some `get`s above that for [`clientID`](https://github.com/argoproj/argo-workflows/blob/20d0923611f1df6b7147c3547aeeff6b6bfecf18/server/auth/sso/sso.go#L127) and [`clientSecret`](https://github.com/argoproj/argo-workflows/blob/20d0923611f1df6b7147c3547aeeff6b6bfecf18/server/auth/sso/sso.go#L106) as well)

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>

* docs(argo-cd): Rename comment of repositoryCredentials to credentialTemplates (argoproj#2219)

Rename comment of repositoryCredentials to credentialTemplates

Signed-off-by: Ali Reza <alirezayahya@gmail.com>

* feat(argo-rollouts): update servicemonitor.yaml to allow for namespace to be set (argoproj#2222)

* Update servicemonitor.yaml to allow for namespace to be set

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* Update README.md

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* Update values.yaml

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* Update Chart.yaml

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* Update Chart.yaml

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* Alphabetized namespace addition in README

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

---------

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* chore(argo-workflows): Upgrade to Argo Workflows v3.4.10 (argoproj#2220)

* feat(argo-workflows): add imagePullSecret for workflow sa (argoproj#2226)

Signed-off-by: Fuochi <ffuochi@hotmail.com>

* chore(argo-workflows): update comment for azure artifact repository blobNameFormat (argoproj#2229)

* chore(argo-cd): Upgrade Argo CD to v2.8.1 (argoproj#2230)

Signed-off-by: yu-croco <yu.croco@gmail.com>

* chore(argo-cd): Upgrade Argo CD to v2.8.2 (argoproj#2231)

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argo-cd): Fix applicationSet HA examples in README.md (argoproj#2232)

Signed-off-by: Joonas Venäläinen <joonas.venalainen@anders.com>

* chore(deps): bump actions/checkout from 3.5.3 to 3.6.0 (argoproj#2234)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@c85c95e...f43a0e5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(argo-cd): Upgrade redis-exporter to 1.53.0 (argoproj#2236)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* chore(argo-cd): Remove support for legacy cert-manager APIs (argoproj#2238)

* chore(argo-cd): Remove support for legacy cert-manager APIs

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Bump minor version

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

---------

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* chore(argo-cd): Remove support for autoscaling/v1 (argoproj#2237)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* chore(argo-events): Upgrade argo-events to 1.8.1 (argoproj#2247)

https://github.com/argoproj/argo-events/releases/tag/v1.8.1

Signed-off-by: jmeridth <jmeridth@gmail.com>

* fix(argo-cd): Update values.yaml - update custom css styles side bar example (argoproj#2245)

* Update values.yaml - update custom css styles side barexample

.nav-bar is no longer the css class name

Signed-off-by: JesseBot <jessebot@linux.com>

* Update Chart.yaml - update patch version for values.yaml comment update

Signed-off-by: JesseBot <jessebot@linux.com>

* Update Chart.yaml - update change log

Signed-off-by: JesseBot <jessebot@linux.com>

---------

Signed-off-by: JesseBot <jessebot@linux.com>

* chore(argo-rollouts): Upgrade Argo Rollouts to v1.6.0 (argoproj#2252)

* chore(argo-rollouts): Upgrade Argo Rollouts to v1.6.0

Signed-off-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>

* chore(argo-rollouts): Update CRDs to matching version

Signed-off-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>

---------

Signed-off-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>
Co-authored-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>

* fix(argo-cd): Make the PathType configurable when using single ingress resource in AWS (argoproj#2251)

* Make the PathType configurable when using single ingress resource in AWS

Signed-off-by: Tamas <tamas@ujet.cx>

* update chart version and doc

Signed-off-by: Tamas <tamas@ujet.cx>

* Fix reference to value in range

Signed-off-by: Tamas <tamas@ujet.cx>

---------

Signed-off-by: Tamas <tamas@ujet.cx>
Co-authored-by: Tamas <tamas@ujet.cx>

* chore(argo-cd): Upgrade Argo CD to v2.8.3 (argoproj#2254)

Signed-off-by: Alexej Disterhoft <alexej@disterhoft.de>

* chore(argo-workflows): Upgrade Argo Workflows to v3.4.11 (argoproj#2255)

* fix(argo-cd): Restart Repo Server and Application Controller as following the change of Argo CD CM (argoproj#2235)

* fix(argo-cd): Restart Repo Server and Application Controller as following the change of Argo CD CM

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argo-cd): Aligne condition to argocd-cm

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>

* docs(argo-cd): Document scheduling parameters for redis-ha (argoproj#2253)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* feat(argo-cd): adds toggle for helm-working-dir (argoproj#2249)

- Adds a toggle to be able to turn off the helm-working-dir for the
  repo server deployment. Using a shared helm repo storage directory can
  cause issues when multiple helm commands are being run in parallel.
  The repo server also has the ability to rebuild the repos and do
  updates in the normal flow for checking the status of an application
  so it won't cause issues if it's disabled.

Signed-off-by: Andrew Hamilton <ahamilton55@gmail.com>

* chore(deps): bump actions/checkout from 3.6.0 to 4.0.0 (argoproj#2258)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@f43a0e5...3df4ab1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 (argoproj#2259)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@0b7f8ab...a8a3f3a)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* docs(argo-workflows): add an HA section (argoproj#2183)

* feat(argo-workflows): add a sample HA config

- a `values-ha.yaml` as an example for how one would set-up HA according to the Argo Workflows docs

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>

* docs(argo-workflows): add an HA section

- plus add a test for HA, which the docs link to as an example
- link back to [upstream docs](https://argoproj.github.io/argo-workflows/high-availability/) as well

- follow the same basic structure as the [Argo CD chart for HA](https://github.com/argoproj/argo-helm/blob/3e35b0c7f7d758d553b17f369cc5940484ef5d89/charts/argo-cd/README.md?plain=1#L17)
  - as asked in review

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>

---------

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* fix(argo-cd): Migrate leftover of applicationSet.replicaCount to applicationSet.replicas (argoproj#2261)

Signed-off-by: yu-croco <yu.croco@gmail.com>

* docs(argo-cd): improve changelog (argoproj#2262)

* clarify 5.19.0 changes
* revise wording

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

---------

Signed-off-by: Fabián Sellés Rosa <1088313+Fsero@users.noreply.github.com>
Signed-off-by: Angelo Ross <angelo.ross@objective.com.br>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
Signed-off-by: Zach Swanson <zswanson@wayfair.com>
Signed-off-by: Zach Swanson <zach.swanson@gmail.com>
Signed-off-by: Zach Swanson <1272954+zswanson@users.noreply.github.com>
Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com>
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>
Signed-off-by: smcavallo <smcavallo@hotmail.com>
Signed-off-by: jmeridth <jmeridth@gmail.com>
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>
Signed-off-by: Venkata Mutyala <venkata@venkatamutyala.com>
Signed-off-by: carlos gonzález <cgrs@users.noreply.github.com>
Signed-off-by: yu-croco <yu.croco@gmail.com>
Signed-off-by: Grégory SANCHEZ <gregory.sanchez@icloud.com>
Signed-off-by: Engin Diri <engin.diri@ediri.de>
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Signed-off-by: Mickaël Canévet <mickael.canevet@gmail.com>
Signed-off-by: Ali Reza <alirezayahya@gmail.com>
Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>
Signed-off-by: Fuochi <ffuochi@hotmail.com>
Signed-off-by: Joonas Venäläinen <joonas.venalainen@anders.com>
Signed-off-by: JesseBot <jessebot@linux.com>
Signed-off-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>
Signed-off-by: Tamas <tamas@ujet.cx>
Signed-off-by: Alexej Disterhoft <alexej@disterhoft.de>
Signed-off-by: Andrew Hamilton <ahamilton55@gmail.com>
Signed-off-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Fabián Sellés Rosa <1088313+Fsero@users.noreply.github.com>
Co-authored-by: Angelo Ross <angeloborsoiross@hotmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: Mathieu Parent <mathieu.parent@insee.fr>
Co-authored-by: Zach Swanson <1272954+zswanson@users.noreply.github.com>
Co-authored-by: Alex Souslik <alex.s@hiredscore.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Co-authored-by: smcavallo <smcavallo@users.noreply.github.com>
Co-authored-by: Takuma Kume <takuma.kume@gmail.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
Co-authored-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Co-authored-by: Artur <arturmon82@gmail.com>
Co-authored-by: Artur Mudrykh <a.mudrykh@uzum.com>
Co-authored-by: Venkata Mutyala <venkata@venkatamutyala.com>
Co-authored-by: Andy Cobaugh <andrew.cobaugh@gmail.com>
Co-authored-by: carlos gonzález <cgrs@users.noreply.github.com>
Co-authored-by: Grégory SANCHEZ <gregory.sanchez@icloud.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Engin Diri <engin.diri@ediri.de>
Co-authored-by: Mickaël Canévet <mickael.canevet@gmail.com>
Co-authored-by: Ali Reza <alirezayahya@gmail.com>
Co-authored-by: Nick Kampe <Kampe@users.noreply.github.com>
Co-authored-by: Fuochi <ffuochi@hotmail.com>
Co-authored-by: Jeongwon Song <46633758+jsong336@users.noreply.github.com>
Co-authored-by: Joonas Venäläinen <38143731+joonvena@users.noreply.github.com>
Co-authored-by: JesseBot <jessebot@linux.com>
Co-authored-by: Gustav Kofoed Clausen <gustav@gustavclausen.com>
Co-authored-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>
Co-authored-by: Tamas Szasz <szasz.tamas@gmail.com>
Co-authored-by: Tamas <tamas@ujet.cx>
Co-authored-by: Alexej Disterhoft <github@disterhoft.de>
Co-authored-by: Andrew Hamilton <ahamilton55@gmail.com>
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
@FalconerTC
Copy link

FalconerTC commented Sep 20, 2023

I believe this change has caused my ArgoCD service monitors to disappear. I manage ArgoCD with ArgoCD and after this upgrade I am no loner seeing any ArgoCD Service Monitors (I am however seeing ServiceMonitor for argo rollouts, but I see that's because this capabilities check isn't set there). Is there something in particular I should do to mock Capabilities.APIVersions.Has "monitoring.coreos.com/v1 when managing argocd with argocd?

edit: Looks like this is actually an issue with HelmChartInflationGenerator in kustomize (kubernetes-sigs/kustomize#3458)

@mkilchhofer
Copy link
Member

mkilchhofer commented Sep 22, 2023

Yup some tools like Kustomize and Helmfile do not pass the available APIversions to helm. In your mentioned issue above, there is also a comment which explains how to pass APIversions:

Example:

namespace: foo

helmCharts:
- name: bar
  releaseName: bar

  #...
  apiVersions:
    - monitoring.coreos.com/v1
  #...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants