Skip to content

Commit

Permalink
fix : readme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Runaho committed Sep 9, 2024
1 parent ad51dda commit 22a455a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions charts/routehub-client/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,44 @@ helm delete my-release
```

This command removes all the Kubernetes components associated with the chart and deletes the release.


## How to deploy the hub?

### Create a namespace

```bash
kubectl create namespace routehub-clients
helm repo add routehub-helm https://routehub-link.github.io/RouteHub.HELM/
```

### Create a secret for the registry

```bash
kubectl create secret docker-registry your-secret-name \
--namespace routehub-clients \
--docker-server=your.registry \
--docker-username=your-username \
--docker-password=your-password
```

### Deploy the hub

```bash
helm install my-hub routehub-helm/routehub-client-hub \
--namespace routehub-clients \
--create-namespace \
--set global.customRegistry=your.registry/ \
--set global.imagePullSecrets[0].name=your-secret-name \
--set routehubClientRest.environment.Name="Test Hub" \
--set routehubClientRest.environment.ORGANIZATION_ID=test-org \
--set routehubClientRest.environment.OWNER_ID=test-owner \
--set routehubClientRest.environment.PLATFORM_ID=12058bdf-8940-43b3-bd90-13487e4c8fc4 \
--set routehubClientRest.environment.SEED=TRUE
```

### For Debug you could add the following flags

```bash
--dry-run --debug
```
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ helm repo update

3. Install a chart:
```bash
helm install my-hub https://routehub-link.github.io/RouteHub.HELM//routehub-client-hub \
helm install my-hub routehub-helm/routehub-client-hub \
--namespace routehub-clients \
--create-namespace \
--set global.customRegistry=your.registry/ \
Expand Down

0 comments on commit 22a455a

Please sign in to comment.