diff options
author | Scott Murray <scott.murray@konsulko.com> | 2023-11-28 19:03:09 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2023-11-28 19:06:53 -0500 |
commit | 34fbf0965783cc993876af307a353ba9d33ca69d (patch) | |
tree | d1c5281331e61db13ae27e21cf8811c11ec0141d | |
parent | 38754722e08e1c9b48af39a11cc455916e1f9161 (diff) |
Update paths for kuksa-client 0.4.2
Update paths into the kuksa-client module directories to work with
the new locations after the switch to the split out module repository,
i.e. built with kuksa-python-sdk instead of kuksa.val.
Bug-AGL: SPEC-4996
Change-Id: If7ef3785f8a245b1c31e721b61687db728331103
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-rw-r--r-- | extras/config.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/extras/config.py b/extras/config.py index f8e5ccb..4959b40 100644 --- a/extras/config.py +++ b/extras/config.py @@ -34,19 +34,18 @@ CONFIG_PATHS = check_paths( CA_PATHS = check_paths( "/etc/kuksa-val/CA.pem", - f"/usr/lib/{python_version}/site-packages/kuksa_certificates/CA.pem", + f"/usr/lib/{python_version}/site-packages/kuksa_client/kuksa_server_certificates/CA.pem", os.path.abspath(os.path.join(os.path.dirname( __file__), "../assets/cert/CA.pem")) ) WS_TOKEN_PATHS = check_paths( - f"/usr/lib/{python_version}/site-packages/kuksa_certificates/jwt/super-admin.json.token", + f"/usr/lib/{python_version}/site-packages/kuksa_client/kuksa_server_certificates/jwt/super-admin.json.token", os.path.join(os.path.expanduser( - "~"), f".local/lib/{python_version}/site-packages/kuksa_certificates/jwt/super-admin.json.token") + "~"), f".local/lib/{python_version}/site-packages/kuksa_client/kuksa_server_certificates/jwt/super-admin.json.token") ) GRPC_TOKEN_PATHS = check_paths( - f"/usr/lib/{python_version}/site-packages/kuksa_certificates/jwt/super-admin.json.token", os.path.abspath(os.path.join(os.path.dirname(__file__), "../assets/token/grpc/actuate-provide-all.token")) ) |