kni/installer.git
5 years agoModify ssh key command generation 91/1191/1
Yolanda Robla [Mon, 15 Jul 2019 16:57:04 +0000 (18:57 +0200)]
Modify ssh key command generation

There was a problem with the current command and
the quotes, modify the way of generating it.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I21531e01c062ae1e46c93d50b7f7ef5bd9df5b49

5 years agoFix getting cluster_domain and changing dns 76/1176/1
Yolanda Robla [Fri, 12 Jul 2019 11:34:39 +0000 (13:34 +0200)]
Fix getting cluster_domain and changing dns

The parameter for cluster_domain was not being
propagated correctly, fixing it.
Also always overwriting the openshift.conf file
because right now, if domain was changed, it
was not updated properly.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I71d161846b63a11d76edf8b5386b19c63bdb4b44

5 years agoRemove comment on prerequisites 75/1175/1
Yolanda Robla [Fri, 12 Jul 2019 11:04:19 +0000 (13:04 +0200)]
Remove comment on prerequisites

This comes from a test by error and is preventing
the main tasks to be executed.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I07067eec395a651d0f57a45fac2629f28d3f6008

5 years agoInherit GOPATH from environment 74/1174/1
Yolanda Robla [Fri, 12 Jul 2019 09:47:27 +0000 (11:47 +0200)]
Inherit GOPATH from environment

We are setting some paths by default in GOPATH, but it
is important to inherit the ones from the environment,
to support all deployments.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I627f363d035e2da76e59e74e58d7822df0a39b81

5 years agoFix declared and not used variable 71/1171/1
Ricardo Noriega [Fri, 12 Jul 2019 08:57:00 +0000 (10:57 +0200)]
Fix declared and not used variable

Change-Id: Ic4715be4eadc13402eb6971b96f178ea5efbedda
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
5 years agoMerge "Update README.md to reflect the new workflow"
Ricardo Noriega [Thu, 11 Jul 2019 15:48:53 +0000 (15:48 +0000)]
Merge "Update README.md to reflect the new workflow"

5 years agoMerge "Parametrize prep_host to set cluster domain"
Yolanda Robla Mota [Thu, 11 Jul 2019 14:08:14 +0000 (14:08 +0000)]
Merge "Parametrize prep_host to set cluster domain"

5 years agoMerge "Add new command to run workloads"
Ricardo Noriega [Thu, 11 Jul 2019 14:00:49 +0000 (14:00 +0000)]
Merge "Add new command to run workloads"

5 years agoUpdate README.md to reflect the new workflow 66/1166/1
Yolanda Robla [Thu, 11 Jul 2019 13:42:04 +0000 (15:42 +0200)]
Update README.md to reflect the new workflow

The workflow for installing a cluster has changed
totally with the latest changes. So update README
file to reflect this, and the interaction with blueprints.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Iefab584c9637aca34c6c8931c3f4defd3c3f1d8b

5 years agoCreate profile.env to source on cluster creation 47/1147/3
Yolanda Robla [Tue, 9 Jul 2019 14:17:17 +0000 (16:17 +0200)]
Create profile.env to source on cluster creation

In order to run the cluster with the specific env
vars we are creating a profile.env file with some
fixed values (TF_VAR_libvirt_master_* vars) , and
one env var in case we want to override the release
image.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Ie2d90c613757c458a7b56b85cc31921fde96ac0c

5 years agoParametrize prep_host to set cluster domain 64/1164/1
Ricardo Noriega [Thu, 11 Jul 2019 10:20:45 +0000 (12:20 +0200)]
Parametrize prep_host to set cluster domain

Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: I99ca8c3fd3ec210a3e65bdc8eb450c7d63deb500

5 years agoAdd new command to run workloads 51/1151/5
Yolanda Robla [Tue, 9 Jul 2019 15:59:25 +0000 (17:59 +0200)]
Add new command to run workloads

