X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=scripts%2Finstall%2Finstall-acm.sh;h=9c7414269b38b9abedb0aca08d62228266de99e2;hb=7e301b523d66508f8493f6873e36f0d60e8caaf4;hp=7535c1faaaa1d98d68fdf0acc2465113c73272ba;hpb=77a08f7b9a97e0c6fcce5729cdcc3c18ea90c002;p=nonrtric%2Fplt%2Frappmanager.git diff --git a/scripts/install/install-acm.sh b/scripts/install/install-acm.sh index 7535c1f..9c74142 100755 --- a/scripts/install/install-acm.sh +++ b/scripts/install/install-acm.sh @@ -58,8 +58,12 @@ export WORKSPACE="$CWD/docker" # Kafka installation echo "Installing Confluent kafka" -kubectl apply -f $KAFKA_DIR/zookeeper.yaml -kubectl apply -f $KAFKA_DIR/kafka.yaml +# Using "default" as namespace for kafka installation. As the policy CSIT helm charts contains the namespace "default" inbuilt. +# ACM installation fails to run, If the kubernetes cluster setup with a different default namespace, +# Expected kafka service is "kafka.default.svc.cluster.local" +# This can be removed when the kafka charts provided with "default" namespace or when policy CSIT charts can be configurable with different namespace. +kubectl apply -f $KAFKA_DIR/zookeeper.yaml -n default +kubectl apply -f $KAFKA_DIR/kafka.yaml -n default wait_for_pods_to_be_running echo "Updating policy docker image versions..."