no way to declare a k8s charm with metadata v2 that doesn't need a workload container

Bug #1928991 reported by John A Meinel
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Achilleas Anagnostopoulos

Bug Description

The intent is to add syntax in metadata for "assumes:" that can let us declare that a given charm is still valid for Kubernetes even though it isn't using charms.

Revision history for this message
Tom Haddon (mthaddon) wrote :

This will be needed for the nginx-ingress-integrator charm, fwiw.

Changed in juju:
assignee: nobody → Achilleas Anagnostopoulos (achilleasa)
Changed in juju:
status: Triaged → In Progress
Changed in juju:
milestone: 2.9.5 → 2.9.6
Changed in juju:
milestone: 2.9.6 → 2.9.7
Changed in juju:
status: In Progress → Triaged
assignee: Achilleas Anagnostopoulos (achilleasa) → nobody
Changed in juju:
milestone: 2.9.7 → 2.9.8
Changed in juju:
milestone: 2.9.8 → 2.9.9
Changed in juju:
milestone: 2.9.9 → 2.9.10
Changed in juju:
milestone: 2.9.10 → 2.9.11
Changed in juju:
milestone: 2.9.11 → 2.9.12
Changed in juju:
milestone: 2.9.12 → 2.9.13
Changed in juju:
milestone: 2.9.13 → 2.9.14
Changed in juju:
milestone: 2.9.14 → 2.9.15
Changed in juju:
milestone: 2.9.15 → 2.9.16
Changed in juju:
milestone: 2.9.16 → 2.9.17
John A Meinel (jameinel)
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Achilleas Anagnostopoulos (achilleasa)
milestone: 2.9.17 → 2.9-next
Revision history for this message
Achilleas Anagnostopoulos (achilleasa) wrote :

PR https://github.com/juju/juju/pull/13442 will allow such charms to be deployed.

Revision history for this message
Achilleas Anagnostopoulos (achilleasa) wrote :

Note that the PR mentioned above does not actually fix the problem. It simply removes the (client-side) checks that prevent such charms from being deployed. The correct solution is for charm authors to explicitly reference the feature their charm requires in the "assumes" section of the charm metadata.

Changed in juju:
milestone: 2.9-next → 2.9.18
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
Revision history for this message
Andrew Scribner (ca-scribner) wrote :

Is the "assumes" section planned out somewhere? It sounds like something we've (kubeflow) discussed before as a nice to have and I'm curious if we're thinking of the same thing

Revision history for this message
Achilleas Anagnostopoulos (achilleasa) wrote :
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.