Skip to content

Commit

Permalink
Remove configmap examples
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellzc committed Mar 2, 2022
1 parent 8e9ed5c commit 9127663
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 145 deletions.
6 changes: 3 additions & 3 deletions charts/sourcegraph/examples/external-redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ When using external Redis instances, you’ll need to specify the corresponding
- [worker.Deployment.yaml](../../templates/worker/worker.Deployment.yaml)
## Option 1 - One shared external Redis instance

Example values override: [override-shared.yaml](./override-shared.yaml), [override-shared-configmap.yaml](./override-shared-configmap.yaml)
Example values override [override-shared.yaml](./override-shared.yaml)

### `REDIS_ENDPOINT`

The string must either have the format `$HOST:PORT` or follow the [IANA specification for Redis URLs](https://www.iana.org/assignments/uri-schemes/prov/redis) (e.g., redis://:mypassword@host:6379/2)

## Option 2 - Two separate external Redis instances

Example values override: [override-separate.yaml](./override-separate.yaml), [override-separate-configmap.yaml](./override-separate-configmap.yaml)
Example values override [override-separate.yaml](./override-separate.yaml)

### `REDIS_CACHE_ENDPOINT`

Expand Down Expand Up @@ -60,7 +60,7 @@ data:
REDIS_STORE_ENDPOINT: ""
```
Optionally, if your external Redis instances do not required authentication, you may use a [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/)
Optionally, if your external Redis instances do not required authentication, you may use a [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/). Learn more about [how to reference ConfigMap](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#define-container-environment-variables-using-configmap-data).
```yaml
apiVersion: v1
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 9127663

Please sign in to comment.