helm-toolkit dependency resolver may generate incorrect dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-helm-infra |
New
|
Undecided
|
Phil Sphicas |
Bug Description
When multiple resources in a chart have targeted and static dependencies, the dependencies from one resource may be applied to the other resources, instead of the intended static dependencies.
This is best seen by example. In the openstack-
ovs_agent:
jobs:
- neutron-rabbit-init
pod:
- requireSameNode: true
labels:
- requireSameNode: true
labels:
services:
- endpoint: internal
service: oslo_messaging
- endpoint: internal
service: network
However, the rendered output gives this, which actually corresponds to the static dependencies of neutron server:
- name: DEPENDENCY_SERVICE
value: default:
- name: DEPENDENCY_JOBS
value: neutron-
- name: DEPENDENCY_
value: ""
- name: DEPENDENCY_
value: ""
- name: DEPENDENCY_POD_JSON
value: ""
- name: DEPENDENCY_
value: ""
Changed in openstack-helm-infra: | |
assignee: | nobody → Phil Sphicas (ps3910) |