Skip to content

Commit 8620ffa

Browse files
authored
chore(api7): add max_lifetime and Vault config to dp_manager and developer_portal (#273)
1 parent 59db2e3 commit 8620ffa

1 file changed

Lines changed: 41 additions & 1 deletion

File tree

charts/api7/values.yaml

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,15 +456,35 @@ dp_manager_configuration:
456456
dsn: "postgres://api7ee:changeme@api7-postgresql:5432/api7ee"
457457
max_open_conns: 30
458458
max_idle_time: 30s
459+
# max_lifetime: 60s
459460
timeout: 5s
461+
# vault:
462+
# enabled: false
463+
# address: "http://vault:8200"
464+
# namespace: ""
465+
# base_dsn: "postgres://api7-postgresql:5432/api7ee?sslmode=disable" # no username/password
466+
# cred_cache_ttl: 30s
467+
# auth:
468+
# method: "token" # token | approle | kubernetes
469+
# token: ""
470+
# # role_id: ""
471+
# # secret_id: ""
472+
# # role: "" # for kubernetes auth
473+
# # mount_path: "" # optional auth mount path
474+
# database:
475+
# mount_path: "database"
476+
# role: "api7ee"
477+
# tls:
478+
# ca_cert: ""
479+
# insecure: false
460480
jaeger:
461481
collector_addr: "http://api7-jaeger:4318"
462482
timeout: 30s
463483
prometheus:
464484
addr: "http://api7-prometheus-server:9090"
465485
remote_write_path: "/api/v1/write"
466486
timeout: "30s"
467-
basic_auth: # access the prometheus with basic-auth
487+
basic_auth: # access the prometheus with basic-auth
468488
username: "" # Basic-auth username. If the username is empty, basic-auth authentication is not performed when requesting prometheus.
469489
password: ""
470490
tls:
@@ -514,4 +534,24 @@ developer_portal_configuration:
514534
dsn: "postgres://api7ee:changeme@api7-postgresql:5432/api7ee"
515535
max_open_conns: 30
516536
max_idle_time: 30s
537+
# max_lifetime: 60s
517538
timeout: 5s
539+
# vault:
540+
# enabled: false
541+
# address: "http://vault:8200"
542+
# namespace: ""
543+
# base_dsn: "postgres://api7-postgresql:5432/api7ee?sslmode=disable" # no username/password
544+
# cred_cache_ttl: 30s
545+
# auth:
546+
# method: "token" # token | approle | kubernetes
547+
# token: ""
548+
# # role_id: ""
549+
# # secret_id: ""
550+
# # role: "" # for kubernetes auth
551+
# # mount_path: "" # optional auth mount path
552+
# database:
553+
# mount_path: "database"
554+
# role: "api7ee"
555+
# tls:
556+
# ca_cert: ""
557+
# insecure: false

0 commit comments

Comments
 (0)