-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: run update-ca-certificates to push final ca-certs, pass tls rel…
…ated certs as env var
- Loading branch information
1 parent
ca6a293
commit 46f642b
Showing
2 changed files
with
69 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2023 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
|
||
# TODO: move all constants to a constants.py file | ||
OATHKEEPER_API_PORT = 4456 | ||
PEER = "oathkeeper" | ||
SSL_PATH = "/etc/ssl/certs/ca-certificates.crt" | ||
CA_CERTS_PATH = "/usr/share/ca-certificates" | ||
LOCAL_CA_CERTS_PATH = "/usr/local/share/ca-certificates" | ||
SERVER_CERT_PATH = f"{LOCAL_CA_CERTS_PATH}/server.crt" | ||
SERVER_KEY_PATH = f"{LOCAL_CA_CERTS_PATH}/server.key" | ||
SERVER_CA_CERT_PATH = f"{LOCAL_CA_CERTS_PATH}/oathkeeper-ca.crt" |