Skip to content

add the ability to mount OS_CACERT for self-signed APIs#104

Open
nschad wants to merge 2 commits intosyseleven:masterfrom
stackitcloud:custom-certificate
Open

add the ability to mount OS_CACERT for self-signed APIs#104
nschad wants to merge 2 commits intosyseleven:masterfrom
stackitcloud:custom-certificate

Conversation

@nschad
Copy link
Copy Markdown

@nschad nschad commented Aug 15, 2024

Why?

In case your keystone has self-signed Certificates, you will have to specify the custom CA via the OS_CACERT (its actually OPENSTACK_CA_FILE here) environment variable. The OS_CACERT for auth requires gophercloud v2

Additionally I also added the option to provide the Pod with extraVolumes & Mounts since OS_CACERT has to be filepath not the content of the certificate

Relevant gophercloud code: https://github.com/gophercloud/gophercloud/blob/5cb81d730a1e027aa5981edd23c7b1403411db40/openstack/config/clouds/tls.go#L15

@nschad nschad changed the title add the ability to specify OS_CACERT for self-signed APIs add the ability to mount OS_CACERT for self-signed APIs Sep 17, 2024
Signed-off-by: Niclas Schad <niclas.schad@stackit.cloud>
Signed-off-by: Niclas Schad <niclas.schad@stackit.cloud>
@MB175
Copy link
Copy Markdown

MB175 commented Apr 17, 2025

this feature would come in handy

@nschad
Copy link
Copy Markdown
Author

nschad commented Jul 26, 2025

Anyone here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants