update config variable name to ca_cert_path

This commit is contained in:
Maor Friedman 2025-08-18 11:57:14 +03:00
parent 85637f3c89
commit aa70be5ae2
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ class PostgresKVStoreConfig(CommonConfig):
user: str
password: str | None = None
ssl_mode: str | None = None
ssl_root_cert: str | None = None
ca_cert_path: str | None = None
table_name: str = "llamastack_kvstore"
@classmethod

View file

@ -31,7 +31,7 @@ class PostgresKVStoreImpl(KVStore):
user=self.config.user,
password=self.config.password,
sslmode=self.config.ssl_mode,
sslrootcert=self.config.ssl_root_cert,
sslrootcert=self.config.ca_cert_path,
)
self.conn.autocommit = True
self.cursor = self.conn.cursor(cursor_factory=DictCursor)