Merge "Actually add db-drop to ironic chart"

This commit is contained in:
Zuul 2019-02-16 17:36:56 +00:00 committed by Gerrit Code Review
commit ba41c16d6f
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"