Remove helm status from deployment scripts for osh-infra-logging
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: If27f87fceb79162458f22c07a35fe813b6026830
This commit is contained in:
parent
0e94f35e9c
commit
311fe70d3b
@ -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 osh-infra ceph; do
|
for NAMESPACE in osh-infra ceph; do
|
||||||
helm upgrade --install ingress-${NAMESPACE} ./ingress \
|
helm upgrade --install ingress-${NAMESPACE} ./ingress \
|
||||||
@ -44,7 +41,4 @@ for NAMESPACE in osh-infra ceph; 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
|
||||||
|
@ -68,9 +68,6 @@ helm upgrade --install radosgw-osh-infra ./ceph-rgw \
|
|||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh osh-infra
|
./tools/deployment/common/wait-for-pods.sh osh-infra
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
|
||||||
helm status radosgw-osh-infra
|
|
||||||
|
|
||||||
# Delete the test pod if it still exists
|
# Delete the test pod if it still exists
|
||||||
kubectl delete pods -l application=ceph,release_group=radosgw-osh-infra,component=rgw-test --namespace=osh-infra --ignore-not-found
|
kubectl delete pods -l application=ceph,release_group=radosgw-osh-infra,component=rgw-test --namespace=osh-infra --ignore-not-found
|
||||||
#NOTE: Test Deployment
|
#NOTE: Test Deployment
|
||||||
|
@ -109,9 +109,6 @@ helm upgrade --install elasticsearch ./elasticsearch \
|
|||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh osh-infra
|
./tools/deployment/common/wait-for-pods.sh osh-infra
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
|
||||||
helm status elasticsearch
|
|
||||||
|
|
||||||
# Delete the test pod if it still exists
|
# Delete the test pod if it still exists
|
||||||
kubectl delete pods -l application=elasticsearch,release_group=elasticsearch,component=test --namespace=osh-infra --ignore-not-found
|
kubectl delete pods -l application=elasticsearch,release_group=elasticsearch,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test elasticsearch
|
helm test elasticsearch
|
||||||
|
@ -27,6 +27,3 @@ helm upgrade --install kibana ./kibana \
|
|||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh osh-infra
|
./tools/deployment/common/wait-for-pods.sh osh-infra
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
|
||||||
helm status kibana
|
|
||||||
|
Loading…
Reference in New Issue
Block a user