From 59dab63da127d230dc57f16e32db2d5c437ad975 Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Sat, 8 Dec 2018 14:16:06 -0500 Subject: [PATCH] Temporarily force the installer to be part of the payload It should instead be referenced by another component, but include it here until we can identify what that is. This gives us installer reproducibility for hive. --- pkg/oc/cli/admin/release/new.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/oc/cli/admin/release/new.go b/pkg/oc/cli/admin/release/new.go index e6bc57d85bff..dcfffbade015 100644 --- a/pkg/oc/cli/admin/release/new.go +++ b/pkg/oc/cli/admin/release/new.go @@ -42,7 +42,10 @@ func NewNewOptions(streams genericclioptions.IOStreams) *NewOptions { return &NewOptions{ IOStreams: streams, MaxPerRegistry: 4, - AlwaysInclude: []string{"cluster-version-operator", "cli"}, + // TODO: only cluster-version-operator and maybe CLI should be in this list, + // the others should always be referenced by the cluster-bootstrap or + // another operator. + AlwaysInclude: []string{"cluster-version-operator", "cli", "installer"}, ToImageBaseTag: "cluster-version-operator", } }