metal3: Introduce TLS variables for ironic vmedia server #281

Merged
nbelouin merged 1 commits from nbelouin/Factory:ironic-tls-cipher into main 2025-10-14 15:04:33 +02:00
Owner

port of https://github.com/metal3-io/ironic-image/pull/759

Expose it in chart with a new ironic.ironicExtraEnv value that allows
passing arbitrary extra environment variables to allow for advanced
configuration we may not want to keep as not for the faint of heart.

Also quick bonus fix issue with media subchart

port of https://github.com/metal3-io/ironic-image/pull/759 Expose it in chart with a new `ironic.ironicExtraEnv` value that allows passing arbitrary extra environment variables to allow for advanced configuration we may not want to keep as not for the faint of heart. Also quick bonus fix issue with media subchart
nbelouin added 1 commit 2025-10-03 09:37:08 +02:00
metal3: Introduce TLS variables for ironic vmedia server
Some checks failed
Check Release Manifest Local Charts Versions / Check Release Manifest Local Charts Versions (pull_request) Successful in -1s
Build PR in OBS / Build PR in OBS (pull_request_target) Failing after 1m39s
98974a10a6
port of https://github.com/metal3-io/ironic-image/pull/759

Expose it in chart with a new `ironic.ironicExtraEnv` value that allows
passing arbitrary extra environment variables to allow for advanced
configuration we may not want to keep as not for the faint of heart.

Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
nbelouin added 2 commits 2025-10-03 09:53:46 +02:00
metal3: Introduce TLS variables for ironic vmedia server
Some checks failed
Check Release Manifest Local Charts Versions / Check Release Manifest Local Charts Versions (pull_request) Successful in -1s
Build PR in OBS / Build PR in OBS (pull_request_target) Failing after 1m39s
98974a10a6
port of https://github.com/metal3-io/ironic-image/pull/759

Expose it in chart with a new `ironic.ironicExtraEnv` value that allows
passing arbitrary extra environment variables to allow for advanced
configuration we may not want to keep as not for the faint of heart.

Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
metal3: Introduce TLS variables for ironic vmedia server
Some checks failed
Check Release Manifest Local Charts Versions / Check Release Manifest Local Charts Versions (pull_request) Successful in 8s
Build PR in OBS / Build PR in OBS (pull_request_target) Failing after 3h10m30s
67d2a5bdef
port of https://github.com/metal3-io/ironic-image/pull/759

Expose it in chart with a new `ironic.ironicExtraEnv` value that allows
passing arbitrary extra environment variables to allow for advanced
configuration we may not want to keep as not for the faint of heart.

Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
nbelouin added 2 commits 2025-10-03 10:04:56 +02:00
metal3: Introduce TLS variables for ironic vmedia server
Some checks failed
Check Release Manifest Local Charts Versions / Check Release Manifest Local Charts Versions (pull_request) Successful in 8s
Build PR in OBS / Build PR in OBS (pull_request_target) Failing after 3h10m30s
67d2a5bdef
port of https://github.com/metal3-io/ironic-image/pull/759

Expose it in chart with a new `ironic.ironicExtraEnv` value that allows
passing arbitrary extra environment variables to allow for advanced
configuration we may not want to keep as not for the faint of heart.

Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
metal3: Introduce TLS variables for ironic vmedia server
All checks were successful
Check Release Manifest Local Charts Versions / Check Release Manifest Local Charts Versions (pull_request) Successful in -13s
Build PR in OBS / Build PR in OBS (pull_request_target) Successful in -19s
f60348562e
port of https://github.com/metal3-io/ironic-image/pull/759

Expose it in chart with a new `ironic.ironicExtraEnv` value that allows
passing arbitrary extra environment variables to allow for advanced
configuration we may not want to keep as not for the faint of heart.

Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
nbelouin changed title from WIP: metal3: Introduce TLS variables for ironic vmedia server to metal3: Introduce TLS variables for ironic vmedia server 2025-10-03 10:47:01 +02:00
nbelouin requested review from mchiappero 2025-10-03 10:47:23 +02:00
nbelouin requested review from steven.hardy 2025-10-03 10:47:23 +02:00
mchiappero approved these changes 2025-10-03 14:54:11 +02:00
mchiappero left a comment
Owner

I guess we need to remember to create some product documentation as well, similarly to the upstream README.

I guess we need to remember to create some product documentation as well, similarly to the upstream README.
steven.hardy reviewed 2025-10-06 10:25:33 +02:00
@@ -14,0 +20,4 @@
{% if "IRONIC_VMEDIA_CURVES" in env and env.IRONIC_VMEDIA_CURVES %}
SSLOpenSSLConfCmd Curves {{ env.IRONIC_VMEDIA_CURVES }}
{% endif %}
{% if env.IRONIC_VMEDIA_TLS_ENFORCE_SERVER_CIPHER_ORDER | lower == "true" %}
Owner

If this will be defined via ironicExtraEnv without any default for IRONIC_VMEDIA_TLS_ENFORCE_SERVER_CIPHER_ORDER I think we need to add if "IRONIC_VMEDIA_TLS_ENFORCE_SERVER_CIPHER_ORDER" in env similar to the previous conditionals?

If this will be defined via `ironicExtraEnv` without any default for `IRONIC_VMEDIA_TLS_ENFORCE_SERVER_CIPHER_ORDER` I think we need to add `if "IRONIC_VMEDIA_TLS_ENFORCE_SERVER_CIPHER_ORDER" in env` similar to the previous conditionals?
Author
Owner

I'd like to keep following upstream here, and it doesn't look like it is needed for this construction.

I'd like to keep following upstream here, and it doesn't look like it is needed for this construction.
Owner

Ok no problem, lets resolve this thread if you're confident we won't have any issue due to the potentially undefined key.

Ok no problem, lets resolve this thread if you're confident we won't have any issue due to the potentially undefined key.
steven.hardy marked this conversation as resolved
steven.hardy requested changes 2025-10-06 10:25:49 +02:00
Dismissed
steven.hardy left a comment
Owner

lgtm but one question/comment

lgtm but one question/comment
steven.hardy requested review from steven.hardy 2025-10-14 14:19:42 +02:00
steven.hardy approved these changes 2025-10-14 14:19:48 +02:00
nbelouin merged commit 69db0a0b16 into main 2025-10-14 15:04:33 +02:00
nbelouin deleted branch ironic-tls-cipher 2025-10-14 15:04:33 +02:00
Sign in to join this conversation.
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: suse-edge/Factory#281