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.
The charm suggested by joeborg is working. .com:443/ cdk/calico/ node:v3. 6.1 .com:443/ cdk/calico/ node:v3. 6.1 | gzip > calico-node.tar.gz
It is necessary to pull and save the image:
docker pull rocks.canonical
docker save rocks.canonical
And attach it as a resource: calico node-image: '../images/ calico- node.tar. gz'
calico:
charm: cs:~containers/
options:
cidr: *calico-cidr
ipip: 'Always'
resources:
calico-
On the deployment, it was also necessary to remove the calico application and re-apply the bundle.