chore: refactor to IngressNginxChartConfig
diff --git a/atmosphere/models/config.py b/atmosphere/models/config.py
index be20536..fc47715 100644
--- a/atmosphere/models/config.py
+++ b/atmosphere/models/config.py
@@ -92,12 +92,14 @@
images = types.ModelType(MemcachedImagesConfig, default=MemcachedImagesConfig())
-class IngressNginxConfig(ChartConfig):
+class IngressNginxChartConfig(ChartConfig):
pass
class Config(base.Model):
- ingress_nginx = types.ModelType(IngressNginxConfig, default=IngressNginxConfig())
+ ingress_nginx = types.ModelType(
+ IngressNginxChartConfig, default=IngressNginxChartConfig()
+ )
memcached = types.ModelType(
MemcachedChartConfig, default=MemcachedChartConfig(), required=True
)
diff --git a/atmosphere/tasks/composite/openstack_helm.py b/atmosphere/tasks/composite/openstack_helm.py
index 96d0446..56415ef 100644
--- a/atmosphere/tasks/composite/openstack_helm.py
+++ b/atmosphere/tasks/composite/openstack_helm.py
@@ -49,7 +49,7 @@
)
-def ingress_nginx_tasks_from_config(config: config.IngressNginxConfig):
+def ingress_nginx_tasks_from_config(config: config.IngressNginxChartConfig):
if not config.enabled:
return []