fix(horizon): bump body size to 5G
Horizon actually buffers uploads through it for Swift which means
that it should be able to receive big body requests.
It's set to 5GB which is the default large file limit, anything
larger should probably use CLI or some other way.
diff --git a/roles/horizon/tasks/main.yml b/roles/horizon/tasks/main.yml
index d708713..5404637 100644
--- a/roles/horizon/tasks/main.yml
+++ b/roles/horizon/tasks/main.yml
@@ -51,4 +51,4 @@
openstack_helm_ingress_endpoint: dashboard
openstack_helm_ingress_service_name: horizon-int
openstack_helm_ingress_service_port: 80
- openstack_helm_ingress_annotations: "{{ horizon_ingress_annotations }}"
+ openstack_helm_ingress_annotations: "{{ _horizon_ingress_annotations | combine(horizon_ingress_annotations) }}"
diff --git a/roles/horizon/vars/main.yml b/roles/horizon/vars/main.yml
index 0812b1b..012a539 100644
--- a/roles/horizon/vars/main.yml
+++ b/roles/horizon/vars/main.yml
@@ -48,3 +48,7 @@
manifests:
ingress_api: false
service_ingress_api: false
+
+_horizon_ingress_annotations:
+ nginx.ingress.kubernetes.io/proxy-body-size: "5000m"
+ nginx.ingress.kubernetes.io/proxy-request-buffering: "off"