Remove helm status from deployment scripts for openstack-support

With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: Ia24fadf575dc5230246f3efa32a00fa1e3614abf
This commit is contained in:
jayonlau 2021-10-13 12:43:08 -04:00
parent f4ec1c4cd3
commit 391813463d
10 changed files with 0 additions and 31 deletions

View File

@ -21,7 +21,4 @@ make namespace-config
for NAMESPACE in kube-system ceph openstack; do for NAMESPACE in kube-system ceph openstack; do
helm upgrade --install ${NAMESPACE}-namespace-config ./namespace-config \ helm upgrade --install ${NAMESPACE}-namespace-config ./namespace-config \
--namespace=${NAMESPACE} --namespace=${NAMESPACE}
#NOTE: Display info
helm status ${NAMESPACE}-namespace-config
done done

View File

@ -32,9 +32,6 @@ helm upgrade --install ingress-kube-system ./ingress \
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh kube-system ./tools/deployment/common/wait-for-pods.sh kube-system
#NOTE: Display info
helm status ingress-kube-system
#NOTE: Deploy namespace ingress #NOTE: Deploy namespace ingress
for NAMESPACE in ceph openstack; do for NAMESPACE in ceph openstack; do
helm upgrade --install ingress-${NAMESPACE} ./ingress \ helm upgrade --install ingress-${NAMESPACE} ./ingress \
@ -44,7 +41,4 @@ for NAMESPACE in ceph openstack; do
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh ${NAMESPACE} ./tools/deployment/common/wait-for-pods.sh ${NAMESPACE}
#NOTE: Display info
helm status ingress-${NAMESPACE}
done done

View File

@ -31,7 +31,4 @@ helm upgrade --install rabbitmq ./rabbitmq \
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
helm status rabbitmq
helm test rabbitmq helm test rabbitmq

View File

@ -28,6 +28,3 @@ helm upgrade --install memcached ./memcached \
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
helm status memcached

View File

@ -32,6 +32,3 @@ helm upgrade --install libvirt ./libvirt \
if [[ "${WAIT_FOR_PODS:=True}" == "True" ]]; then if [[ "${WAIT_FOR_PODS:=True}" == "True" ]]; then
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack
fi fi
#NOTE: Validate Deployment info
helm status libvirt

View File

@ -74,6 +74,3 @@ helm upgrade --install libvirt ./libvirt \
if [[ "${WAIT_FOR_PODS:=True}" == "True" ]]; then if [[ "${WAIT_FOR_PODS:=True}" == "True" ]]; then
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack
fi fi
#NOTE: Validate Deployment info
helm status libvirt

View File

@ -23,6 +23,3 @@ helm upgrade --install openvswitch ./openvswitch \
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
helm status openvswitch

View File

@ -53,7 +53,6 @@ helm upgrade --install radosgw-openstack ${OSH_INFRA_PATH}/ceph-rgw \
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info #NOTE: Validate Deployment info
helm status radosgw-openstack
export OS_CLOUD=openstack_helm export OS_CLOUD=openstack_helm
sleep 60 #NOTE(portdirect): Wait for ingress controller to update rules and restart Nginx sleep 60 #NOTE(portdirect): Wait for ingress controller to update rules and restart Nginx

View File

@ -27,6 +27,3 @@ helm upgrade --install prometheus-openstack-exporter \
${OSH_INFRA_EXTRA_HELM_ARGS_OS_EXPORTER} ${OSH_INFRA_EXTRA_HELM_ARGS_OS_EXPORTER}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
helm status prometheus-openstack-exporter

View File

@ -26,6 +26,3 @@ helm upgrade --install powerdns ./powerdns \
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
helm status powerdns