fix(argo-rollouts): Use annotation cont metrics (#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>
This commit is contained in:
parent
f2da20bb75
commit
5f1d08de0b
4 changed files with 10 additions and 4 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v1.5.1
|
appVersion: v1.5.1
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 2.31.1
|
version: 2.31.2
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -18,5 +18,5 @@ annotations:
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: Update to app version 1.5.1
|
description: Fix use prometheus metrics service
|
||||||
|
|
|
@ -91,6 +91,7 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
| controller.livenessProbe | object | See [values.yaml] | Configure liveness [probe] for the controller |
|
| controller.livenessProbe | object | See [values.yaml] | Configure liveness [probe] for the controller |
|
||||||
| controller.metricProviderPlugins | object | `{}` | Configures 3rd party metric providers for controller |
|
| controller.metricProviderPlugins | object | `{}` | Configures 3rd party metric providers for controller |
|
||||||
| controller.metrics.enabled | bool | `false` | Deploy metrics service |
|
| controller.metrics.enabled | bool | `false` | Deploy metrics service |
|
||||||
|
| controller.metrics.service.annotations | object | `{}` | Service annotations |
|
||||||
| controller.metrics.service.port | int | `8090` | Metrics service port |
|
| controller.metrics.service.port | int | `8090` | Metrics service port |
|
||||||
| controller.metrics.service.portName | string | `"metrics"` | Metrics service port name |
|
| controller.metrics.service.portName | string | `"metrics"` | Metrics service port name |
|
||||||
| controller.metrics.serviceMonitor.additionalAnnotations | object | `{}` | Annotations to be added to the ServiceMonitor |
|
| controller.metrics.serviceMonitor.additionalAnnotations | object | `{}` | Annotations to be added to the ServiceMonitor |
|
||||||
|
|
|
@ -7,8 +7,11 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/component: {{ .Values.controller.component }}
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
||||||
{{- with .Values.serviceAnnotations }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
{{- with .Values.serviceAnnotations }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.controller.metrics.service.annotations }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -127,6 +127,8 @@ controller:
|
||||||
portName: metrics
|
portName: metrics
|
||||||
# -- Metrics service port
|
# -- Metrics service port
|
||||||
port: 8090
|
port: 8090
|
||||||
|
# -- Service annotations
|
||||||
|
annotations: {}
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
# -- Enable a prometheus ServiceMonitor
|
# -- Enable a prometheus ServiceMonitor
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Loading…
Reference in a new issue