[argo] Add workflow persistence configuration (#133)

This commit is contained in:
John Behling 2019-10-22 17:08:29 -05:00 committed by Alex Collins
parent 04d7d2c390
commit caf9ff6e49
3 changed files with 22 additions and 1 deletions

View file

@ -2,5 +2,5 @@ apiVersion: v1
appVersion: "v2.4.2" appVersion: "v2.4.2"
description: A Helm chart for Argo Workflows description: A Helm chart for Argo Workflows
name: argo name: argo
version: 0.6.0 version: 0.6.1
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png

View file

@ -43,3 +43,6 @@ data:
{{- if .Values.controller.telemetryConfig.enabled }} {{- if .Values.controller.telemetryConfig.enabled }}
telemetryConfig: telemetryConfig:
{{ toYaml .Values.controller.telemetryConfig | indent 6}}{{- end }} {{ toYaml .Values.controller.telemetryConfig | indent 6}}{{- end }}
{{- if .Values.controller.persistence }}
persistence:
{{ toYaml .Values.controller.persistence | indent 6 }}{{- end }}

View file

@ -29,6 +29,24 @@ controller:
enabled: false enabled: false
path: /metrics path: /metrics
port: 8080 port: 8080
persistence: {}
# connectionPool:
# maxIdleConns: 100
# maxOpenConns: 0
# # save the entire workflow into etcd and DB
# nodeStatusOffLoad: false
# postgresql:
# host: localhost
# port: 5432
# database: postgres
# tableName: argo_workflows
# # the database secrets must be in the same namespace of the controller
# userNameSecret:
# name: argo-postgres-config
# key: username
# passwordSecret:
# name: argo-postgres-config
# key: password
telemetryConfig: telemetryConfig:
enabled: false enabled: false
path: /telemetry path: /telemetry