@@ -10,7 +10,7 @@ Make sure the required environment variables are set before running the connecto
1010docker run \
1111 --rm \
1212 -v " ${STORAGE_DIRECTORY} " :" ${STORAGE_DIRECTORY} " \
13- -e AZURE_EVENTHUB_CONNECTION_STRING =" ${AZURE_EVENTHUB_CONNECTION_STRING } " \
13+ -e AZURE_EVENT_HUBS_CONNECTION_STRING =" ${AZURE_EVENT_HUBS_CONNECTION_STRING } " \
1414 -e AXOROUTER_ENDPOINT=" ${AXOROUTER_ENDPOINT} " \
1515 -e STORAGE_DIRECTORY=" ${STORAGE_DIRECTORY} " \
1616 ghcr.io/axoflow/axocloudconnectors:latest
@@ -19,3 +19,26 @@ docker run \
1919## Deploy with Helm-chart
2020
21211 . Set the required environment-variables.
22+
23+ ### Example deploy with Axorouter in cluster
24+
25+ ``` bash
26+ make minikube-cluster
27+ make docker-build
28+ make minikube-load-image
29+
30+ kubectl create namespace cloudconnectors
31+ kubectl create secret generic azure-event-hubs \
32+ --from-literal=connection-string=" <YOUR-AZURE-EVENT-HUBS-CONNECTION-STRING>" \
33+ --namespace cloudconnectors \
34+ --dry-run=client -o yaml | kubectl apply -f -
35+
36+ helm upgrade --install --wait --namespace cloudconnectors cloudconnectors ./charts/cloudconnectors \
37+ --set image.repository=" axocloudconnectors" \
38+ --set image.tag=" dev" \
39+ --set ' env[0].name=AXOROUTER_ENDPOINT' \
40+ --set ' env[0].value=axorouter.axoflow-local.svc.cluster.local:4317' \
41+ --set ' env[1].name=AZURE_EVENT_HUBS_CONNECTION_STRING' \
42+ --set ' env[1].valueFrom.secretKeyRef.name=azure-event-hubs' \
43+ --set ' env[1].valueFrom.secretKeyRef.key=connection-string'
44+ ```
0 commit comments