Comment 5 for bug 1852739

Revision history for this message
Nicolas Pochet (npochet) wrote :

The charm suggested by joeborg is working.
It is necessary to pull and save the image:
docker pull rocks.canonical.com:443/cdk/calico/node:v3.6.1
docker save rocks.canonical.com:443/cdk/calico/node:v3.6.1 | gzip > calico-node.tar.gz

And attach it as a resource:
  calico:
    charm: cs:~containers/calico
    options:
      cidr: *calico-cidr
      ipip: 'Always'
    resources:
      calico-node-image: '../images/calico-node.tar.gz'

On the deployment, it was also necessary to remove the calico application and re-apply the bundle.