-
Notifications
You must be signed in to change notification settings - Fork 0
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
Configure django rest applications using environment variables #1
Closed
annashamray opened this issue
Feb 2, 2024
· 1 comment
· Fixed by open-zaak/open-zaak#1572, #2 or open-zaak/open-notificaties#131
Closed
Configure django rest applications using environment variables #1
annashamray opened this issue
Feb 2, 2024
· 1 comment
· Fixed by open-zaak/open-zaak#1572, #2 or open-zaak/open-notificaties#131
Comments
Example: export OPEN_ZAAK_DEFAULT_SELECTIELIJST_YEAR=2020
export OPEN_ZAAK_AUTH_APPLICATIONS=/volumes/auth.yaml
$ python src/manage.py setup_configuration --overwrite This will set the default selectielijst year to 2020 and will store/overwrite all applications with the permission in the yaml file. |
annashamray
added a commit
that referenced
this issue
Feb 9, 2024
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 15, 2024
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 15, 2024
…etup configuration
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 15, 2024
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 15, 2024
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 15, 2024
annashamray
added a commit
that referenced
this issue
Feb 20, 2024
annashamray
added a commit
that referenced
this issue
Feb 20, 2024
annashamray
added a commit
that referenced
this issue
Feb 21, 2024
annashamray
added a commit
that referenced
this issue
Feb 21, 2024
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 21, 2024
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 21, 2024
…etup configuration
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 21, 2024
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 21, 2024
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 21, 2024
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 23, 2024
…setup configuration
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 23, 2024
…setup configuration
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 23, 2024
…setup configuration
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 23, 2024
…setup configuration
annashamray
added a commit
that referenced
this issue
Feb 24, 2024
annashamray
added a commit
to open-zaak/open-zaak
that referenced
this issue
Feb 26, 2024
…into docker config
annashamray
added a commit
to open-zaak/open-notificaties
that referenced
this issue
Apr 2, 2024
annashamray
added a commit
to open-zaak/open-notificaties
that referenced
this issue
Apr 2, 2024
annashamray
added a commit
to maykinmedia/objecttypes-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objecttypes-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objecttypes-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objecttypes-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objecttypes-api
that referenced
this issue
Apr 22, 2024
… to INSTALLED_APPS
annashamray
added a commit
to maykinmedia/objecttypes-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objecttypes-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objecttypes-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objecttypes-api
that referenced
this issue
Apr 22, 2024
…pi for django-setup-configuration
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 22, 2024
…configurations step
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 22, 2024
…tion command and env vars
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 22, 2024
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 22, 2024
…tion command and env vars
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 22, 2024
…ith update_or_create in config steps
2 tasks
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 23, 2024
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 23, 2024
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 23, 2024
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 23, 2024
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 23, 2024
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 23, 2024
…tion command and env vars
annashamray
added a commit
to maykinmedia/objects-api
that referenced
this issue
Apr 23, 2024
…ith update_or_create in config steps
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Registration APIs (but not limited to these projects) should be configurable without manual actions in the Admin (following the configuration-as-code infrastructure principle). So the configuration using only environment variables is needed for the following APIs:
Tasklist
1st iteration
setup_configuration
, which would run through all the configuration steps, execute them and (optionally) self-test them. This management command should be run in non-interactive mode. It can be executed in k8s job or init container.overwrite
, which will replace the existing configuration - making the command viable for first-time setup or to enforce a specific configurationMIDDLEWARE
variableConfigurationStep
base class2nd iteration
zgw_consumers.Service
). The could be used to load data similar to django fixtures, but with a framework-agnostic format. Where relevant, the data in the YAML files should follow the shape/format as the API endpoints that disclose this information. The files can be mounted as files or configmaps (kubernetes) to provide them to the application container(s).Result / acceptance criteria
setup_configuration
command. The APIs should be able to interaction with each other and pass a smoke testRelated issues in other projects
The text was updated successfully, but these errors were encountered: