[stable/zed] Sync uWSGI placement changes (#1171)
This is an automated cherry-pick of #1140
/assign mnaser
diff --git a/charts/placement/templates/configmap-etc.yaml b/charts/placement/templates/configmap-etc.yaml
index e34b2c6..efd6516 100644
--- a/charts/placement/templates/configmap-etc.yaml
+++ b/charts/placement/templates/configmap-etc.yaml
@@ -73,5 +73,8 @@
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
placement.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.placement | b64enc }}
placement-api-uwsgi.ini: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.placement_api_uwsgi | b64enc }}
+{{- if .Values.manifests.certificates }}
+{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.wsgi_placement "key" "wsgi-placement.conf" "format" "Secret" ) | indent 2 }}
+{{- end }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
{{- end }}
diff --git a/charts/placement/values.yaml b/charts/placement/values.yaml
index c575267..0f27a24 100644
--- a/charts/placement/values.yaml
+++ b/charts/placement/values.yaml
@@ -138,7 +138,7 @@
datefmt: "%Y-%m-%d %H:%M:%S"
placement_api_uwsgi:
uwsgi:
- processes: 4
+ processes: 1
add-header: "Connection: close"
buffer-size: 65535
chunked-input-limit: "4096000"
@@ -158,7 +158,6 @@
thunder-lock: true
worker-reload-mercy: 80
wsgi-file: /var/lib/openstack/bin/placement-api
-
endpoints:
cluster_domain_suffix: cluster.local
local_image_registry: