openvswitch: add vswitchd dependency on db

The openvswitch-vswitchd pod should not start until there is a Ready
openvswitch-vswitchd-db pod on the same node. This change adds the
appropriate dependency to cause it to wait.

Change-Id: I5c827971c99639d2f1c3a24a1761524b3a165421
This commit is contained in:
Sphicas, Phil (ps3910) 2019-10-24 10:41:46 -07:00
parent 24c1cd4514
commit e4538f714a

View File

@ -174,7 +174,12 @@ dependencies:
service: local_image_registry
static:
db: null
vswitchd: null
vswitchd:
pod:
- requireSameNode: true
labels:
application: openvswitch
component: openvswitch-vswitchd-db
image_repo_sync:
services:
- endpoint: internal