This command will apply kustomize on the extra
workloads directories, and appy it with kubectl

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I41639c99602cae2962533db807be951f293d2451

5 years agoAdd prepare_manifests endpoint 24/1124/10
Yolanda Robla [Thu, 4 Jul 2019 16:03:12 +0000 (18:03 +0200)]
Add prepare_manifests endpoint

Added new command to prepare the manifests for the site. It
combines the original manifests declaration with the output of
kustomize for the site, to generate a complete set of manifests,
ready to be applied.

Change-Id: I911bee254ee05322f2e683ce24391acdbfd81c72
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
5 years agoMerge "Add site as a positional mandatory first argument"
Ricardo Noriega [Tue, 9 Jul 2019 13:42:10 +0000 (13:42 +0000)]
Merge "Add site as a positional mandatory first argument"

5 years agoAdd site as a positional mandatory first argument 44/1144/1
Yolanda Robla [Tue, 9 Jul 2019 11:44:29 +0000 (13:44 +0200)]
Add site as a positional mandatory first argument

As we are requiring site to be mandatory, let's skip
the --site flag and just accept it as a positional
argument.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I7f531f640bc4cb2f6a04152684e169b6d8558223

5 years agoFix building openshift-install binary 42/1142/1
Ricardo Noriega [Tue, 9 Jul 2019 10:28:42 +0000 (12:28 +0200)]
Fix building openshift-install binary

Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: I80d73fb4b346a2776bcaf6532c45c01ab807f90b

5 years agoUpdate dependencies for intaller 40/1140/1
Yolanda Robla [Tue, 9 Jul 2019 08:15:45 +0000 (10:15 +0200)]
Update dependencies for intaller

In order to keep dependencies up to date, a
dep ensure -update has been executed. This commit is
pushing the new generated dependencies.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Ib5fec89fe673c2033efe34f5277151c6a4f6fa1c

5 years agoAdd installation of plugins and publish as tarball 23/1123/2
Yolanda Robla [Thu, 4 Jul 2019 14:28:04 +0000 (16:28 +0200)]
Add installation of plugins and publish as tarball

Include a plugins folder for the SiteConfig kustomize plugin.
Also refactor make build to publish as a tarball, that will
include the plugins and utils folder.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I3fcc3e5acc190ab455c996e4ca2950fabe1bcd43

5 years agoAdd fetch requirements from site 17/1117/3
Yolanda Robla [Wed, 3 Jul 2019 15:30:21 +0000 (17:30 +0200)]
Add fetch requirements from site

This entrypoint will fetch requirements from a site, and
will store on $HOME/.kni/$SITE_NAME. It accepts a single
argument, the path/url to a site (in go-getter format)

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Id9025fa7d14e90a8f03ee07d1e550b48d0003ae6

5 years agoMerge "Remove images from knictl endpoint"
Ricardo Noriega [Tue, 2 Jul 2019 10:51:52 +0000 (10:51 +0000)]
Merge "Remove images from knictl endpoint"

5 years agoRemove images from knictl endpoint 03/1103/1
Yolanda Robla [Tue, 2 Jul 2019 09:47:20 +0000 (11:47 +0200)]
Remove images from knictl endpoint

This is not being used anymore, so remove the command
that generates it.

Change-Id: I3d7ecc53482ed9ef0cb164ab6f75ca7d409600f4

5 years agoChange bin name from kni-edge-installer to knictl 02/1102/1
Yolanda Robla [Tue, 2 Jul 2019 09:34:39 +0000 (11:34 +0200)]
Change bin name from kni-edge-installer to knictl

To avoid giving a false impression of our tooling being
another installer, rename it from kni-edge-installer to
knictl.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I81be6fdbf08d91665529f30f623fba595a70d2a6

5 years agoSet OCP installer version tmp file for CI purposes 99/1099/1
Ricardo Noriega [Mon, 1 Jul 2019 08:12:31 +0000 (10:12 +0200)]
Set OCP installer version tmp file for CI purposes

