Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
291fec96d1
|
@ -14,7 +14,7 @@ DEPLOYMENT_DIR=$PWD/deployment
|
|||||||
INSTANCES_DIR=$DEPLOYMENT_DIR/instances
|
INSTANCES_DIR=$DEPLOYMENT_DIR/instances
|
||||||
|
|
||||||
|
|
||||||
for NAMESPACE_DIR in `find $INSTANCES_DIR -type d -depth 1`; do
|
for NAMESPACE_DIR in `find $INSTANCES_DIR -type d -mindepth 1 -maxdepth 1`; do
|
||||||
NAMESPACE=`basename $NAMESPACE_DIR`
|
NAMESPACE=`basename $NAMESPACE_DIR`
|
||||||
echo "Namespace: $NAMESPACE"
|
echo "Namespace: $NAMESPACE"
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ for NAMESPACE_DIR in `find $INSTANCES_DIR -type d -depth 1`; do
|
|||||||
kubectl -f - apply
|
kubectl -f - apply
|
||||||
|
|
||||||
pushd $NAMESPACE_DIR > /dev/null
|
pushd $NAMESPACE_DIR > /dev/null
|
||||||
for INSTANCE_DIR in `find . -type d -depth 1`; do
|
for INSTANCE_DIR in `find . -type d -mindepth 1 -maxdepth 1`; do
|
||||||
pushd $INSTANCE_DIR > /dev/null
|
pushd $INSTANCE_DIR > /dev/null
|
||||||
INSTANCE=`basename $INSTANCE_DIR`
|
INSTANCE=`basename $INSTANCE_DIR`
|
||||||
echo "Instance: $INSTANCE"
|
echo "Instance: $INSTANCE"
|
||||||
|
Reference in New Issue
Block a user