chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.4 (#2588)

Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Signed-off-by: cmontemuino <1761056+cmontemuino@users.noreply.github.com>
This commit is contained in:
argoproj-renovate[bot] 2024-03-18 09:36:40 +00:00 committed by cmontemuino
parent 85de0a16e7
commit 57fc1bb0f8
No known key found for this signature in database
GPG key ID: 676EF8F14B2EE29A
4 changed files with 9 additions and 3 deletions

View file

@ -3,7 +3,7 @@ appVersion: v3.5.5
name: argo-workflows
description: A Helm chart for Argo Workflows
type: application
version: 0.40.14
version: 0.40.15
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
home: https://github.com/argoproj/argo-helm
sources:
@ -17,4 +17,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: added
description: Support namespaceOverride
description: Check Prometheus CRDs are available before creating Service Monitor resource(s)

View file

@ -212,6 +212,7 @@ Fields to note:
| controller.serviceAnnotations | object | `{}` | Annotations to be applied to the controller Service |
| controller.serviceLabels | object | `{}` | Optional labels to add to the controller Service |
| controller.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
| controller.serviceMonitor.apiVersion | string | `"monitoring.coreos.com/v1"` | ApiVersion for the serviceMonitor resource |
| controller.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
| controller.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
| controller.serviceType | string | `"ClusterIP"` | Service type of the controller Service |

View file

@ -1,5 +1,7 @@
{{- if and (or .Values.controller.metricsConfig.enabled .Values.controller.telemetryConfig.enabled) .Values.controller.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
{{- $prometheusApiVersion := .Values.controller.serviceMonitor.apiVersion -}}
{{- if .Capabilities.APIVersions.Has $prometheusApiVersion }}
apiVersion: {{ $prometheusApiVersion }}
kind: ServiceMonitor
metadata:
name: {{ template "argo-workflows.controller.fullname" . }}
@ -48,3 +50,4 @@ spec:
matchLabels:
{{- include "argo-workflows.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 6 }}
{{- end }}
{{- end }}

View file

@ -240,6 +240,8 @@ controller:
additionalLabels: {}
# -- Prometheus ServiceMonitor namespace
namespace: "" # "monitoring"
# -- ApiVersion for the serviceMonitor resource
apiVersion: monitoring.coreos.com/v1
serviceAccount:
# -- Create a service account for the controller
create: true