feat(argo-rollouts): Upgrade Argo Rollouts to v1.5.0 (#2039)

* feat(argo-rollouts): Upgrade Argo Rollouts to v1.5.0
Signed-off-by: yu-croco <yu.croco@gmail.com>

* feat(argo-rollouts): Add missing configmap for 3rd party metrics providers
Signed-off-by: yu-croco <yu.croco@gmail.com>

* feat: Add signing information

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
This commit is contained in:
Aikawa 2023-05-11 00:30:57 +09:00 committed by GitHub
parent 2bd14d38b0
commit 083f42cdd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 328 additions and 5 deletions

View file

@ -1,8 +1,8 @@
apiVersion: v2 apiVersion: v2
appVersion: v1.4.1 appVersion: v1.5.0
description: A Helm chart for Argo Rollouts description: A Helm chart for Argo Rollouts
name: argo-rollouts name: argo-rollouts
version: 2.27.0 version: 2.28.0
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:
@ -14,6 +14,11 @@ maintainers:
- name: argoproj - name: argoproj
url: https://argoproj.github.io/ url: https://argoproj.github.io/
annotations: annotations:
artifacthub.io/signKey: |
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: changed
description: Upgrade Argo Rollouts to v1.5.0
- kind: added - kind: added
description: Allow extraObjects to contain string templates description: Introduce chart signing

View file

@ -85,6 +85,7 @@ For full list of changes please check ArtifactHub [changelog].
| controller.image.tag | string | `""` | Overrides the image tag (default is the chart appVersion) | | controller.image.tag | string | `""` | Overrides the image tag (default is the chart appVersion) |
| controller.initContainers | list | `[]` | Init containers to add to the rollouts controller pod | | controller.initContainers | list | `[]` | Init containers to add to the rollouts controller pod |
| 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.metrics.enabled | bool | `false` | Deploy metrics service | | controller.metrics.enabled | bool | `false` | Deploy metrics service |
| controller.metrics.serviceMonitor.additionalAnnotations | object | `{}` | Annotations to be added to the ServiceMonitor | | controller.metrics.serviceMonitor.additionalAnnotations | object | `{}` | Annotations to be added to the ServiceMonitor |
| controller.metrics.serviceMonitor.additionalLabels | object | `{}` | Labels to be added to the ServiceMonitor | | controller.metrics.serviceMonitor.additionalLabels | object | `{}` | Labels to be added to the ServiceMonitor |

View file

@ -0,0 +1,12 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: argo-rollouts-config
namespace: {{ .Release.Namespace | quote }}
labels:
app.kubernetes.io/component: {{ .Values.controller.component }}
{{- include "argo-rollouts.labels" . | nindent 4 }}
data:
{{- with .Values.controller.metricProviderPlugins }}
{{- toYaml . | nindent 2 }}
{{- end }}

View file

@ -188,6 +188,8 @@ spec:
type: object type: object
datadog: datadog:
properties: properties:
apiVersion:
type: string
interval: interval:
type: string type: string
query: query:
@ -240,6 +242,51 @@ spec:
parallelism: parallelism:
format: int32 format: int32
type: integer type: integer
podFailurePolicy:
properties:
rules:
items:
properties:
action:
type: string
onExitCodes:
properties:
containerName:
type: string
operator:
type: string
values:
items:
format: int32
type: integer
type: array
x-kubernetes-list-type: set
required:
- operator
- values
type: object
onPodConditions:
items:
properties:
status:
type: string
type:
type: string
required:
- status
- type
type: object
type: array
x-kubernetes-list-type: atomic
required:
- action
- onPodConditions
type: object
type: array
x-kubernetes-list-type: atomic
required:
- rules
type: object
selector: selector:
properties: properties:
matchExpressions: matchExpressions:
@ -1832,6 +1879,8 @@ spec:
type: boolean type: boolean
hostPID: hostPID:
type: boolean type: boolean
hostUsers:
type: boolean
hostname: hostname:
type: string type: string
imagePullSecrets: imagePullSecrets:
@ -2579,12 +2628,21 @@ spec:
type: string type: string
type: object type: object
type: object type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
maxSkew: maxSkew:
format: int32 format: int32
type: integer type: integer
minDomains: minDomains:
format: int32 format: int32
type: integer type: integer
nodeAffinityPolicy:
type: string
nodeTaintsPolicy:
type: string
topologyKey: topologyKey:
type: string type: string
whenUnsatisfiable: whenUnsatisfiable:
@ -2710,6 +2768,9 @@ spec:
required: required:
- query - query
type: object type: object
plugin:
type: object
x-kubernetes-preserve-unknown-fields: true
prometheus: prometheus:
properties: properties:
address: address:
@ -2717,6 +2778,15 @@ spec:
query: query:
type: string type: string
type: object type: object
skywalking:
properties:
address:
type: string
interval:
type: string
query:
type: string
type: object
wavefront: wavefront:
properties: properties:
address: address:

View file

@ -184,6 +184,8 @@ spec:
type: object type: object
datadog: datadog:
properties: properties:
apiVersion:
type: string
interval: interval:
type: string type: string
query: query:
@ -236,6 +238,51 @@ spec:
parallelism: parallelism:
format: int32 format: int32
type: integer type: integer
podFailurePolicy:
properties:
rules:
items:
properties:
action:
type: string
onExitCodes:
properties:
containerName:
type: string
operator:
type: string
values:
items:
format: int32
type: integer
type: array
x-kubernetes-list-type: set
required:
- operator
- values
type: object
onPodConditions:
items:
properties:
status:
type: string
type:
type: string
required:
- status
- type
type: object
type: array
x-kubernetes-list-type: atomic
required:
- action
- onPodConditions
type: object
type: array
x-kubernetes-list-type: atomic
required:
- rules
type: object
selector: selector:
properties: properties:
matchExpressions: matchExpressions:
@ -1828,6 +1875,8 @@ spec:
type: boolean type: boolean
hostPID: hostPID:
type: boolean type: boolean
hostUsers:
type: boolean
hostname: hostname:
type: string type: string
imagePullSecrets: imagePullSecrets:
@ -2575,12 +2624,21 @@ spec:
type: string type: string
type: object type: object
type: object type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
maxSkew: maxSkew:
format: int32 format: int32
type: integer type: integer
minDomains: minDomains:
format: int32 format: int32
type: integer type: integer
nodeAffinityPolicy:
type: string
nodeTaintsPolicy:
type: string
topologyKey: topologyKey:
type: string type: string
whenUnsatisfiable: whenUnsatisfiable:
@ -2706,6 +2764,9 @@ spec:
required: required:
- query - query
type: object type: object
plugin:
type: object
x-kubernetes-preserve-unknown-fields: true
prometheus: prometheus:
properties: properties:
address: address:
@ -2713,6 +2774,15 @@ spec:
query: query:
type: string type: string
type: object type: object
skywalking:
properties:
address:
type: string
interval:
type: string
query:
type: string
type: object
wavefront: wavefront:
properties: properties:
address: address:

View file

@ -184,6 +184,8 @@ spec:
type: object type: object
datadog: datadog:
properties: properties:
apiVersion:
type: string
interval: interval:
type: string type: string
query: query:
@ -236,6 +238,51 @@ spec:
parallelism: parallelism:
format: int32 format: int32
type: integer type: integer
podFailurePolicy:
properties:
rules:
items:
properties:
action:
type: string
onExitCodes:
properties:
containerName:
type: string
operator:
type: string
values:
items:
format: int32
type: integer
type: array
x-kubernetes-list-type: set
required:
- operator
- values
type: object
onPodConditions:
items:
properties:
status:
type: string
type:
type: string
required:
- status
- type
type: object
type: array
x-kubernetes-list-type: atomic
required:
- action
- onPodConditions
type: object
type: array
x-kubernetes-list-type: atomic
required:
- rules
type: object
selector: selector:
properties: properties:
matchExpressions: matchExpressions:
@ -1828,6 +1875,8 @@ spec:
type: boolean type: boolean
hostPID: hostPID:
type: boolean type: boolean
hostUsers:
type: boolean
hostname: hostname:
type: string type: string
imagePullSecrets: imagePullSecrets:
@ -2575,12 +2624,21 @@ spec:
type: string type: string
type: object type: object
type: object type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
maxSkew: maxSkew:
format: int32 format: int32
type: integer type: integer
minDomains: minDomains:
format: int32 format: int32
type: integer type: integer
nodeAffinityPolicy:
type: string
nodeTaintsPolicy:
type: string
topologyKey: topologyKey:
type: string type: string
whenUnsatisfiable: whenUnsatisfiable:
@ -2706,6 +2764,9 @@ spec:
required: required:
- query - query
type: object type: object
plugin:
type: object
x-kubernetes-preserve-unknown-fields: true
prometheus: prometheus:
properties: properties:
address: address:
@ -2713,6 +2774,15 @@ spec:
query: query:
type: string type: string
type: object type: object
skywalking:
properties:
address:
type: string
interval:
type: string
query:
type: string
type: object
wavefront: wavefront:
properties: properties:
address: address:

View file

@ -159,6 +159,9 @@ spec:
type: object type: object
type: object type: object
service: service:
properties:
name:
type: string
type: object type: object
template: template:
properties: properties:
@ -1727,6 +1730,8 @@ spec:
type: boolean type: boolean
hostPID: hostPID:
type: boolean type: boolean
hostUsers:
type: boolean
hostname: hostname:
type: string type: string
imagePullSecrets: imagePullSecrets:
@ -2474,12 +2479,21 @@ spec:
type: string type: string
type: object type: object
type: object type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
maxSkew: maxSkew:
format: int32 format: int32
type: integer type: integer
minDomains: minDomains:
format: int32 format: int32
type: integer type: integer
nodeAffinityPolicy:
type: string
nodeTaintsPolicy:
type: string
topologyKey: topologyKey:
type: string type: string
whenUnsatisfiable: whenUnsatisfiable:

View file

@ -163,6 +163,17 @@ spec:
x-kubernetes-int-or-string: true x-kubernetes-int-or-string: true
postPromotionAnalysis: postPromotionAnalysis:
properties: properties:
analysisRunMetadata:
properties:
annotations:
additionalProperties:
type: string
type: object
labels:
additionalProperties:
type: string
type: object
type: object
args: args:
items: items:
properties: properties:
@ -220,6 +231,17 @@ spec:
type: object type: object
prePromotionAnalysis: prePromotionAnalysis:
properties: properties:
analysisRunMetadata:
properties:
annotations:
additionalProperties:
type: string
type: object
labels:
additionalProperties:
type: string
type: object
type: object
args: args:
items: items:
properties: properties:
@ -307,6 +329,17 @@ spec:
type: integer type: integer
analysis: analysis:
properties: properties:
analysisRunMetadata:
properties:
annotations:
additionalProperties:
type: string
type: object
labels:
additionalProperties:
type: string
type: object
type: object
args: args:
items: items:
properties: properties:
@ -440,6 +473,17 @@ spec:
properties: properties:
analysis: analysis:
properties: properties:
analysisRunMetadata:
properties:
annotations:
additionalProperties:
type: string
type: object
labels:
additionalProperties:
type: string
type: object
type: object
args: args:
items: items:
properties: properties:
@ -580,6 +624,11 @@ spec:
type: string type: string
type: object type: object
type: object type: object
service:
properties:
name:
type: string
type: object
specRef: specRef:
type: string type: string
weight: weight:
@ -869,9 +918,14 @@ spec:
type: string type: string
stableIngress: stableIngress:
type: string type: string
required: stableIngresses:
- stableIngress items:
type: string
type: array
type: object type: object
plugins:
type: object
x-kubernetes-preserve-unknown-fields: true
smi: smi:
properties: properties:
rootService: rootService:
@ -2456,6 +2510,8 @@ spec:
type: boolean type: boolean
hostPID: hostPID:
type: boolean type: boolean
hostUsers:
type: boolean
hostname: hostname:
type: string type: string
imagePullSecrets: imagePullSecrets:
@ -3203,12 +3259,21 @@ spec:
type: string type: string
type: object type: object
type: object type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
maxSkew: maxSkew:
format: int32 format: int32
type: integer type: integer
minDomains: minDomains:
format: int32 format: int32
type: integer type: integer
nodeAffinityPolicy:
type: string
nodeTaintsPolicy:
type: string
topologyKey: topologyKey:
type: string type: string
whenUnsatisfiable: whenUnsatisfiable:
@ -3257,30 +3322,39 @@ spec:
properties: properties:
arn: arn:
type: string type: string
fullName:
type: string
name: name:
type: string type: string
required: required:
- arn - arn
- fullName
- name - name
type: object type: object
loadBalancer: loadBalancer:
properties: properties:
arn: arn:
type: string type: string
fullName:
type: string
name: name:
type: string type: string
required: required:
- arn - arn
- fullName
- name - name
type: object type: object
stableTargetGroup: stableTargetGroup:
properties: properties:
arn: arn:
type: string type: string
fullName:
type: string
name: name:
type: string type: string
required: required:
- arn - arn
- fullName
- name - name
type: object type: object
type: object type: object

View file

@ -169,6 +169,13 @@ controller:
# - mountPath: /etc/ssl/certs # - mountPath: /etc/ssl/certs
# name: my-certs # name: my-certs
# -- Configures 3rd party metric providers for controller
## Ref: https://argo-rollouts.readthedocs.io/en/stable/analysis/plugins/
metricProviderPlugins: {}
# metricProviderPlugins: |-
# - name: "argoproj-labs/sample-prometheus" # name of the plugin, it must match the name required by the plugin so that it can find its configuration
# location: "file://./my-custom-plugin" # supports http(s):// urls and file://
serviceAccount: serviceAccount:
# -- Specifies whether a service account should be created # -- Specifies whether a service account should be created
create: true create: true