6 Commits

Author SHA1 Message Date
Wolfgang Huß
13c70903e1 Change docker repository to develop-backend
- nitro-backend  —>  develop-backend
2020-10-28 10:59:36 +01:00
mattwr18
4cbe8a2c5a Update deployments following Helm best practices
- image is set configurable and set to the app version for version
  control
- imagePullPolicy revert earlier changes to flatten hierarchy since helm
  create uses .Values.image.pullPolicy
- update imagePullPolicy to IfNotPresent since this is the default with
  helm create and fits with our strategy as well.
- Source, https://helm.sh/docs/topics/chart_best_practices/pods/
2020-01-30 17:39:13 +01:00
mattwr18
7472a0bc72 Add labels following Helm best practices
- There are 4 recommended labels, and one optional that were added.
- Source, https://helm.sh/docs/topics/chart_best_practices/labels/
2020-01-30 17:20:15 +01:00
mattwr18
2e6dfbbd42 Refactor values.yaml following Helm best practices
- Variables should use camel case.
- Favor flat hierarchy over nested.
- "Every defined property in values.yaml should be documented. The
  documentation string should begin with the name of the property it
describes, and then give at least a one-sentence description."
- Source, https://helm.sh/docs/topics/chart_best_practices/values/
2020-01-30 16:37:12 +01:00
mattwr18
c3548e5d8d Add db-migrations-job, not working yet 2020-01-30 15:50:51 +01:00
mattwr18
a74abbb053 Reorganize helm charts, add lifecycle hooks
- remove namespace, since it's best practice to use the cli to add it,
  @roschaefer points out
- organize templates into directories
- migrations should be ran after the backend has started...
- should init really be ran every time??
2020-01-29 20:39:47 +01:00