Pull Armada image in the same step as Tiller

Update helm puppet manifest to pull Armada image in the same
step as Tiller so it is available before running system
application commands. Ensure that Armada-Tiller compatibility test
is conducted if and when Tiller is upversioned.

Tests conducted:
  - fresh install + config controller (AIOSX)
  - verify armada image is in local docker repo
  - verify much more speedy application upload (initial upload)

Change-Id: Ibae3043f52ded8f038066746e0b77edf9ace0388
Story: 2003908
Task: 26792
Signed-off-by: Tee Ngo <Tee.Ngo@windriver.com>
This commit is contained in:
Tee Ngo 2018-11-22 09:42:36 -05:00
parent 54fdc72026
commit 64ec47799f

View File

@ -14,6 +14,12 @@ class platform::helm
logoutput => true,
} ->
# TODO(tngo): If and when tiller image is upversioned, please ensure armada compatibility as part of the test
exec { "load armada docker image":
command => "docker image pull quay.io/airshipit/armada:f807c3a1ec727c883c772ffc618f084d960ed5c9",
logoutput => true,
} ->
exec { "create service account for tiller":
command => "kubectl --kubeconfig=/etc/kubernetes/admin.conf create serviceaccount --namespace kube-system tiller",
logoutput => true,