magnum: Disable CAPI driver when kubeconfig missing

Closes-Bug: #2047360
Change-Id: I73490d84da39a74ea7ac493c7dd41fe7bfe2f578
This commit is contained in:
Michal Nasiadka 2023-12-29 09:14:07 +01:00
parent 910ec9272c
commit 4879656058

View File

@ -151,3 +151,8 @@ trace_sqlalchemy = true
hmac_keys = {{ osprofiler_secret }}
connection_string = {{ osprofiler_backend_connection_string }}
{% endif %}
{% if magnum_kubeconfig_file_path is not defined %}
[drivers]
disabled_drivers = k8s_cluster_api_flatcar,k8s_cluster_api_ubuntu,k8s_cluster_api_ubuntu_focal
{% endif %}