Juju doesn't allow empty custom resources list

Bug #1900475 reported by Kenneth Koski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth

Bug Description

I would like to have a pod spec that includes a customResources section that looks similar to this:

    'customResources: {
        'foo.bar.io': [
            {...}
            for relation in endpoint.get_config()
        ]
    }

In other words, the charm in question may be related to 0+ other charms, and it should create a particular customResource for each relation. The issue is that I can't have an empty list there:

    ERROR empty custom resources "foo.bar.io" not valid

Tags: bitesize
Pen Gale (pengale)
Changed in juju:
status: New → Triaged
milestone: none → 2.8.7
importance: Undecided → High
tags: added: bitesize
Ian Booth (wallyworld)
Changed in juju:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Revision history for this message
Ian Booth (wallyworld) wrote :
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.