Skip to content

Commit

Permalink
[OSPRH-12074] Add TLS for powermonitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzigold committed Feb 7, 2025
1 parent 898895d commit a3f2a66
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 10 additions & 1 deletion roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
"restart": "always",
"ports": ["8888:8888"],
"net": "host",
"command": "-v=2",
"command": [
{% if tls_cert_exists|bool %}
"--web.config.file=/etc/kepler/web-config.yml",
{% endif %}
"-v=2"
],
"recreate": true,
"environment": {
"ENABLE_GPU": "true",
Expand All @@ -21,6 +26,10 @@
},
{% endif %}
"volumes": [
{% if tls_cert_exists|bool %}
"/var/lib/openstack/certs/telemetry-power-monitoring/default:/etc/kepler/tls:z",
"/var/lib/openstack/config/telemetry-power-monitoring/web-config.yml:/etc/kepler/web-config.yml:z",
{% endif %}
"/lib/modules:/lib/modules:ro",
"/run/libvirt:/run/libvirt:shared,ro",
"/sys:/sys",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tls_server_config:
cert_file: /etc/kepler/tls/tls.crt
key_file: /etc/kepler/tls/tls.key

0 comments on commit a3f2a66

Please sign in to comment.