Overriding optional bosh link consumers in the deployment manifest doesn't seem to work
The docs at https://bosh.io/docs/links/#explicit state:
Optional consumers may be specified as nil in the deployment manifest to block consumption of any providers.
In kubecf we have done this to disable link resolution for postgres for the credhub instance group. Looking at desired-manifest-v1 shows:
jobs:
- consumes:
postgres: null
name: credhub
However, ig-resolved.credhub-v1 still references the autoscaler database:
quarks:
consumes:
postgres:
address: asdatabase
We've ultimately worked around this with an ig_resolver patch, modifying the job.MF of the credhub job, but I think the explicit link resolution should have worked as well.
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/176045869
The labels on this github issue will be updated when the story is started.
Ping @manno in case you missed this. I see that the Pivotal Tracker issue was not scheduled yet.