Fix: Update arch and flavor in helm template 02/128802/1
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 22 Apr 2022 23:02:23 +0000 (09:02 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 22 Apr 2022 23:08:09 +0000 (09:08 +1000)
When you list images arch shows up empty.
Use V3 flavor instead of V1.

Issue-ID: CIMAN-33
Change-Id: I31bd7fd66ef4507d1aedcb6af0ad8a1fbff11a1d
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
packer/templates/helm.json

index 9568c01..cdf752a 100644 (file)
@@ -1,6 +1,7 @@
 {
   "variables": {
     "ansible_roles_path": ".galaxy",
+    "arch": "x86_64",
     "base_image": null,
     "distro": null,
     "cloud_auth_url": null,
@@ -9,6 +10,7 @@
     "cloud_network": null,
     "cloud_tenant": null,
     "cloud_user_data": null,
+    "flavor": "v3-standard-2",
     "ssh_user": null,
     "ssh_proxy_host": ""
   },
@@ -31,7 +33,7 @@
       "user_data_file": "{{user `cloud_user_data`}}",
       "ssh_username": "{{user `ssh_user`}}",
       "ssh_proxy_host": "{{user `ssh_proxy_host`}}",
-      "flavor": "v1-standard-1",
+      "flavor": "{{user `flavor`}}",
       "metadata": {
         "ci_managed": "yes"
       }