Add support for <role>_ingress_class_name
Change-Id: I7b37dda12036e7a9e0ada33fdfe6d45511b0ee18
(cherry picked from commit c139abc1d338f923ab5d528460d2f4906b78e2e2)
diff --git a/roles/octavia/defaults/main.yml b/roles/octavia/defaults/main.yml
index e97c77b..e20df74 100644
--- a/roles/octavia/defaults/main.yml
+++ b/roles/octavia/defaults/main.yml
@@ -19,6 +19,9 @@
octavia_helm_release_namespace: openstack
octavia_helm_values: {}
+# Class name to use for the Ingress
+octavia_ingress_class_name: "{{ atmosphere_ingress_class_name }}"
+
# List of annotations to apply to the Ingress
octavia_ingress_annotations: {}
diff --git a/roles/octavia/tasks/main.yml b/roles/octavia/tasks/main.yml
index d48a53f..c02c0cc 100644
--- a/roles/octavia/tasks/main.yml
+++ b/roles/octavia/tasks/main.yml
@@ -138,3 +138,4 @@
openstack_helm_ingress_service_name: octavia-api
openstack_helm_ingress_service_port: 9876
openstack_helm_ingress_annotations: "{{ octavia_ingress_annotations }}"
+ openstack_helm_ingress_class_name: "{{ octavia_ingress_class_name }}"