chore(argo-workflows): upgrade version v3.4.0 (#1463)
* chore(argo-workflows): upgrade version v3.4.0 Signed-off-by: yu-croco <yu.croco@gmail.com> * fix(argo-workflows): Remove unsupported attributes on metricsConfig and telemetryConfig, from workflow-controller-configmap Signed-off-by: yu-croco <yu.croco@gmail.com> * fix(argo-workflows): update CRDs Signed-off-by: yu-croco <yu.croco@gmail.com> * fix(argo-workflows): upgrade CRDs Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
dd2672e5c0
commit
87d6e396a7
8 changed files with 246 additions and 21 deletions
|
@ -1,9 +1,9 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: v3.3.9
|
appVersion: v3.4.0
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.17.1
|
version: 0.18.0
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
sources:
|
sources:
|
||||||
|
@ -13,4 +13,5 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Changed]: Helm chart maintainers standardized to argoproj"
|
- "[Changed]: Upgrade ArgoWorkflows to v3.4.0"
|
||||||
|
- "[Fixed]: Remove unsupported attributes on metricsConfig and telemetryConfig, from workflow-controller-configmap"
|
||||||
|
|
|
@ -66,8 +66,6 @@ Fields to note:
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| controller.affinity | object | `{}` | Assign custom [affinity] rules |
|
| controller.affinity | object | `{}` | Assign custom [affinity] rules |
|
||||||
| controller.clusterWorkflowTemplates.enabled | bool | `true` | Create a ClusterRole and CRB for the controller to access ClusterWorkflowTemplates. |
|
| controller.clusterWorkflowTemplates.enabled | bool | `true` | Create a ClusterRole and CRB for the controller to access ClusterWorkflowTemplates. |
|
||||||
| controller.containerRuntimeExecutor | string | `"emissary"` | Specifies the container runtime interface to use (one of: `docker`, `kubelet`, `k8sapi`, `pns`, `emissary`) |
|
|
||||||
| controller.containerRuntimeExecutors | list | `[]` | Specifies the executor to use. This has precedence over `controller.containerRuntimeExecutor`. |
|
|
||||||
| controller.deploymentAnnotations | object | `{}` | deploymentAnnotations is an optional map of annotations to be applied to the controller Deployment |
|
| controller.deploymentAnnotations | object | `{}` | deploymentAnnotations is an optional map of annotations to be applied to the controller Deployment |
|
||||||
| controller.extraArgs | list | `[]` | Extra arguments to be added to the controller |
|
| controller.extraArgs | list | `[]` | Extra arguments to be added to the controller |
|
||||||
| controller.extraContainers | list | `[]` | Extra containers to be added to the controller deployment |
|
| controller.extraContainers | list | `[]` | Extra containers to be added to the controller deployment |
|
||||||
|
@ -85,9 +83,12 @@ Fields to note:
|
||||||
| controller.logging.globallevel | string | `"0"` | Set the glog logging level |
|
| controller.logging.globallevel | string | `"0"` | Set the glog logging level |
|
||||||
| controller.logging.level | string | `"info"` | Set the logging level (one of: `debug`, `info`, `warn`, `error`) |
|
| controller.logging.level | string | `"info"` | Set the logging level (one of: `debug`, `info`, `warn`, `error`) |
|
||||||
| controller.metricsConfig.enabled | bool | `false` | Enables prometheus metrics server |
|
| controller.metricsConfig.enabled | bool | `false` | Enables prometheus metrics server |
|
||||||
|
| controller.metricsConfig.ignoreErrors | bool | `false` | Flag that instructs prometheus to ignore metric emission errors. |
|
||||||
|
| controller.metricsConfig.metricsTTL | string | `""` | How often custom metrics are cleared from memory |
|
||||||
| controller.metricsConfig.path | string | `"/metrics"` | Path is the path where metrics are emitted. Must start with a "/". |
|
| controller.metricsConfig.path | string | `"/metrics"` | Path is the path where metrics are emitted. Must start with a "/". |
|
||||||
| controller.metricsConfig.port | int | `9090` | Port is the port where metrics are emitted |
|
| controller.metricsConfig.port | int | `9090` | Port is the port where metrics are emitted |
|
||||||
| controller.metricsConfig.portName | string | `"metrics"` | Container metrics port name |
|
| controller.metricsConfig.portName | string | `"metrics"` | Container metrics port name |
|
||||||
|
| controller.metricsConfig.secure | bool | `false` | Flag that use a self-signed cert for TLS |
|
||||||
| controller.metricsConfig.servicePort | int | `8080` | Service metrics port |
|
| controller.metricsConfig.servicePort | int | `8080` | Service metrics port |
|
||||||
| controller.metricsConfig.servicePortName | string | `"metrics"` | Service metrics port name |
|
| controller.metricsConfig.servicePortName | string | `"metrics"` | Service metrics port name |
|
||||||
| controller.name | string | `"workflow-controller"` | Workflow controller name string |
|
| controller.name | string | `"workflow-controller"` | Workflow controller name string |
|
||||||
|
@ -116,8 +117,11 @@ Fields to note:
|
||||||
| controller.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
| controller.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
||||||
| controller.serviceType | string | `"ClusterIP"` | Service type of the controller Service |
|
| controller.serviceType | string | `"ClusterIP"` | Service type of the controller Service |
|
||||||
| controller.telemetryConfig.enabled | bool | `false` | Enables prometheus telemetry server |
|
| controller.telemetryConfig.enabled | bool | `false` | Enables prometheus telemetry server |
|
||||||
|
| controller.telemetryConfig.ignoreErrors | bool | `false` | Flag that instructs prometheus to ignore metric emission errors. |
|
||||||
|
| controller.telemetryConfig.metricsTTL | string | `""` | How often custom metrics are cleared from memory |
|
||||||
| controller.telemetryConfig.path | string | `"/telemetry"` | telemetry path |
|
| controller.telemetryConfig.path | string | `"/telemetry"` | telemetry path |
|
||||||
| controller.telemetryConfig.port | int | `8081` | telemetry container port |
|
| controller.telemetryConfig.port | int | `8081` | telemetry container port |
|
||||||
|
| controller.telemetryConfig.secure | bool | `false` | Flag that use a self-signed cert for TLS |
|
||||||
| controller.telemetryConfig.servicePort | int | `8081` | telemetry service port |
|
| controller.telemetryConfig.servicePort | int | `8081` | telemetry service port |
|
||||||
| controller.telemetryConfig.servicePortName | string | `"telemetry"` | telemetry service port name |
|
| controller.telemetryConfig.servicePortName | string | `"telemetry"` | telemetry service port name |
|
||||||
| controller.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
| controller.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: workflowartifactgctasks.argoproj.io
|
||||||
|
spec:
|
||||||
|
group: argoproj.io
|
||||||
|
names:
|
||||||
|
kind: WorkflowArtifactGCTask
|
||||||
|
listKind: WorkflowArtifactGCTaskList
|
||||||
|
plural: workflowartifactgctasks
|
||||||
|
shortNames:
|
||||||
|
- wfat
|
||||||
|
singular: workflowartifactgctask
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
status:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
required:
|
||||||
|
- metadata
|
||||||
|
- spec
|
||||||
|
type: object
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
|
@ -23,6 +23,11 @@ spec:
|
||||||
jsonPath: .status.startedAt
|
jsonPath: .status.startedAt
|
||||||
name: Age
|
name: Age
|
||||||
type: date
|
type: date
|
||||||
|
- description: Human readable message indicating details about why the workflow
|
||||||
|
is in this condition.
|
||||||
|
jsonPath: .status.message
|
||||||
|
name: Message
|
||||||
|
type: string
|
||||||
name: v1alpha1
|
name: v1alpha1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
|
|
@ -43,6 +43,29 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
archiveLogs:
|
archiveLogs:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
artifactGC:
|
||||||
|
properties:
|
||||||
|
podMetadata:
|
||||||
|
properties:
|
||||||
|
annotations:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
labels:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
serviceAccountName:
|
||||||
|
type: string
|
||||||
|
strategy:
|
||||||
|
enum:
|
||||||
|
- ""
|
||||||
|
- OnWorkflowCompletion
|
||||||
|
- OnWorkflowDeletion
|
||||||
|
- Never
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
artifactory:
|
artifactory:
|
||||||
properties:
|
properties:
|
||||||
passwordSecret:
|
passwordSecret:
|
||||||
|
@ -72,6 +95,34 @@ spec:
|
||||||
required:
|
required:
|
||||||
- url
|
- url
|
||||||
type: object
|
type: object
|
||||||
|
azure:
|
||||||
|
properties:
|
||||||
|
accountKeySecret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
optional:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
blob:
|
||||||
|
type: string
|
||||||
|
container:
|
||||||
|
type: string
|
||||||
|
endpoint:
|
||||||
|
type: string
|
||||||
|
useSDKCreds:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- blob
|
||||||
|
- container
|
||||||
|
- endpoint
|
||||||
|
type: object
|
||||||
|
deleted:
|
||||||
|
type: boolean
|
||||||
from:
|
from:
|
||||||
type: string
|
type: string
|
||||||
fromExpression:
|
fromExpression:
|
||||||
|
@ -98,6 +149,8 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
git:
|
git:
|
||||||
properties:
|
properties:
|
||||||
|
branch:
|
||||||
|
type: string
|
||||||
depth:
|
depth:
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
|
@ -124,6 +177,8 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
revision:
|
revision:
|
||||||
type: string
|
type: string
|
||||||
|
singleBranch:
|
||||||
|
type: boolean
|
||||||
sshPrivateKeySecret:
|
sshPrivateKeySecret:
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
|
@ -207,6 +262,110 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
http:
|
http:
|
||||||
properties:
|
properties:
|
||||||
|
auth:
|
||||||
|
properties:
|
||||||
|
basicAuth:
|
||||||
|
properties:
|
||||||
|
passwordSecret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
optional:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
usernameSecret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
optional:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
clientCert:
|
||||||
|
properties:
|
||||||
|
clientCertSecret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
optional:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
clientKeySecret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
optional:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
oauth2:
|
||||||
|
properties:
|
||||||
|
clientIDSecret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
optional:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
clientSecretSecret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
optional:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
endpointParams:
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
scopes:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
tokenURLSecret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
optional:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
headers:
|
headers:
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
@ -48,6 +48,7 @@ rules:
|
||||||
- workflows/finalizers
|
- workflows/finalizers
|
||||||
- workflowtasksets
|
- workflowtasksets
|
||||||
- workflowtasksets/finalizers
|
- workflowtasksets/finalizers
|
||||||
|
- workflowartifactgctasks
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
|
|
|
@ -13,11 +13,6 @@ data:
|
||||||
instanceID: {{ .Values.controller.instanceID.explicitID }}
|
instanceID: {{ .Values.controller.instanceID.explicitID }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containerRuntimeExecutor: {{ .Values.controller.containerRuntimeExecutor }}
|
|
||||||
{{- with .Values.controller.containerRuntimeExecutors }}
|
|
||||||
containerRuntimeExecutors:
|
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.controller.parallelism }}
|
{{- if .Values.controller.parallelism }}
|
||||||
parallelism: {{ .Values.controller.parallelism }}
|
parallelism: {{ .Values.controller.parallelism }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -97,10 +92,26 @@ data:
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- if .Values.controller.metricsConfig.enabled }}
|
{{- if .Values.controller.metricsConfig.enabled }}
|
||||||
metricsConfig:
|
metricsConfig:
|
||||||
{{ toYaml .Values.controller.metricsConfig | indent 6}}{{- end }}
|
enabled: {{ .Values.controller.metricsConfig.enabled }}
|
||||||
|
path: {{ .Values.controller.metricsConfig.path }}
|
||||||
|
port: {{ .Values.controller.metricsConfig.port }}
|
||||||
|
{{- if .Values.controller.metricsConfig.metricsTTL }}
|
||||||
|
metricsTTL: {{ .Values.controller.metricsConfig.metricsTTL }}
|
||||||
|
{{- end }}
|
||||||
|
ignoreErrors: {{ .Values.controller.metricsConfig.ignoreErrors }}
|
||||||
|
secure: {{ .Values.controller.metricsConfig.secure }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.controller.telemetryConfig.enabled }}
|
{{- if .Values.controller.telemetryConfig.enabled }}
|
||||||
telemetryConfig:
|
telemetryConfig:
|
||||||
{{ toYaml .Values.controller.telemetryConfig | indent 6}}{{- end }}
|
enabled: {{ .Values.controller.telemetryConfig.enabled }}
|
||||||
|
path: {{ .Values.controller.telemetryConfig.path }}
|
||||||
|
port: {{ .Values.controller.telemetryConfig.port }}
|
||||||
|
{{- if .Values.controller.telemetryConfig.metricsTTL }}
|
||||||
|
metricsTTL: {{ .Values.controller.telemetryConfig.metricsTTL }}
|
||||||
|
{{- end }}
|
||||||
|
ignoreErrors: {{ .Values.controller.telemetryConfig.ignoreErrors }}
|
||||||
|
secure: {{ .Values.controller.telemetryConfig.secure }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.controller.persistence }}
|
{{- if .Values.controller.persistence }}
|
||||||
persistence:
|
persistence:
|
||||||
{{ toYaml .Values.controller.persistence | indent 6 }}{{- end }}
|
{{ toYaml .Values.controller.persistence | indent 6 }}{{- end }}
|
||||||
|
|
|
@ -82,6 +82,12 @@ controller:
|
||||||
path: /metrics
|
path: /metrics
|
||||||
# -- Port is the port where metrics are emitted
|
# -- Port is the port where metrics are emitted
|
||||||
port: 9090
|
port: 9090
|
||||||
|
# -- How often custom metrics are cleared from memory
|
||||||
|
metricsTTL: ""
|
||||||
|
# -- Flag that instructs prometheus to ignore metric emission errors.
|
||||||
|
ignoreErrors: false
|
||||||
|
# -- Flag that use a self-signed cert for TLS
|
||||||
|
secure: false
|
||||||
# -- Container metrics port name
|
# -- Container metrics port name
|
||||||
portName: metrics
|
portName: metrics
|
||||||
# -- Service metrics port
|
# -- Service metrics port
|
||||||
|
@ -142,6 +148,12 @@ controller:
|
||||||
path: /telemetry
|
path: /telemetry
|
||||||
# -- telemetry container port
|
# -- telemetry container port
|
||||||
port: 8081
|
port: 8081
|
||||||
|
# -- How often custom metrics are cleared from memory
|
||||||
|
metricsTTL: ""
|
||||||
|
# -- Flag that instructs prometheus to ignore metric emission errors.
|
||||||
|
ignoreErrors: false
|
||||||
|
# -- Flag that use a self-signed cert for TLS
|
||||||
|
secure: false
|
||||||
# -- telemetry service port
|
# -- telemetry service port
|
||||||
servicePort: 8081
|
servicePort: 8081
|
||||||
# -- telemetry service port name
|
# -- telemetry service port name
|
||||||
|
@ -170,15 +182,6 @@ controller:
|
||||||
workflowNamespaces:
|
workflowNamespaces:
|
||||||
- default
|
- default
|
||||||
|
|
||||||
# -- Specifies the container runtime interface to use (one of: `docker`, `kubelet`, `k8sapi`, `pns`, `emissary`)
|
|
||||||
## Ref: https://argoproj.github.io/argo-workflows/workflow-executors/
|
|
||||||
containerRuntimeExecutor: emissary
|
|
||||||
# -- Specifies the executor to use. This has precedence over `controller.containerRuntimeExecutor`.
|
|
||||||
containerRuntimeExecutors: []
|
|
||||||
# - name: emissary
|
|
||||||
# selector:
|
|
||||||
# matchLabels:
|
|
||||||
# workflows.argoproj.io/container-runtime-executor: emissary
|
|
||||||
instanceID:
|
instanceID:
|
||||||
# -- Configures the controller to filter workflow submissions
|
# -- Configures the controller to filter workflow submissions
|
||||||
# to only those which have a matching instanceID attribute.
|
# to only those which have a matching instanceID attribute.
|
||||||
|
|
Loading…
Reference in a new issue