Fixing image typo 85/12585/1
authorMark Beierl <mark.beierl@canonical.com>
Wed, 12 Oct 2022 17:05:21 +0000 (13:05 -0400)
committerMark Beierl <mark.beierl@canonical.com>
Wed, 12 Oct 2022 17:05:21 +0000 (13:05 -0400)
With sidecar charms, the image overlay now needs to have
the name of the unit prepended to the image resource.

Change-Id: I4e503137f6d4167904a5654aa7811f84c4374315
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
installers/charmed_install.sh

index e7f63b0..dbd307e 100755 (executable)
@@ -397,7 +397,7 @@ EOF
         cat << EOF >> /tmp/images-overlay.yaml
   ${charm}:
     resources:
-      image: /tmp/${charm}_registry.yaml
+      ${charm}-image: /tmp/${charm}_registry.yaml
 
 EOF
     done