Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] Expose TLS-related options of Openstack cloud config out of the box #977

Open
kovchynnykov opened this issue Jan 29, 2025 · 0 comments
Labels
enhancement Small feature, request or improvement suggestion

Comments

@kovchynnykov
Copy link

Description
It is quite common requirement for Openstack API endpoints to have TLS enabled. It is also quite common for this feature to have internal CA that issues certificates. In the case of self-signed certificates they are not globally trusted and client should either add certificate to the globally trusted ones, provide CA chain for certificate validation explicitly to the Openstack client or request skipping TLS verification.

The CAPI provider Openstack seems to support these options with:

  • ca-file
  • tls-insecure

See: https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/openstack-cloud-controller-manager/using-openstack-cloud-controller-manager.md#global

Currently one is able to set verify: False in cloud.conf when creating credentials and this option is properly processed by CAPO but is not propagated to the child cluster's openstack-cloud-config secret.

Expected behaviour
User can set relevant options in kcm and they are propagated to the child cluster.
for example:

  • a user can set verify: False in clouds.conf and it gets transformed into tls-insecure=true in the openstack-cloud-config on the child cluster (to be consumed later by openstack-cloud-controller-manager)
  • a user can pass CA chain to validate Openstack API certificate in any convenient manner and the relevant options are configured on the child k8s cluster.
@kovchynnykov kovchynnykov added the enhancement Small feature, request or improvement suggestion label Jan 29, 2025
@github-project-automation github-project-automation bot moved this to Todo in k0rdent Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Small feature, request or improvement suggestion
Projects
Status: Todo
Development

No branches or pull requests

1 participant