Add components overrides retrieval to developer scripts
Change-Id: Id48c4a920f9463cd0b0283a13b0389e0927851a2
This commit is contained in:
parent
c5c791cd69
commit
10ef2bf27a
@ -16,9 +16,12 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_MEMCACHED:="$(./tools/deployment/common/get-values-overrides.sh memcached)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
make -C ${HELM_CHART_ROOT_PATH} memcached
|
||||||
make -C ${OSH_INFRA_PATH} memcached
|
|
||||||
|
|
||||||
tee /tmp/memcached.yaml <<EOF
|
tee /tmp/memcached.yaml <<EOF
|
||||||
manifests:
|
manifests:
|
||||||
@ -76,7 +79,7 @@ EOF
|
|||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
helm upgrade --install memcached ${OSH_INFRA_PATH}/memcached \
|
helm upgrade --install memcached ${HELM_CHART_ROOT_PATH}/memcached \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
--values=/tmp/memcached.yaml \
|
--values=/tmp/memcached.yaml \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
|
@ -17,14 +17,12 @@
|
|||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
for CHART in ceph-mon ceph-osd ceph-client ceph-provisioners; do
|
for CHART in ceph-mon ceph-osd ceph-client ceph-provisioners; do
|
||||||
make -C ${OSH_INFRA_PATH} "${CHART}"
|
make -C ${HELM_CHART_ROOT_PATH} "${CHART}"
|
||||||
done
|
done
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
|
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
|
||||||
[ -s /tmp/ceph-fs-uuid.txt ] || uuidgen > /tmp/ceph-fs-uuid.txt
|
[ -s /tmp/ceph-fs-uuid.txt ] || uuidgen > /tmp/ceph-fs-uuid.txt
|
||||||
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"
|
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"
|
||||||
#NOTE(portdirect): to use RBD devices with Ubuntu kernels < 4.5 this
|
#NOTE(portdirect): to use RBD devices with Ubuntu kernels < 4.5 this
|
||||||
@ -163,11 +161,18 @@ pod:
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
for CHART in ceph-mon ceph-osd ceph-client ceph-provisioners; do
|
for CHART in ceph-mon ceph-osd ceph-client ceph-provisioners; do
|
||||||
helm upgrade --install ${CHART} ${OSH_INFRA_PATH}/${CHART} \
|
#NOTE: Get the over-rides to use
|
||||||
|
if [ -z "${OSH_EXTRA_HELM_ARGS_CEPH}" ]; then
|
||||||
|
OSH_EXTRA_HELM_ARGS_CEPH_TMP="$(./tools/deployment/common/get-values-overrides.sh ${CHART})"
|
||||||
|
else
|
||||||
|
OSH_EXTRA_HELM_ARGS_CEPH_TMP="${OSH_EXTRA_HELM_ARGS_CEPH}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
helm upgrade --install ${CHART} ${HELM_CHART_ROOT_PATH}/${CHART} \
|
||||||
--namespace=ceph \
|
--namespace=ceph \
|
||||||
--values=/tmp/ceph.yaml \
|
--values=/tmp/ceph.yaml \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
${OSH_EXTRA_HELM_ARGS_CEPH_DEPLOY}
|
${OSH_EXTRA_HELM_ARGS_CEPH_TMP}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh ceph
|
./tools/deployment/common/wait-for-pods.sh ceph
|
||||||
|
@ -16,9 +16,12 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_CEPH_NS_ACTIVATE:="$(./tools/deployment/common/get-values-overrides.sh ceph-provisioners)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
make -C ${HELM_CHART_ROOT_PATH} ceph-provisioners
|
||||||
make -C ${OSH_INFRA_PATH} ceph-provisioners
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
@ -37,7 +40,7 @@ deployment:
|
|||||||
bootstrap:
|
bootstrap:
|
||||||
enabled: false
|
enabled: false
|
||||||
EOF
|
EOF
|
||||||
helm upgrade --install ceph-openstack-config ${OSH_INFRA_PATH}/ceph-provisioners \
|
helm upgrade --install ceph-openstack-config ${HELM_CHART_ROOT_PATH}/ceph-provisioners \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
--values=/tmp/ceph-openstack-config.yaml \
|
--values=/tmp/ceph-openstack-config.yaml \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
|
@ -16,9 +16,12 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_CEPH_RGW:="$(./tools/deployment/common/get-values-overrides.sh ceph-rgw)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
make -C ${HELM_CHART_ROOT_PATH} ceph-rgw
|
||||||
make -C ${OSH_INFRA_PATH} ceph-rgw
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
@ -71,7 +74,7 @@ network_policy:
|
|||||||
manifests:
|
manifests:
|
||||||
network_policy: true
|
network_policy: true
|
||||||
EOF
|
EOF
|
||||||
helm upgrade --install radosgw-openstack ${OSH_INFRA_PATH}/ceph-rgw \
|
helm upgrade --install radosgw-openstack ${HELM_CHART_ROOT_PATH}/ceph-rgw \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
--values=/tmp/radosgw-openstack.yaml \
|
--values=/tmp/radosgw-openstack.yaml \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
|
@ -24,6 +24,10 @@ make glance
|
|||||||
: ${OSH_OPENSTACK_RELEASE:="newton"}
|
: ${OSH_OPENSTACK_RELEASE:="newton"}
|
||||||
#NOTE(portdirect), this could be: radosgw, rbd, swift or pvc
|
#NOTE(portdirect), this could be: radosgw, rbd, swift or pvc
|
||||||
: ${GLANCE_BACKEND:="swift"}
|
: ${GLANCE_BACKEND:="swift"}
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_GLANCE:="$(./tools/deployment/common/get-values-overrides.sh glance)"}
|
||||||
|
|
||||||
tee /tmp/glance.yaml <<EOF
|
tee /tmp/glance.yaml <<EOF
|
||||||
storage: ${GLANCE_BACKEND}
|
storage: ${GLANCE_BACKEND}
|
||||||
EOF
|
EOF
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_CINDER:="$(./tools/deployment/common/get-values-overrides.sh cinder)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
make cinder
|
make cinder
|
||||||
|
|
||||||
|
@ -15,9 +15,12 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_LIBVIRT:="$(./tools/deployment/common/get-values-overrides.sh libvirt)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
make -C ${HELM_CHART_ROOT_PATH} libvirt
|
||||||
make -C ${OSH_INFRA_PATH} libvirt
|
|
||||||
|
|
||||||
tee /tmp/libvirt.yaml <<EOF
|
tee /tmp/libvirt.yaml <<EOF
|
||||||
manifests:
|
manifests:
|
||||||
@ -30,7 +33,7 @@ EOF
|
|||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
helm upgrade --install libvirt ${OSH_INFRA_PATH}/libvirt \
|
helm upgrade --install libvirt ${HELM_CHART_ROOT_PATH}/libvirt \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
--set manifests.network_policy=true \
|
--set manifests.network_policy=true \
|
||||||
--values=/tmp/libvirt.yaml \
|
--values=/tmp/libvirt.yaml \
|
||||||
|
@ -15,6 +15,12 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_NOVA:="$(./tools/deployment/common/get-values-overrides.sh nova)"}
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_NEUTRON:="$(./tools/deployment/common/get-values-overrides.sh neutron)"}
|
||||||
|
|
||||||
|
#NOTE: Lint and package chart
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
make nova
|
make nova
|
||||||
make neutron
|
make neutron
|
||||||
|
@ -16,12 +16,14 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_INGRESS:="$(./tools/deployment/common/get-values-overrides.sh ingress)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
make -C ${HELM_CHART_ROOT_PATH} ingress
|
||||||
make -C ${OSH_INFRA_PATH} ingress
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
tee /tmp/ingress-kube-system.yaml << EOF
|
tee /tmp/ingress-kube-system.yaml << EOF
|
||||||
deployment:
|
deployment:
|
||||||
@ -30,10 +32,11 @@ deployment:
|
|||||||
network:
|
network:
|
||||||
host_namespace: true
|
host_namespace: true
|
||||||
EOF
|
EOF
|
||||||
helm upgrade --install ingress-kube-system ${OSH_INFRA_PATH}/ingress \
|
helm upgrade --install ingress-kube-system ${HELM_CHART_ROOT_PATH}/ingress \
|
||||||
--namespace=kube-system \
|
--namespace=kube-system \
|
||||||
--values=/tmp/ingress-kube-system.yaml \
|
--values=/tmp/ingress-kube-system.yaml \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
|
${OSH_EXTRA_HELM_ARGS_INGRESS} \
|
||||||
${OSH_EXTRA_HELM_ARGS_INGRESS_KUBE_SYSTEM}
|
${OSH_EXTRA_HELM_ARGS_INGRESS_KUBE_SYSTEM}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
@ -43,9 +46,10 @@ helm upgrade --install ingress-kube-system ${OSH_INFRA_PATH}/ingress \
|
|||||||
helm status ingress-kube-system
|
helm status ingress-kube-system
|
||||||
|
|
||||||
#NOTE: Deploy namespace ingress
|
#NOTE: Deploy namespace ingress
|
||||||
helm upgrade --install ingress-openstack ${OSH_INFRA_PATH}/ingress \
|
helm upgrade --install ingress-openstack ${HELM_CHART_ROOT_PATH}/ingress \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
|
${OSH_EXTRA_HELM_ARGS_INGRESS} \
|
||||||
${OSH_EXTRA_HELM_ARGS_INGRESS_OPENSTACK}
|
${OSH_EXTRA_HELM_ARGS_INGRESS_OPENSTACK}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
@ -55,9 +59,10 @@ helm upgrade --install ingress-openstack ${OSH_INFRA_PATH}/ingress \
|
|||||||
helm status ingress-openstack
|
helm status ingress-openstack
|
||||||
|
|
||||||
|
|
||||||
helm upgrade --install ingress-ceph ${OSH_INFRA_PATH}/ingress \
|
helm upgrade --install ingress-ceph ${HELM_CHART_ROOT_PATH}/ingress \
|
||||||
--namespace=ceph \
|
--namespace=ceph \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
|
${OSH_EXTRA_HELM_ARGS_INGRESS} \
|
||||||
${OSH_EXTRA_HELM_ARGS_INGRESS_CEPH}
|
${OSH_EXTRA_HELM_ARGS_INGRESS_CEPH}
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
|
@ -15,13 +15,16 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_LOCKDOWN:="$(./tools/deployment/common/get-values-overrides.sh lockdown)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
make lockdown
|
make -C ${HELM_CHART_ROOT_PATH} lockdown
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
helm upgrade --install lockdown ${OSH_INFRA_PATH}/lockdown \
|
helm upgrade --install lockdown ${HELM_CHART_ROOT_PATH}/lockdown \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
${OSH_EXTRA_HELM_ARGS_LOCKDOWN}
|
${OSH_EXTRA_HELM_ARGS_LOCKDOWN}
|
||||||
|
@ -16,13 +16,16 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_MARIADB:="$(./tools/deployment/common/get-values-overrides.sh mariadb)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
make -C ${HELM_CHART_ROOT_PATH} mariadb
|
||||||
make -C ${OSH_INFRA_PATH} mariadb
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
helm upgrade --install mariadb ${OSH_INFRA_PATH}/mariadb \
|
helm upgrade --install mariadb ${HELM_CHART_ROOT_PATH}/mariadb \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
--set pod.replicas.server=1 \
|
--set pod.replicas.server=1 \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
|
@ -16,13 +16,16 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_RABBITMQ:="$(./tools/deployment/common/get-values-overrides.sh rabbitmq)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
make -C ${HELM_CHART_ROOT_PATH} rabbitmq
|
||||||
make -C ${OSH_INFRA_PATH} rabbitmq
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
helm upgrade --install rabbitmq ${OSH_INFRA_PATH}/rabbitmq \
|
helm upgrade --install rabbitmq ${HELM_CHART_ROOT_PATH}/rabbitmq \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
${OSH_EXTRA_HELM_ARGS_RABBITMQ}
|
${OSH_EXTRA_HELM_ARGS_RABBITMQ}
|
||||||
|
@ -19,6 +19,9 @@ set -xe
|
|||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
make keystone
|
make keystone
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_KEYSTONE:="$(./tools/deployment/common/get-values-overrides.sh keystone)"}
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
helm upgrade --install keystone ./keystone \
|
helm upgrade --install keystone ./keystone \
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_HEAT:="$(./tools/deployment/common/get-values-overrides.sh heat)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
make heat
|
make heat
|
||||||
|
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_HORIZON:="$(./tools/deployment/common/get-values-overrides.sh horizon)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
make horizon
|
make horizon
|
||||||
|
|
||||||
|
@ -15,13 +15,16 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_OPENVSWITCH:="$(./tools/deployment/common/get-values-overrides.sh openvswitch)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
make -C ${HELM_CHART_ROOT_PATH} openvswitch
|
||||||
make -C ${OSH_INFRA_PATH} openvswitch
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
helm upgrade --install openvswitch ${OSH_INFRA_PATH}/openvswitch \
|
helm upgrade --install openvswitch ${HELM_CHART_ROOT_PATH}/openvswitch \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
${OSH_EXTRA_HELM_ARGS_OPENVSWITCH}
|
${OSH_EXTRA_HELM_ARGS_OPENVSWITCH}
|
||||||
|
@ -16,8 +16,11 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_LDAP:="$(./tools/deployment/common/get-values-overrides.sh ldap)"}
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
|
|
||||||
tee /tmp/ldap.yaml <<EOF
|
tee /tmp/ldap.yaml <<EOF
|
||||||
@ -41,7 +44,7 @@ network_policy:
|
|||||||
port: 389
|
port: 389
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
helm upgrade --install ldap ${OSH_INFRA_PATH}/ldap \
|
helm upgrade --install ldap ${HELM_CHART_ROOT_PATH}/ldap \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
--set pod.replicas.server=1 \
|
--set pod.replicas.server=1 \
|
||||||
--set bootstrap.enabled=true \
|
--set bootstrap.enabled=true \
|
||||||
@ -55,6 +58,10 @@ helm upgrade --install ldap ${OSH_INFRA_PATH}/ldap \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status ldap
|
helm status ldap
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="../openstack-helm"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_KEYSTONE:="$(./tools/deployment/common/get-values-overrides.sh keystone)"}
|
||||||
|
|
||||||
#NOTE: Handle Keystone
|
#NOTE: Handle Keystone
|
||||||
make pull-images keystone
|
make pull-images keystone
|
||||||
|
|
||||||
|
@ -19,6 +19,9 @@ set -xe
|
|||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
make glance
|
make glance
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_GLANCE:="$(./tools/deployment/common/get-values-overrides.sh glance)"}
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
: ${OSH_OPENSTACK_RELEASE:="newton"}
|
: ${OSH_OPENSTACK_RELEASE:="newton"}
|
||||||
|
@ -15,13 +15,16 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_LIBVIRT:="$(./tools/deployment/common/get-values-overrides.sh libvirt)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
make -C ${HELM_CHART_ROOT_PATH} libvirt
|
||||||
make -C ${OSH_INFRA_PATH} libvirt
|
|
||||||
|
|
||||||
#NOTE: Deploy command
|
#NOTE: Deploy command
|
||||||
: ${OSH_EXTRA_HELM_ARGS:=""}
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
helm upgrade --install libvirt ${OSH_INFRA_PATH}/libvirt \
|
helm upgrade --install libvirt ${HELM_CHART_ROOT_PATH}/libvirt \
|
||||||
--namespace=openstack \
|
--namespace=openstack \
|
||||||
--set conf.ceph.enabled=false \
|
--set conf.ceph.enabled=false \
|
||||||
${OSH_EXTRA_HELM_ARGS} \
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
|
@ -15,6 +15,10 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
#NOTE: Get the over-rides to use
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_NOVA:="$(./tools/deployment/common/get-values-overrides.sh nova)"}
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS_NEUTRON:="$(./tools/deployment/common/get-values-overrides.sh neutron)"}
|
||||||
|
|
||||||
#NOTE: Lint and package chart
|
#NOTE: Lint and package chart
|
||||||
make nova
|
make nova
|
||||||
make neutron
|
make neutron
|
||||||
|
Loading…
x
Reference in New Issue
Block a user