Skip to content

Commit

Permalink
Merge pull request #173 from SumoLogic/maimaisie-patch-1
Browse files Browse the repository at this point in the history
Update helm readme
  • Loading branch information
maimaisie committed Sep 2, 2019
2 parents 6d27cd3 + 18f1715 commit cfa7ab7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions deploy/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,19 @@ Install the chart with release name `collection` and namespace `sumologic`
helm install sumologic/sumologic --name collection --namespace sumologic
```

NOTE: If you install the chart with a different release name or a different namespace, you will need to override remote write URLs for Prometheus and the host for fluent-bit. We recommend using an override file due to the number of URLs that need to be overridden. You can use the following command to download the override file and replace the `<RELEASE-NAME>` and `<NAMESPACE>`:
NOTE: If you install the chart with a different release name or a different namespace, you will need to override some configuration fields for both Prometheus and fluent-bit. We recommend using an override file due to the number of fields that need to be overridden. You can use the following command to download the override file and replace the `<RELEASE-NAME>` and `<NAMESPACE>`:

```bash
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/master/deploy/helm/sumologic/values.yaml | \
sed 's/\collection-sumologic.sumologic'"/<RELEASE-NAME>-sumologic.<NAMESPACE>/g" > values.yaml
sed 's/\-sumologic.sumologic'"/-sumologic.<NAMESPACE>/g" | \
sed 's/\collection'"/<RELEASE-NAME>/g" > values.yaml
```

For example, if your release name is `my-release` and namespace is `my-namespace`:
```bash
curl https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/master/deploy/helm/sumologic/values.yaml | \
sed 's/\collection-sumologic.sumologic'"/my-release-sumologic.my-namespace/g" > values.yaml
sed 's/\-sumologic.sumologic'"/-sumologic.my-namespace/g" | \
sed 's/\collection'"/my-release/g" > values.yaml
```

Then, install the chart with the override file.
Expand Down

0 comments on commit cfa7ab7

Please sign in to comment.