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: resources:
- configmaps - configmaps
- secrets
verbs: verbs:
- get - get
- watch - watch

View file

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