Kafka installation set to be done in 'default' namespace. Earlier it has been installed in the default namespace of the kubernetes cluster.
ACM and DME participant expects the kafka to be available in 'kakfa.default.svc.cluster.local'
Issue-ID: NONRTRIC-975
Change-Id: I008f8bdda518e6d180122c62a6338d4a796302e9
Signed-off-by: aravind.est <aravindhan.a@est.tech>
# Kafka installation
echo "Installing Confluent kafka"
# 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..."
wait_for_pods_to_be_running
echo "Updating policy docker image versions..."