bcgov / bcgov/wps

Move migrations to an init container

Open
#2,739 0 comments 0 reactions 1 assignee Claimed by @brettedw View on GitHub
Task
Dominant language
Python
Stars
65
Forks
11
Avg merge
1d 2h
Merged PRs (30d)
70

Description

**Describe the task**
Right now it's part of API startup.

**Acceptance Criteria**
- [ ] Migrations run in an init container instead of API startup

**Additional context**
- https://docs.openshift.com/container-platform/4.12/nodes/containers/nodes-containers-init.html
- Similar to tileserver: https://github.com/bcgov/wps/blob/fdd44ad905150a34091032a587524bfbb5dac23e/openshift/templates/tileserv/tileserv.yaml#L129

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.