Change-Id: I16690e011bde908959cdacd70918d4c12ce103df
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
5 years agoFix prep_host.sh permissions 20/1020/1
Andrew Bays [Wed, 19 Jun 2019 14:26:18 +0000 (10:26 -0400)]
Fix prep_host.sh permissions

Change-Id: If4d37e168a009d369be5502d4fcae0738fb22a95

5 years agoIncrease memory of master nodes to 16gb 71/971/2 akraino_r1
Yolanda Robla [Tue, 11 Jun 2019 07:42:14 +0000 (09:42 +0200)]
Increase memory of master nodes to 16gb

Currently defaults to 11192mb, and it showed
some failures on masters, so increasing it.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I2c1a16b60810f508ec7de4bcda7088e43a79bf18

5 years agoFix make binary to place it on bin 44/944/2
Ricardo Noriega [Tue, 4 Jun 2019 16:18:36 +0000 (18:18 +0200)]
Fix make binary to place it on bin

  make binary places openshift-install binary on the same
  build path that gets cleaned up at deployment time. Now
  it will be located under bin.

Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: Ie4e3ad8218d8091f28c679b9eeeacbd2565bed7e

5 years agoMerge "Updated README to reflect the changes in installer"
Yolanda Robla Mota [Tue, 4 Jun 2019 09:01:55 +0000 (09:01 +0000)]
Merge "Updated README to reflect the changes in installer"

5 years agoUpdated README to reflect the changes in installer 38/938/1
Yolanda Robla [Tue, 4 Jun 2019 07:35:21 +0000 (09:35 +0200)]
Updated README to reflect the changes in installer

Links for the installer, secrets, etc.. have changed lately. Update
the documentation to reflect that.
Also remove the images section, that is not currently used.

Change-Id: I351134335b3b73efcfb36542e0785ccc357208d9

5 years agoFix sudos in prep host script 33/933/1
Ricardo Noriega [Mon, 3 Jun 2019 15:12:03 +0000 (17:12 +0200)]
Fix sudos in prep host script

Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: Ibaee056689ca33e0ea6b5d04f337f27113af1abb

5 years agoMerge "build system requirements"
Yolanda Robla Mota [Mon, 3 Jun 2019 12:19:38 +0000 (12:19 +0000)]
Merge "build system requirements"

5 years agobuild system requirements 60/860/3
ashok chandran [Tue, 28 May 2019 06:00:03 +0000 (06:00 +0000)]
build system requirements

Change-Id: I842828ab1e258f3a770045fc807c617027eb8ae0

5 years agoAdd Virtctl as dependency to manage Kubevirt VMs 66/866/2
Ricardo Noriega [Tue, 28 May 2019 11:13:31 +0000 (13:13 +0200)]
Add Virtctl as dependency to manage Kubevirt VMs

Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: I80b2620d8939bec13939a60d13ee7e9a5ef38cd7

5 years agoAdd new customizations folder for kustomize 57/857/1
Yolanda Robla [Mon, 27 May 2019 14:50:18 +0000 (16:50 +0200)]
Add new customizations folder for kustomize

Change-Id: I34a27c51741862a76fae11c7ec8f33332b440ea7

5 years agoChange permission execution to kustomize 46/846/1
Yolanda Robla [Sat, 25 May 2019 09:14:48 +0000 (11:14 +0200)]
Change permission execution to kustomize

Change-Id: I2bf3509c58ffe88e0425e96df8655dfe7c2bdc69

5 years agoAdd new endpoint to generate workloads 45/845/1
Yolanda Robla [Sat, 25 May 2019 07:29:09 +0000 (09:29 +0200)]
Add new endpoint to generate workloads

Change-Id: Iadce1486585781c68150943ba35f8fac90b90d37

5 years agoModify makefile to add workloads deployment 44/844/1
Yolanda Robla [Sat, 25 May 2019 06:24:26 +0000 (08:24 +0200)]
Modify makefile to add workloads deployment

