This collection of files represent rapp service exposure prototyping in O-RAN. Prerequisites: Istio should be installed on your cluster with the demo profile. Please refer to the istio documentation for more information. The deployments have been implemented and tested using minikube. To replicate these test you will need to setup the various host path referenced in the yaml files on your own machine.
chartmuseum.yaml: path: /var/chartmuseum/charts elastic-8.1.2.yaml: path: "/var/elasticsearch/data" elastic-8.1.2.yaml: path: /var/elasticsearch/config/certs fluentd.yaml: path: /var/log fluentd.yaml: path: /var/lib/docker/containers fluentd.yaml: path: /var/elasticsearch/config/certs/ca keycloak.yaml: path: /auth/realms/master keycloak.yaml: path: /var/keycloak/certs keycloak.yaml: path: /var/keycloak/deployments/authz-js-policies.jar kibana-8.1.2.yaml: path: /var/elasticsearch/config/certs/ca postgres.yaml: path: "/var/keycloak/data2" postgres.yaml: path: /tmp rapps-keycloak-mgr.yaml: path: /var/rapps/certs
or change them to match your own setup.
The keycloak admin password will also need to be changed to match your own (rapps-keycloak-mgr.go: client.LoginAdmin)
client_secret field in the shell scripts should be changed to match the secret for you keycloak client.
All go programs need to be built prior to running the Dockerfiles
Image references in the yaml files/helm charts should be changed to match your own tagged images.
You will need to package your charts and copy them to the /var/chartmuseum/charts directory before starting.
To start the management pods run: start_pods.sh Once these pods are up and running run: curl http://:/install?chart= to install your rapp This will setup keycloak, istio and deploy your chart.
Note: x509 rapps require some manual steps prior to deployment.
To uninstall run: curl http://:/uninstall?chart= To stop the management pods run: stop_pods.sh