Fix argo-cd persistence configuration

Signed-off-by: Artyom Bakhtin <a@bakhtin.net>
This commit is contained in:
Artyom Bakhtin 2020-03-11 11:47:12 +03:00
parent a265e8f59a
commit b00ec6994b
2 changed files with 19 additions and 18 deletions

View file

@ -26,6 +26,7 @@ rules:
- ""
resources:
- configmaps
- secrets
verbs:
- get
- watch

View file

@ -33,24 +33,24 @@ controller:
enabled: false
path: /metrics
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
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
workflowDefaults: {} # Only valid for 2.7+
# spec:
# ttlStrategy: