[feat] adding sequenced deployments
* added new structure to the armada yaml
This commit is contained in:
parent
51358bd50b
commit
55c3a0fa8f
|
@ -62,8 +62,8 @@ The installation is fairly straight forward:
|
||||||
|
|
||||||
Recomended Enviroment: Ubuntu 16.04
|
Recomended Enviroment: Ubuntu 16.04
|
||||||
|
|
||||||
Installing Dependecies:
|
Installing Dependecies
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
you can run:
|
you can run:
|
||||||
|
|
||||||
|
@ -72,8 +72,8 @@ you can run:
|
||||||
|
|
||||||
NOTE: If you want to use virtualenv please refer to `pygit2`_
|
NOTE: If you want to use virtualenv please refer to `pygit2`_
|
||||||
|
|
||||||
Installing armada:
|
Installing armada
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
``sudo pip install -e .``
|
``sudo pip install -e .``
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,8 @@ class Armada(object):
|
||||||
return chart, values
|
return chart, values
|
||||||
|
|
||||||
def pre_flight_checks(self):
|
def pre_flight_checks(self):
|
||||||
for ch in self.config['armada']['charts']:
|
for group in self.config.get('armada').get('charts'):
|
||||||
|
for ch in group.get('chart_group'):
|
||||||
location = ch.get('chart').get('source').get('location')
|
location = ch.get('chart').get('source').get('location')
|
||||||
ct_type = ch.get('chart').get('source').get('type')
|
ct_type = ch.get('chart').get('source').get('type')
|
||||||
|
|
||||||
|
@ -93,6 +94,8 @@ class Armada(object):
|
||||||
Syncronize Helm with the Armada Config(s)
|
Syncronize Helm with the Armada Config(s)
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
# TODO: (gardlt) we need to break up this func into
|
||||||
|
# a more cleaner format
|
||||||
# extract known charts on tiller right now
|
# extract known charts on tiller right now
|
||||||
if not self.skip_pre_flight:
|
if not self.skip_pre_flight:
|
||||||
LOG.info("Performing Pre-Flight Checks")
|
LOG.info("Performing Pre-Flight Checks")
|
||||||
|
@ -109,10 +112,20 @@ class Armada(object):
|
||||||
|
|
||||||
for entry in self.config['armada']['charts']:
|
for entry in self.config['armada']['charts']:
|
||||||
|
|
||||||
chart = dotify(entry['chart'])
|
desc = entry.get('description', 'A Chart Group')
|
||||||
values = entry.get('chart').get('values', {})
|
chart_group = entry.get('chart_group', [])
|
||||||
|
|
||||||
|
if entry.get('sequenced', False):
|
||||||
|
self.wait = True
|
||||||
|
|
||||||
|
LOG.info('Deploying: %s', desc)
|
||||||
|
|
||||||
|
for gchart in chart_group:
|
||||||
|
chart = dotify(gchart['chart'])
|
||||||
|
values = gchart.get('chart').get('values', {})
|
||||||
pre_actions = {}
|
pre_actions = {}
|
||||||
post_actions = {}
|
post_actions = {}
|
||||||
|
LOG.info('%s', chart.release_name)
|
||||||
|
|
||||||
if chart.release_name is None:
|
if chart.release_name is None:
|
||||||
continue
|
continue
|
||||||
|
@ -120,34 +133,32 @@ class Armada(object):
|
||||||
# retrieve appropriate timeout value if 'wait' is specified
|
# retrieve appropriate timeout value if 'wait' is specified
|
||||||
chart_timeout = None
|
chart_timeout = None
|
||||||
if self.wait:
|
if self.wait:
|
||||||
if self.timeout:
|
if getattr(chart, 'timeout', None):
|
||||||
chart_timeout = self.timeout
|
|
||||||
elif getattr(chart, 'timeout', None):
|
|
||||||
chart_timeout = chart.timeout
|
chart_timeout = chart.timeout
|
||||||
|
else:
|
||||||
|
chart_timeout = self.timeout
|
||||||
|
|
||||||
# initialize helm chart and request a
|
|
||||||
# protoc helm chart object which will
|
|
||||||
# pull the sources down and walk the
|
|
||||||
# dependencies
|
|
||||||
chartbuilder = ChartBuilder(chart)
|
chartbuilder = ChartBuilder(chart)
|
||||||
protoc_chart = chartbuilder.get_helm_chart()
|
protoc_chart = chartbuilder.get_helm_chart()
|
||||||
|
|
||||||
# determine install or upgrade by examining known releases
|
# determine install or upgrade by examining known releases
|
||||||
LOG.debug("RELEASE: %s", chart.release_name)
|
LOG.debug("RELEASE: %s", chart.release_name)
|
||||||
|
deployed_releases = [x[0] for x in known_releases]
|
||||||
|
prefix_chart = release_prefix(prefix, chart.release_name)
|
||||||
|
|
||||||
if release_prefix(prefix, chart.release_name) in [x[0]
|
if prefix_chart in deployed_releases:
|
||||||
for x in
|
|
||||||
known_releases]:
|
|
||||||
|
|
||||||
# indicate to the end user what path we are taking
|
# indicate to the end user what path we are taking
|
||||||
LOG.info("Upgrading release %s", chart.release_name)
|
LOG.info("Upgrading release %s", chart.release_name)
|
||||||
# extract the installed chart and installed values from the
|
# extract the installed chart and installed values from the
|
||||||
# latest release so we can compare to the intended state
|
# latest release so we can compare to the intended state
|
||||||
installed_chart, installed_values = self.find_release_chart(
|
LOG.info("Checking Pre/Post Actions")
|
||||||
known_releases, release_prefix(prefix, chart.release_name))
|
apply_chart, apply_values = self.find_release_chart(
|
||||||
|
known_releases, prefix_chart)
|
||||||
|
|
||||||
LOG.info("Checking Pre/Post Actions")
|
LOG.info("Checking Pre/Post Actions")
|
||||||
upgrade = entry.get('chart', {}).get('upgrade', False)
|
upgrade = gchart.get('chart', {}).get('upgrade', False)
|
||||||
|
|
||||||
if upgrade:
|
if upgrade:
|
||||||
if not self.disable_update_pre and upgrade.get('pre',
|
if not self.disable_update_pre and upgrade.get('pre',
|
||||||
False):
|
False):
|
||||||
|
@ -155,15 +166,15 @@ class Armada(object):
|
||||||
|
|
||||||
if not self.disable_update_post and upgrade.get('post',
|
if not self.disable_update_post and upgrade.get('post',
|
||||||
False):
|
False):
|
||||||
LOG.info("Checking Post Actions")
|
|
||||||
post_actions = getattr(chart.upgrade, 'post', {})
|
post_actions = getattr(chart.upgrade, 'post', {})
|
||||||
|
|
||||||
# show delta for both the chart templates and the chart values
|
# show delta for both the chart templates and the chart
|
||||||
|
# values
|
||||||
# TODO(alanmeadows) account for .files differences
|
# TODO(alanmeadows) account for .files differences
|
||||||
# once we support those
|
# once we support those
|
||||||
|
|
||||||
upgrade_diff = self.show_diff(chart, installed_chart,
|
upgrade_diff = self.show_diff(chart, apply_chart,
|
||||||
installed_values,
|
apply_values,
|
||||||
chartbuilder.dump(), values)
|
chartbuilder.dump(), values)
|
||||||
|
|
||||||
if not upgrade_diff:
|
if not upgrade_diff:
|
||||||
|
|
|
@ -10,13 +10,12 @@ from armada.handlers.armada import Armada
|
||||||
|
|
||||||
class ArmadaTestCase(unittest.TestCase):
|
class ArmadaTestCase(unittest.TestCase):
|
||||||
test_yaml = """
|
test_yaml = """
|
||||||
endpoints: &endpoints
|
|
||||||
hello-world:
|
|
||||||
this: is an example
|
|
||||||
|
|
||||||
armada:
|
armada:
|
||||||
release_prefix: armada
|
release_prefix: armada
|
||||||
charts:
|
charts:
|
||||||
|
- description: this is a test
|
||||||
|
sequenced: False
|
||||||
|
chart_group:
|
||||||
- chart:
|
- chart:
|
||||||
name: test_chart_1
|
name: test_chart_1
|
||||||
release_name: test_chart_1
|
release_name: test_chart_1
|
||||||
|
@ -57,8 +56,9 @@ class ArmadaTestCase(unittest.TestCase):
|
||||||
armada.tiller = mock_tiller
|
armada.tiller = mock_tiller
|
||||||
armada.config = yaml.load(self.test_yaml)
|
armada.config = yaml.load(self.test_yaml)
|
||||||
|
|
||||||
chart_1 = armada.config['armada']['charts'][0]['chart']
|
charts = armada.config['armada']['charts'][0]['chart_group']
|
||||||
chart_2 = armada.config['armada']['charts'][1]['chart']
|
chart_1 = charts[0]['chart']
|
||||||
|
chart_2 = charts[1]['chart']
|
||||||
|
|
||||||
# mock irrelevant methods called by armada.sync()
|
# mock irrelevant methods called by armada.sync()
|
||||||
mock_tiller.list_charts.return_value = []
|
mock_tiller.list_charts.return_value = []
|
||||||
|
|
|
@ -24,6 +24,7 @@ class LintTestCase(unittest.TestCase):
|
||||||
armada:
|
armada:
|
||||||
release_prefix: armada-test
|
release_prefix: armada-test
|
||||||
charts:
|
charts:
|
||||||
|
- chart_group:
|
||||||
- chart:
|
- chart:
|
||||||
name: chart
|
name: chart
|
||||||
release_name: chart
|
release_name: chart
|
||||||
|
@ -37,6 +38,7 @@ class LintTestCase(unittest.TestCase):
|
||||||
armasda:
|
armasda:
|
||||||
release_prefix: armada-test
|
release_prefix: armada-test
|
||||||
charts:
|
charts:
|
||||||
|
- chart_group:
|
||||||
- chart:
|
- chart:
|
||||||
name: chart
|
name: chart
|
||||||
release_name: chart
|
release_name: chart
|
||||||
|
@ -51,6 +53,7 @@ class LintTestCase(unittest.TestCase):
|
||||||
armada:
|
armada:
|
||||||
release: armada-test
|
release: armada-test
|
||||||
charts:
|
charts:
|
||||||
|
- chart_group:
|
||||||
- chart:
|
- chart:
|
||||||
name: chart
|
name: chart
|
||||||
release_name: chart
|
release_name: chart
|
||||||
|
@ -62,9 +65,10 @@ class LintTestCase(unittest.TestCase):
|
||||||
|
|
||||||
def test_lint_armada_removed(self):
|
def test_lint_armada_removed(self):
|
||||||
config = yaml.load("""
|
config = yaml.load("""
|
||||||
armasda:
|
sarmada:
|
||||||
release_prefix: armada-test
|
release_prefix: armada-test
|
||||||
chart:
|
charts:
|
||||||
|
- chart_group:
|
||||||
- chart:
|
- chart:
|
||||||
name: chart
|
name: chart
|
||||||
release_name: chart
|
release_name: chart
|
||||||
|
|
|
@ -1,3 +1,16 @@
|
||||||
|
# Copyright 2017 The Armada Authors.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
ARMADA_DEFINITION = 'armada'
|
ARMADA_DEFINITION = 'armada'
|
||||||
RELEASE_PREFIX = 'release_prefix'
|
RELEASE_PREFIX = 'release_prefix'
|
||||||
|
@ -5,7 +18,7 @@ CHARTS_DEFINITION = 'charts'
|
||||||
|
|
||||||
|
|
||||||
def valid_manifest(config):
|
def valid_manifest(config):
|
||||||
if not (isinstance(config.get(ARMADA_DEFINITION, None), dict)):
|
if not isinstance(config.get(ARMADA_DEFINITION, None), dict):
|
||||||
raise Exception("Did not declare armada object")
|
raise Exception("Did not declare armada object")
|
||||||
|
|
||||||
armada_config = config.get('armada')
|
armada_config = config.get('armada')
|
||||||
|
@ -16,7 +29,8 @@ def valid_manifest(config):
|
||||||
if not isinstance(armada_config.get(CHARTS_DEFINITION), list):
|
if not isinstance(armada_config.get(CHARTS_DEFINITION), list):
|
||||||
raise Exception('Check yaml invalid chart definition must be array')
|
raise Exception('Check yaml invalid chart definition must be array')
|
||||||
|
|
||||||
for chart in armada_config.get('charts', []):
|
for group in armada_config.get('charts'):
|
||||||
|
for chart in group.get('chart_group'):
|
||||||
if not isinstance(chart.get('chart').get('name'), basestring):
|
if not isinstance(chart.get('chart').get('name'), basestring):
|
||||||
raise Exception('Chart name needs to be a string')
|
raise Exception('Chart name needs to be a string')
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ Docker
|
||||||
|
|
||||||
To use the docker containter to develop:
|
To use the docker containter to develop:
|
||||||
|
|
||||||
1. Fork the [repo](http://github.com/att-comdev/armada)
|
1. Fork the `Repository <http://github.com/att-comdev/armada>`_
|
||||||
2. Clone the forked repo
|
2. Clone the forked repo
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
@ -15,8 +15,11 @@ To use the docker containter to develop:
|
||||||
cd armada
|
cd armada
|
||||||
export repo="https://github.com/<forked-repo>/armada.git"
|
export repo="https://github.com/<forked-repo>/armada.git"
|
||||||
export branch="<branch>"
|
export branch="<branch>"
|
||||||
|
|
||||||
docker build . -t quay.io/attcomdev/armada:latest --build-arg REPO=$repo --build-arg VERSION=$branch
|
docker build . -t quay.io/attcomdev/armada:latest --build-arg REPO=$repo --build-arg VERSION=$branch
|
||||||
|
|
||||||
|
docker run -d --name armada -v ~/.kube/config:/root/.kube/config -v $(pwd)/examples/:/examples quay.io/attcomdev/armada:latest
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
The first build will take a little while. Afterwards the it will much faster
|
The first build will take a little while. Afterwards the it will much faster
|
||||||
|
@ -30,31 +33,7 @@ To use VirtualEnv we will need to add some extra steps
|
||||||
|
|
||||||
1. virtualenv venv
|
1. virtualenv venv
|
||||||
2. source ./venv/bin/activate
|
2. source ./venv/bin/activate
|
||||||
3. export LIBGIT2=$VIRTUAL_ENV
|
3. sudo sh ./tools/libgit2.sh
|
||||||
4. run modified bash below
|
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Ubuntu 16.04 Install only
|
|
||||||
|
|
||||||
sudo apt install git cmake make -y
|
|
||||||
sudo apt-get install -y python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libssh2-1 libgit2-dev python-pip libgit2-24
|
|
||||||
sudo apt-get install -y pkg-config libssh2-1-dev libhttp-parser-dev libssl-dev libz-dev
|
|
||||||
|
|
||||||
LIBGIT_VERSION='0.25.0'
|
|
||||||
|
|
||||||
wget https://github.com/libgit2/libgit2/archive/v${LIBGIT_VERSION}.tar.gz
|
|
||||||
tar xzf v${LIBGIT_VERSION}.tar.gz
|
|
||||||
cd libgit2-${LIBGIT_VERSION}/
|
|
||||||
cmake . -DCMAKE_INSTALL_PREFIX=$LIBGIT2
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
export LDFLAGS="-Wl,-rpath='$LIBGIT2/lib',--enable-new-dtags $LDFLAGS"
|
|
||||||
sudo pip install pygit2==${LIBGIT_VERSION}
|
|
||||||
sudo ldconfig
|
|
||||||
|
|
||||||
Test that it worked with:
|
Test that it worked with:
|
||||||
|
|
||||||
|
@ -76,10 +55,12 @@ Your env is now ready to go! :)
|
||||||
Kubernetes
|
Kubernetes
|
||||||
##########
|
##########
|
||||||
|
|
||||||
To test your armada fixes/features you will need to set-up a Kubernetes cluster. We recommend:
|
To test your armada fixes/features you will need to set-up a Kubernetes cluster.
|
||||||
|
|
||||||
`Minikube <https://github.com/kubernetes/minikube#installation>`_
|
We recommend:
|
||||||
|
|
||||||
`Halcyon <https://github.com/att-comdev/halcyon-vagrant-kubernetes>`_
|
`Kubeadm <https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/>`_
|
||||||
|
|
||||||
|
`Kubeadm-aio <https://github.com/openstack/openstack-helm/tree/master/tools/kubeadm-aio>`_
|
||||||
|
|
||||||
.. note:: When using Halcyon it will not generate a config file. Run the following commands to create one: `get_k8s_creds.sh <https://github.com/att-comdev/halcyon-vagrant-kubernetes#accessing-the-cluster>`_
|
.. note:: When using Halcyon it will not generate a config file. Run the following commands to create one: `get_k8s_creds.sh <https://github.com/att-comdev/halcyon-vagrant-kubernetes#accessing-the-cluster>`_
|
||||||
|
|
|
@ -56,6 +56,19 @@ Behavior
|
||||||
Chart Keywords
|
Chart Keywords
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Chart Group
|
||||||
|
^^^^^^^^^^^
|
||||||
|
|
||||||
|
+-----------------+----------+------------------------------------------------------------------------+
|
||||||
|
| keyword | type | action |
|
||||||
|
+=================+==========+========================================================================+
|
||||||
|
| description | string | description of chart set |
|
||||||
|
+-----------------+----------+------------------------------------------------------------------------+
|
||||||
|
| charts_group | array | stores definiton of the charts in a group |
|
||||||
|
+-----------------+----------+------------------------------------------------------------------------+
|
||||||
|
| sequenced | bool | enables sequeced chart deployment in a group |
|
||||||
|
+-----------------+----------+------------------------------------------------------------------------+
|
||||||
|
|
||||||
Chart
|
Chart
|
||||||
^^^^^
|
^^^^^
|
||||||
|
|
||||||
|
@ -108,6 +121,9 @@ Simple Example
|
||||||
armada:
|
armada:
|
||||||
release_prefix: "my_armada"
|
release_prefix: "my_armada"
|
||||||
charts:
|
charts:
|
||||||
|
- description: I am a chart group
|
||||||
|
sequenced: False
|
||||||
|
chart_group:
|
||||||
- chart: &cockroach
|
- chart: &cockroach
|
||||||
name: cockroach
|
name: cockroach
|
||||||
release_name: cockroach
|
release_name: cockroach
|
||||||
|
@ -132,24 +148,29 @@ Multichart Example
|
||||||
armada:
|
armada:
|
||||||
release_prefix: "my_armada"
|
release_prefix: "my_armada"
|
||||||
charts:
|
charts:
|
||||||
|
- description: I am group 1
|
||||||
|
sequenced: True
|
||||||
|
chart_group:
|
||||||
- chart: &common
|
- chart: &common
|
||||||
name: common
|
name: common
|
||||||
release_name: null
|
release_name: common
|
||||||
namespace: null
|
namespace: db
|
||||||
timeout: None
|
timeout: 20
|
||||||
values: {}
|
install:
|
||||||
|
no_hooks: false
|
||||||
|
values:
|
||||||
|
Replicas: 1
|
||||||
source:
|
source:
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/kubernetes/charts/
|
location: git://github.com/kubernetes/charts/
|
||||||
subpath: common
|
subpath: stable/common
|
||||||
reference: master
|
reference: master
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
- chart: &cockroach
|
- chart: &cockroach
|
||||||
name: cockroach
|
name: cockroach
|
||||||
release_name: cockroach
|
release_name: cockroach
|
||||||
namespace: db
|
namespace: db
|
||||||
timeout: 100
|
timeout: 20
|
||||||
install:
|
install:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
values:
|
values:
|
||||||
|
@ -159,8 +180,25 @@ Multichart Example
|
||||||
location: git://github.com/kubernetes/charts/
|
location: git://github.com/kubernetes/charts/
|
||||||
subpath: stable/cockroachdb
|
subpath: stable/cockroachdb
|
||||||
reference: master
|
reference: master
|
||||||
dependencies:
|
dependencies: []
|
||||||
- *common
|
- description: I am group 2
|
||||||
|
sequenced: False
|
||||||
|
chart_group:
|
||||||
|
- chart: &mariadb
|
||||||
|
name: mariadb
|
||||||
|
release_name: mariadb
|
||||||
|
namespace: db
|
||||||
|
timeout: 20
|
||||||
|
install:
|
||||||
|
no_hooks: false
|
||||||
|
values:
|
||||||
|
Replicas: 1
|
||||||
|
source:
|
||||||
|
type: git
|
||||||
|
location: git://github.com/kubernetes/charts/
|
||||||
|
subpath: stable/mariadb
|
||||||
|
reference: master
|
||||||
|
dependencies: []
|
||||||
|
|
||||||
References
|
References
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
|
|
|
@ -1,17 +1,9 @@
|
||||||
endpoints: &endpoints
|
|
||||||
hello-world:
|
|
||||||
this: is an example
|
|
||||||
|
|
||||||
armada:
|
armada:
|
||||||
|
|
||||||
# results in "armada-keystone" release name below
|
|
||||||
# to avoid manipulating releases managed directtly
|
|
||||||
# with helm or other armadas
|
|
||||||
release_prefix: armada
|
release_prefix: armada
|
||||||
|
|
||||||
charts:
|
charts:
|
||||||
|
- description: Generate Bootstrap keys
|
||||||
# silent dependency
|
sequenced: True
|
||||||
|
chart_group:
|
||||||
- chart: &helm-toolkit
|
- chart: &helm-toolkit
|
||||||
name: helm-toolkit
|
name: helm-toolkit
|
||||||
release_name: null
|
release_name: null
|
||||||
|
@ -23,7 +15,17 @@ armada:
|
||||||
subpath: helm-toolkit
|
subpath: helm-toolkit
|
||||||
reference: master
|
reference: master
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
- chart: &bootstrap-openstack
|
||||||
|
name: bootstrap-openstack
|
||||||
|
release_name: openstack
|
||||||
|
namespace: openstack
|
||||||
|
values: {}
|
||||||
|
source:
|
||||||
|
type: local
|
||||||
|
location: /home/ubuntu/openstack-helm
|
||||||
|
subpath: bootstrap
|
||||||
|
reference: master
|
||||||
|
dependencies: []
|
||||||
- chart: &mariadb
|
- chart: &mariadb
|
||||||
name: mariadb
|
name: mariadb
|
||||||
release_name: mariadb
|
release_name: mariadb
|
||||||
|
@ -33,17 +35,7 @@ armada:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
upgrade:
|
upgrade:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
pre:
|
values: {}
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
post:
|
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
values:
|
|
||||||
endpoints: *endpoints
|
|
||||||
replicas: 1
|
|
||||||
volume:
|
|
||||||
size: 1Gi
|
|
||||||
source:
|
source:
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/openstack/openstack-helm
|
location: git://github.com/openstack/openstack-helm
|
||||||
|
@ -51,7 +43,9 @@ armada:
|
||||||
reference: master
|
reference: master
|
||||||
dependencies:
|
dependencies:
|
||||||
- *helm-toolkit
|
- *helm-toolkit
|
||||||
|
- description: Undercloud Services add-ons
|
||||||
|
sequenced: False
|
||||||
|
chart_group:
|
||||||
- chart: &memcached
|
- chart: &memcached
|
||||||
name: memcached
|
name: memcached
|
||||||
release_name: memcached
|
release_name: memcached
|
||||||
|
@ -61,14 +55,7 @@ armada:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
upgrade:
|
upgrade:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
pre:
|
values: {}
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
post:
|
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
values:
|
|
||||||
endpoints: *endpoints
|
|
||||||
source:
|
source:
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/openstack/openstack-helm
|
location: git://github.com/openstack/openstack-helm
|
||||||
|
@ -76,7 +63,6 @@ armada:
|
||||||
reference: master
|
reference: master
|
||||||
dependencies:
|
dependencies:
|
||||||
- *helm-toolkit
|
- *helm-toolkit
|
||||||
|
|
||||||
- chart: &etcd
|
- chart: &etcd
|
||||||
name: etcd
|
name: etcd
|
||||||
release_name: etcd
|
release_name: etcd
|
||||||
|
@ -86,14 +72,7 @@ armada:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
upgrade:
|
upgrade:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
pre:
|
values: {}
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
post:
|
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
values:
|
|
||||||
endpoints: *endpoints
|
|
||||||
source:
|
source:
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/openstack/openstack-helm
|
location: git://github.com/openstack/openstack-helm
|
||||||
|
@ -101,7 +80,6 @@ armada:
|
||||||
reference: master
|
reference: master
|
||||||
dependencies:
|
dependencies:
|
||||||
- *helm-toolkit
|
- *helm-toolkit
|
||||||
|
|
||||||
- chart: &rabbitmq
|
- chart: &rabbitmq
|
||||||
name: rabbitmq
|
name: rabbitmq
|
||||||
release_name: rabbitmq
|
release_name: rabbitmq
|
||||||
|
@ -111,14 +89,7 @@ armada:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
upgrade:
|
upgrade:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
pre:
|
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
post:
|
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
values:
|
values:
|
||||||
endpoints: *endpoints
|
|
||||||
replicas: 1
|
replicas: 1
|
||||||
source:
|
source:
|
||||||
type: git
|
type: git
|
||||||
|
@ -128,6 +99,9 @@ armada:
|
||||||
dependencies:
|
dependencies:
|
||||||
- *helm-toolkit
|
- *helm-toolkit
|
||||||
|
|
||||||
|
- description: Openstack Services
|
||||||
|
sequenced: false
|
||||||
|
chart_group:
|
||||||
- chart: &keystone
|
- chart: &keystone
|
||||||
name: keystone
|
name: keystone
|
||||||
release_name: keystone
|
release_name: keystone
|
||||||
|
@ -137,17 +111,13 @@ armada:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
upgrade:
|
upgrade:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
post:
|
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
pre:
|
pre:
|
||||||
delete:
|
delete:
|
||||||
- name: keystone-db-sync
|
- name: keystone-db-sync
|
||||||
type: job
|
type: job
|
||||||
- name: keystone-db-init
|
- name: keystone-db-init
|
||||||
type: job
|
type: job
|
||||||
values:
|
values: {}
|
||||||
endpoints: *endpoints
|
|
||||||
source:
|
source:
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/openstack/openstack-helm
|
location: git://github.com/openstack/openstack-helm
|
||||||
|
@ -155,7 +125,6 @@ armada:
|
||||||
reference: master
|
reference: master
|
||||||
dependencies:
|
dependencies:
|
||||||
- *helm-toolkit
|
- *helm-toolkit
|
||||||
|
|
||||||
- chart: &horizon
|
- chart: &horizon
|
||||||
name: horizon
|
name: horizon
|
||||||
release_name: horizon
|
release_name: horizon
|
||||||
|
@ -165,14 +134,7 @@ armada:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
upgrade:
|
upgrade:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
pre:
|
values: {}
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
post:
|
|
||||||
delete: []
|
|
||||||
create: []
|
|
||||||
values:
|
|
||||||
endpoints: *endpoints
|
|
||||||
source:
|
source:
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/openstack/openstack-helm
|
location: git://github.com/openstack/openstack-helm
|
||||||
|
|
Loading…
Reference in New Issue