Change-Id: Ie74506f3a9ba987d88c52d83e642881d12bb42c5

5 years agoModify installation of kustomize 33/833/1
Yolanda Robla [Fri, 24 May 2019 17:25:57 +0000 (19:25 +0200)]
Modify installation of kustomize

Download an already compiled kustomize version, to
pin to an stable release instead of latest.

Change-Id: I1afecb6aa35a0ef07cb7a7a8acefeceb029e3dcb

5 years agoAdd missing dot on wildcard resolution entry 27/827/1
Yolanda Robla [Fri, 24 May 2019 11:43:59 +0000 (13:43 +0200)]
Add missing dot on wildcard resolution entry

Change-Id: Id27a7c5dbf3453e2cf66008595776a69d034f9cb

5 years agoAdd oc as a dependency 23/823/1
Yolanda Robla [Fri, 24 May 2019 08:37:09 +0000 (10:37 +0200)]
Add oc as a dependency

It is going to be needed for deploying workloads

Change-Id: Ibbd68c718a3944f8468e6f3602d7ea94fac28513

5 years agoInstall kustomize as a dependency 20/820/1
Yolanda Robla [Fri, 24 May 2019 07:28:30 +0000 (09:28 +0200)]
Install kustomize as a dependency

Change-Id: Ie06ca0c4e9140bec116056ab3cac955768c6061b

5 years agoUpdate docs for Libvirt blueprints deployment 28/628/3
ericano [Tue, 7 May 2019 14:10:54 +0000 (16:10 +0200)]
Update docs for Libvirt blueprints deployment

Change-Id: I290b83aaca5f2a88f1e944d1162da6b1afd0cc4b
Signed-off-by: ericano <rnoriega@redhat.com>
5 years agoBash script to prepare host for Libvirt deploy 16/616/6
Ricardo Noriega [Fri, 3 May 2019 16:15:58 +0000 (18:15 +0200)]
Bash script to prepare host for Libvirt deploy

Change-Id: I9e82f17587500f13f87be35dacacff90eb930ee6
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
5 years agoModify Ingress manifest for Libvirt deployments 15/615/6
Ricardo [Fri, 3 May 2019 15:37:13 +0000 (17:37 +0200)]
Modify Ingress manifest for Libvirt deployments

  This is a temporary workaround

Change-Id: I3f9e4b4b666699224b0e73ea46b782c8911d95af
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Signed-off-by: Andrew Bays <abays@redhat.com>
6 years agoChange fedora-coreos-29 ISO file name 60/560/1
Andrew Bays [Tue, 16 Apr 2019 14:23:48 +0000 (10:23 -0400)]
Change fedora-coreos-29 ISO file name

Change-Id: I878a1d9b8fed882ff4f5efc7c5d8d629a3f834c9

6 years agoMerge "Add .gitreview for the project"
Yolanda Robla Mota [Wed, 10 Apr 2019 08:41:25 +0000 (08:41 +0000)]
Merge "Add .gitreview for the project"

6 years agoAdd .gitreview for the project 42/542/1
Ricardo Noriega [Tue, 9 Apr 2019 16:19:33 +0000 (18:19 +0200)]
Add .gitreview for the project

Change-Id: I2acafb0ce732267c9256ffd6e4ac54dd6b421e86
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
6 years agoBumping Openshift Installer version to v0.16.1 41/541/1
Ricardo Noriega [Tue, 9 Apr 2019 16:11:50 +0000 (18:11 +0200)]
Bumping Openshift Installer version to v0.16.1

Change-Id: I12495439b4d982bad7828792f85fc947de6d2d3d
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
6 years agoAdd comment about SSH for AWS 01/501/1
Yolanda Robla [Mon, 25 Mar 2019 07:42:02 +0000 (08:42 +0100)]
Add comment about SSH for AWS

Change-Id: Iabe1666951513b719cba2792cebfd9ee041cc2c8

