Skip to content

Commit

Permalink
use cluster.labels
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser committed Mar 27, 2024
1 parent 9f6a43f commit 04dffc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magnum_cluster_api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def generate_cloud_controller_manager_config(
tls-insecure={"false" if CONF.drivers.verify_ca else "true"}
{"ca-file=/etc/config/ca.crt" if get_cloud_ca_cert() else ""}
[LoadBalancer]
lb-provider={get_cluster_label(cluster, "octavia_provider", "amphora")}
lb-provider={cluster.labels.get("octavia_provider", "amphora")}
"""
)

Expand Down

0 comments on commit 04dffc0

Please sign in to comment.