integ/base
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
..
anaconda/centos Fix anaconda host IP caching to handle port number in URL 2018-08-01 15:37:15 -04:00
bash bash: remove parallelization patch 2018-08-08 09:21:00 -07:00
centos-release StarlingX open source release updates 2018-05-31 07:36:35 -07:00
cgcs-users Fix malformed patch on cgcs-users/ibsh 2018-08-01 15:31:54 -04:00
cluster-resource-agents Enable background of arp calls in OCF ip scripts 2018-08-01 15:31:54 -04:00
crontabs/centos Relocate crontabs to stx-integ/base/crontabs 2018-08-01 15:38:37 -04:00
dhcp Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
dnsmasq Relocate dnsmasq to stx-integ/base/dnsmasq 2018-08-01 15:39:09 -04:00
dpkg Relocate dpkg to stx-integ/base/dpkg 2018-08-01 15:31:54 -04:00
haproxy Relocate haproxy to stx-integ/base/haproxy 2018-08-01 15:31:54 -04:00
initscripts Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
libevent Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
libfdt Relocate libfdt to stx-integ/base/libfdt 2018-08-01 15:31:54 -04:00
lighttpd Add ipv6 support in default lighttpd configuration 2018-08-20 16:52:44 +00:00
lshell Shorten "addons/wr-cgcs/layers/cgcs" to just "stx" 2018-07-04 10:46:49 -04:00
memcached/centos Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
net-snmp Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
netpbm/centos Relocate netpbm to stx-integ/base/netpbm 2018-08-01 15:31:54 -04:00
novnc/centos Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
ntp Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
openssh Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
pam Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
procps/files Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
rpm fix rpm broken library link that caused runtime error 2018-08-01 15:31:54 -04:00
rsync Enable helm repository and chart upload tool 2018-08-27 13:25:56 -04:00
sanlock/centos Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
setup Integrate gnocchi for OpenStack Telemetry 2018-07-31 08:59:40 -04:00
shadow-utils Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
sudo Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
systemd/centos Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
util-linux/centos Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
vim Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
watchdog Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00