Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix helm install command in docs #1981

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/content/install/install-on-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ $ helm repo update
Next, install the chart with default values to `athens` namespace:

```
$ helm install gomods/athens-proxy -n athens --namespace athens
$ helm install athens gomods/athens-proxy --namespace athens
```

This will deploy a single Athens instance in the `athens` namespace with `disk` storage enabled. Additionally, a `ClusterIP` service will be created.
Expand All @@ -101,15 +101,15 @@ This will deploy a single Athens instance in the `athens` namespace with `disk`
By default, the chart will install Athens with a replica count of 1. To change this, change the `replicaCount` value:

```console
helm install gomods/athens-proxy -n athens --namespace athens --set replicaCount=3
helm install athens gomods/athens-proxy --namespace athens --set replicaCount=3
```

### Resources

By default, the chart will install Athens without specific resource requests or limits. To change this, change the `resources` value:

```console
helm install gomods/athens-proxy -n athens --namespace athens \
helm install athens gomods/athens-proxy --namespace athens \
--set resources.requests.cpu=100m \
--set resources.requests.memory=64Mi \
--set resources.limits.cpu=100m \
Expand Down Expand Up @@ -267,7 +267,7 @@ kubectl create secret generic netrcsecret --from-file=./netrc
In order to instruct athens to fetch and use the secret, `netrc.enabled` flag must be set to true:

```console
helm install gomods/athens-proxy -n athens --namespace athens --set netrc.enabled=true
helm install athens gomods/athens-proxy --namespace athens --set netrc.enabled=true
```

### gitconfig support
Expand Down Expand Up @@ -295,7 +295,7 @@ kubectl create secret generic athens-proxy-gitconfig --from-file=gitconfig=/tmp/
In order to instruct athens to use the secret, set appropriate flags (or parameters in `values.yaml`):

```console
helm install gomods/athens-proxy --name athens --namespace athens \
helm install athens gomods/athens-proxy --namespace athens \
--set gitconfig.enabled=true \
--set gitconfig.secretName=athens-proxy-gitconfig \
--set gitconfig.secretKey=gitconfig
Expand Down
Loading