porthole/tools/deployment/utilities/010-ceph-utility.sh
dt241s@att.com 1a913172e8 Replace Postgresql UC deployment Process
Enhanced Postgresql UC to deploy in OSH instead of relaying for AIAB for
testing.Added Calico UC to Readme File,and fixed Deployment Scripts.

Change-Id: I726e2dc975a82f773c0a7d69c4e60511fa0da05d
2020-04-08 01:00:25 +00:00

52 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
set -xe
#NOTE: Lint and package chart
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
make -C ${OSH_INFRA_PATH} ceph-provisioners
#NOTE: Deploy command
: ${OSH_EXTRA_HELM_ARGS:=""}
tee /tmp/ceph-utility-config.yaml <<EOF
endpoints:
identity:
namespace: openstack
object_store:
namespace: ceph
ceph_mon:
namespace: ceph
network:
public: 172.17.0.1/16
cluster: 172.17.0.1/16
deployment:
storage_secrets: false
ceph: false
rbd_provisioner: false
cephfs_provisioner: false
client_secrets: true
rgw_keystone_user_and_endpoints: false
bootstrap:
enabled: false
conf:
rgw_ks:
enabled: true
EOF
helm upgrade --install ceph-utility-config ${OSH_INFRA_PATH}/ceph-provisioners \
--namespace=utility \
--values=/tmp/ceph-utility-config.yaml \
${OSH_EXTRA_HELM_ARGS} \
${OSH_EXTRA_HELM_ARGS_CEPH_NS_ACTIVATE}
#NOTE: Wait for deploy
./${OSH_INFRA_PATH}/tools/deployment/common/wait-for-pods.sh utility
helm dependency update charts/ceph-utility
cd charts
helm upgrade --install ceph-utility ./ceph-utility \
--namespace=utility
#NOTE: Validate Deployment info
kubectl get -n utility jobs
kubectl get -n utility secrets
kubectl get -n utility configmaps
kubectl get -n utility pods | grep ceph-utility