Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uwsgi.ini extra config #97

Open
plesoun-stein opened this issue Feb 1, 2024 · 0 comments
Open

uwsgi.ini extra config #97

plesoun-stein opened this issue Feb 1, 2024 · 0 comments

Comments

@plesoun-stein
Copy link

plesoun-stein commented Feb 1, 2024

uwsgi.ini extra config

config map for uwsgi.ini is static file.
it may be helpfull to append extra config (yes, we need it)

solution, two parts

  1. add configuiration uwsgi_extra_config in .Values.invenio
  2. append range object to uwsgi-configmap.yaml

append range object to uwsgi-configmap.yaml

    {{- range $key, $val := .Values.invenio.uwsgi_extra_config }}
    {{ $key }} = {{ $val }}
    {{- end -}}

configuration section

add configuration section uwsgi_extra_config in .Values.invenio
for example:

invenio:
  uwsgi_extra_config:
    virtualenv: /invenio/venv
    uid: invenio

by default, it shold bew empty dict.

invenio:
  uwsgi_extra_config:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant