-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
slurmctld: add support for TLS certificates
Add three configurations in slurmctld charm to allow the operator to supply TLS certificates for etcd. Two options for the TLS cert (pub and private files), and one optional as the CA public certificate, in case the nodes do not have that or it was used an internal CA. etcd will not use that cert to verify the clients. Add integration tests to validade the certs are in place and can be used correctly.
- Loading branch information
Showing
12 changed files
with
333 additions
and
17 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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
ops==1.3.0 | ||
influxdb | ||
etcd3gw==1.0.2 | ||
jinja2==3.1.2 | ||
git+https://github.com/omnivector-solutions/[email protected] |
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
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,9 @@ | ||
ETCD_NAME=osd-etcd | ||
ETCD_DATA_DIR=/var/lib/etcd | ||
ETCD_LISTEN_CLIENT_URLS={{ protocol }}://0.0.0.0:2379 | ||
ETCD_ADVERTISE_CLIENT_URLS={{ protocol }}://0.0.0.0:2379 | ||
|
||
{% if use_tls %} | ||
ETCD_CERT_FILE={{ tls_cert_path }} | ||
ETCD_KEY_FILE={{ tls_key_path }} | ||
{% endif %} |
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
Oops, something went wrong.