StarlingX Integration and packaging
Go to file
Robert Church 98aa0d5f2b Enable helm repository and chart upload tool
There's a lot going on here but conceptually we're just enabling a
local helm repo along with a helper script to install helm charts into
the repo.

The first item is to configure lighttpd to serve up helm charts as
static information (so no proxying) at http://127.0.0.1/helm_charts".
This is fairly straightforward, but the files are served out of
/www which isn't a replicated filesystem and which is owned by the www
user.

The helm puppet manifest is modified to create the "helm_charts"
directory for the webserver, to generate the initial index file,
and to tell helm to add the new repo for the "wrsroot" user.  The
various commands are run as specific users with specific environment
variables, this is key to making everything work as planned.

To allow the wrsroot user to upload charts into /www the helm-upload
script will re-run itself as the www user.  /etc/sudoers.d is modified
to allow this without asking for a password.  The upload script will
copy the specified charts in to /www/pages/helm_charts, and will then
regenerate the index.yaml file. The upload script will then try to
sync the files over to the other node.  To enable this without
prompting for a password we modify /etc/rsyncd.conf to allow
passwordless syncing into /www/helm_charts.

In a future commit we'll need to sync charts with the other
controller when booting up, and also configure the local starlingx
helm repo on the second controller.

Change-Id: I86a7795decb7833cb22c04e34e298c8d24ed7fa3
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
Story: 2002876
Task: 22831
Depends-On: https://review.openstack.org/596802
2018-08-27 13:25:56 -04:00
base Enable helm repository and chart upload tool 2018-08-27 13:25:56 -04:00
ceph Correct typo: caph should be ceph 2018-08-13 13:08:38 -04:00
config Fix controller swact error caused by drbd resizing 2018-08-15 17:31:26 -04:00
config-files/io-scheduler/centos Relocate io-scheduler to stx-integ/config-files/io-scheduler 2018-08-01 12:23:51 -04:00
database Relocate python-psycopg2 to stx-integ/database/python-psycopg2 2018-08-01 15:38:27 -04:00
filesystem Relocate parted to stx-integ/filesystem/parted 2018-08-01 15:39:30 -04:00
grub Uprev grub2 package to 0.64 2018-08-01 15:39:52 -04:00
kernel Kernel can no longer build in 10GB tmpfs 2018-08-24 12:24:34 -04:00
kubernetes Enable helm repository and chart upload tool 2018-08-27 13:25:56 -04:00
ldap Multi-Region: Support shared LDAP service 2018-08-01 15:31:55 -04:00
logging Protect against unintended log deletions in logmgmt 2018-08-01 12:18:51 -04:00
monitoring Remove the duplicated word 2018-08-17 15:34:51 +08:00
networking fix: make libibverbs have newer version to match with mlnx-ofa_kernel 2018-08-17 09:36:52 +08:00
python Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
restapi-doc Merge "Added 'capabilities' attribute to restapi documentation" 2018-08-24 19:01:45 +00:00
security Relocate python-keyring to stx-integ/security/python-keyring 2018-08-01 15:39:40 -04:00
strorage-drivers Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
tools Further enhancement of API stats collection 2018-08-21 15:43:04 -04:00
utilities Update PLATFORM_RELEASE to 18.08 2018-08-01 16:07:33 -04:00
virt Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
.gitignore Add default test framework 2018-06-11 13:45:22 -05:00
.gitreview Add .gitreview 2018-05-31 07:36:35 -07:00
.zuul.yaml Remove non-voting gate job 2018-06-29 14:31:17 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:36:35 -07:00
centos_guest_image.inc Split image.inc across git repos 2018-08-15 16:45:36 -04:00
centos_guest_image_rt.inc Split image.inc across git repos 2018-08-15 16:45:36 -04:00
centos_iso_image.inc Split image.inc across git repos 2018-08-15 16:45:36 -04:00
centos_pkg_dirs Move content from stx-upstream to stx-integ 2018-08-13 13:47:43 -04:00
centos_pkg_dirs_installer Relocate anaconda to stx-integ/base/anaconda 2018-08-01 15:37:12 -04:00
centos_pkg_dirs_rt Relocate drbd to stx-integ/kernel/kernel-modules/drbd 2018-08-01 15:31:44 -04:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini Add default test framework 2018-06-11 13:45:22 -05:00

README.rst

stx-integ

StarlingX Integration