Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jinja2 committed Oct 14, 2024
1 parent 56f1a5d commit b936a80
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
if: steps.list-changed.outputs.changed == 'true'

- name: Run chart-testing (install)
run: ct install --config=ct.yaml --helm-extra-set-args='--set=synthetics.secret.token=${{ secrets.RUNNER_TOKEN }}'
run: ct install --config=ct.yaml --helm-extra-set-args='--set=synthetics.secret.create=true,synthetics.secret.runnerToken=${{ secrets.RUNNER_TOKEN }}'

- name: Run chart-testing (upgrade)
run: ct install --config=ct.yaml --helm-extra-set-args='--set=synthetics.secret.token=${{ secrets.RUNNER_TOKEN }}' --upgrade
run: ct install --config=ct.yaml --helm-extra-set-args='--set=synthetics.secret.create=true,synthetics.secret.runnerToken=${{ secrets.RUNNER_TOKEN }}' --upgrade
6 changes: 3 additions & 3 deletions charts/splunk-synthetics-runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To install the chart with the release name `my-splunk-synthetics-runner`:

```console
helm repo add synthetics-helm-charts https://splunk.github.io/synthetics-helm-charts/
helm install my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.runnerToken=<runner>
helm install my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.create=true,synthetics.secret.runnerToken=<TOKEN>
```

### Updating the Chart
Expand All @@ -30,7 +30,7 @@ helm search repo synthetics-helm-charts/splunk-synthetics-runner --versions
To upgrade an installed release of the Splunk Synthetics runner with the name `my-splunk-synthetics-runner`, run the following command:

```console
helm upgrade my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.runnerToken=<runner>
helm upgrade my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.create=true,synthetics.secret.runnerToken=<TOKEN>
```

### Uninstalling the Chart
Expand All @@ -50,7 +50,7 @@ Refer to the [values.yaml](values.yaml) file or the Values section below for the
If you are not using Helm, you can generate the Kubernetes manifests from the helm chart and deploy with `kubectl`. To generate the Kubernetes manifests, run the following command:

```console
helm template my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.runnerToken=<runner> | kubectl apply -f -
helm template my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.create=true,synthetics.secret.runnerToken=<TOKEN> | kubectl apply -f -
```

## Values
Expand Down
6 changes: 3 additions & 3 deletions charts/splunk-synthetics-runner/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To install the chart with the release name `my-splunk-synthetics-runner`:

```console
helm repo add synthetics-helm-charts https://splunk.github.io/synthetics-helm-charts/
helm install my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.runnerToken=<runner>
helm install my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.create=true,synthetics.secret.runnerToken=<TOKEN>
```

### Updating the Chart
Expand All @@ -30,7 +30,7 @@ helm search repo synthetics-helm-charts/splunk-synthetics-runner --versions
To upgrade an installed release of the Splunk Synthetics runner with the name `my-splunk-synthetics-runner`, run the following command:

```console
helm upgrade my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.runnerToken=<runner>
helm upgrade my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.create=true,synthetics.secret.runnerToken=<TOKEN>
```

### Uninstalling the Chart
Expand All @@ -50,7 +50,7 @@ Refer to the [values.yaml](values.yaml) file or the Values section below for the
If you are not using Helm, you can generate the Kubernetes manifests from the helm chart and deploy with `kubectl`. To generate the Kubernetes manifests, run the following command:

```console
helm template my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.runnerToken=<runner> | kubectl apply -f -
helm template my-splunk-synthetics-runner synthetics-helm-charts/splunk-synthetics-runner --set=synthetics.secret.create=true,synthetics.secret.runnerToken=<TOKEN> | kubectl apply -f -
```

{{ template "chart.requirementsSection" . }}
Expand Down
2 changes: 1 addition & 1 deletion ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ remote: origin
target-branch: main
chart-dirs:
- charts
helm-extra-args: '--values=tests/ci_values.yaml --timeout=600s'
helm-extra-args: '--timeout=600s'
helm-lint-extra-args: '--values=tests/ci_values.yaml'
check-version-increment: false

0 comments on commit b936a80

Please sign in to comment.