6 years agoFix extraction of kernel from ISO 93/493/1
Frank A. Zdarsky [Tue, 19 Mar 2019 23:27:22 +0000 (00:27 +0100)]
Fix extraction of kernel from ISO

Extraction of vmlinuz and initramfs.img from ISO failed because
newer ISOs store those in /images instead of /. Fixed location.

Change-Id: I6ce246fa0a212b38d72e969d6f53ca2d6556e5dc

6 years agoAllow to specify the path for private key 84/484/1
Yolanda Robla [Mon, 18 Mar 2019 17:05:55 +0000 (18:05 +0100)]
Allow to specify the path for private key

Change-Id: I934f7326d53ca503f2b81deba58f54be986951bb

6 years agoAdd the ability of using local repos for secrets 83/483/2
Yolanda Robla [Mon, 18 Mar 2019 16:34:23 +0000 (17:34 +0100)]
Add the ability of using local repos for secrets

Change-Id: I03d968f6f23f46a3464957f713d1b35321c653a8

6 years agoMerge "Add step to download deployment image"
Yolanda Robla Mota [Mon, 18 Mar 2019 15:55:24 +0000 (15:55 +0000)]
Merge "Add step to download deployment image"

6 years agoFix bug in README 82/482/1
Yolanda Robla [Mon, 18 Mar 2019 15:20:11 +0000 (16:20 +0100)]
Fix bug in README

Change-Id: I63502dea9556aca9df3ac0112ad0adb0f84c3490

6 years agoAdd step to download deployment image 80/480/6
Yolanda Robla [Mon, 18 Mar 2019 09:21:59 +0000 (10:21 +0100)]
Add step to download deployment image

Change-Id: I8d2ec365c198dc8323e35d02e78c2f710ea746b9

6 years agoExport var for size of master in libvirt 70/470/2
Yolanda Robla [Thu, 14 Mar 2019 11:12:57 +0000 (12:12 +0100)]
Export var for size of master in libvirt

Change-Id: I26bbde45098ef888ec930403f398903e91fab823

6 years agoAdd command to build images 66/466/10
Yolanda Robla [Wed, 13 Mar 2019 12:39:59 +0000 (13:39 +0100)]
Add command to build images

Change-Id: I8a01b72c78555d4af899856637e1f49a940e36ad

6 years agoAdd changes in help to include site repo 65/465/1
Yolanda Robla [Wed, 13 Mar 2019 10:27:41 +0000 (11:27 +0100)]
Add changes in help to include site repo

Change-Id: I716ee76b5e2e2411f4b34289cfe25a7ae39ab50e

6 years agoAdd usage of SITE_REPO and akraino templates 62/462/1
Yolanda Robla [Tue, 12 Mar 2019 08:44:56 +0000 (09:44 +0100)]
Add usage of SITE_REPO and akraino templates

Change-Id: I1783293a8386fc8725ac5c67967f0418025a0e83

6 years agoAdd better assertions wheh constructing settings 60/460/1
Yolanda Robla [Mon, 11 Mar 2019 16:21:55 +0000 (17:21 +0100)]
Add better assertions wheh constructing settings

Change-Id: I3894788a7dd7e429ef1b57b13ebeeadbbe795cef

6 years agoRename imports due to move to gerrit 58/458/1
Yolanda Robla [Mon, 11 Mar 2019 11:41:59 +0000 (12:41 +0100)]
Rename imports due to move to gerrit

Change-Id: Ibbafb615b21c2f28aad52b179d136ec5663c35a5

6 years agoAdd initial import of KNI project 57/457/1
Yolanda Robla [Mon, 11 Mar 2019 11:25:55 +0000 (12:25 +0100)]
Add initial import of KNI project

Change-Id: I19a0d116069cefe867d7c51ea363920a57d83fa4

6 years agoInitial empty repository
Eric Ball [Thu, 7 Mar 2019 17:48:09 +0000 (17:48 +0000)]
Initial empty repository