Actually add db-drop to ironic chart

while the job_db_drop was there it was missing both image, script
and limits.

Change-Id: I7fdb8fdd33cbe3c086299d7b71922ae889bc0a14
This commit is contained in:
Pavlo Shchelokovskyy 2019-02-13 18:35:39 +00:00
parent 7844ecec38
commit 163497a421
2 changed files with 14 additions and 0 deletions

View File

@ -36,6 +36,8 @@ data:
{{ tuple "bin/_retreive-cleaning-network.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
retreive-swift-config.sh: |
{{ tuple "bin/_retreive-swift-config.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
db-drop.py: |
{{- include "helm-toolkit.scripts.db_drop" . | indent 4 }}
db-init.py: |
{{- include "helm-toolkit.scripts.db_init" . | indent 4 }}
db-sync.sh: |

View File

@ -37,6 +37,7 @@ images:
ironic_retrive_swift_config: docker.io/openstackhelm/heat:ocata
# Bootstrap image requires curl
bootstrap: docker.io/openstackhelm/heat:ocata
db_drop: docker.io/openstackhelm/heat:ocata
db_init: docker.io/openstackhelm/heat:ocata
ironic_db_sync: docker.io/openstackhelm/ironic:ocata
ks_user: docker.io/openstackhelm/heat:ocata
@ -301,6 +302,10 @@ dependencies:
service: baremetal
- endpoint: internal
service: oslo_messaging
db_drop:
services:
- endpoint: internal
service: oslo_db
db_init:
services:
- endpoint: internal
@ -596,6 +601,13 @@ pod:
limits:
memory: "1024Mi"
cpu: "2000m"
db_drop:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "1024Mi"
cpu: "2000m"
db_init:
requests:
memory: "128Mi"