Closed camille-rodriguez closed 4 years ago
This is a Juju issue rather than a framework one (the message from the ModelError
is coming from the pod-spec-set
hook tool) and should probably be moved there.
True, I've posted it here https://bugs.launchpad.net/juju/+bug/1896076 and will close this bug.
Hi,
I need to deploy more than one role for an application. The manifest I am trying to implement in the charm is this one https://raw.githubusercontent.com/metallb/metallb/v0.9.3/manifests/metallb.yaml, where you can find the role "config-watcher", "pod-lister", in addition to the ClusterRoles for the controller.
I attempted at doing so in the pod_spec with this :
But turns out that it is impossible to set more than one role in a pod_spec. See traceback below.
Is there a strategy to be able to do this with the framework? Or should I bypass the pod_spec and use the k8s API instead?