Skip to content

Commit

Permalink
refined create-secrets.sh one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
stania committed Mar 28, 2024
1 parent 923864a commit e2a55b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ To install the chart with the release name `SITENAME-sentry`:
```bash
helm repo add logpresso https://lab.logpresso.com/sonar-sentry-daemonset
helm repo update
helm install SITENAME-sentry logpresso/sonar-sentry-daemonset

curl -sSL https://lab.logpresso.com/sonar-sentry-daemonset/create-secrets.sh | bash
echo -n "Sonar API Key: " && read -s SONAR_API_KEY && export SONAR_API_KEY && bash -c "curl -sSL https://lab.logpresso.com/sonar-sentry-daemonset/create-secrets.sh 2>/dev/null | bash"

helm install SITENAME-sentry logpresso/sonar-sentry-daemonset
```


Expand Down
2 changes: 0 additions & 2 deletions create-secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
curl -O https://lab.logpresso.com/sonar-sentry-daemonset/secrets.yaml.tmpl

SENTRY_AUTH_TOKEN=`tr -dc a-z0-9 </dev/urandom | head -c 4`-`tr -dc a-z0-9 </dev/urandom | head -c 4`
echo -n "Please enter your Sonar API Key: "
read -s SONAR_API_KEY

echo

Expand Down

0 comments on commit e2a55b3

Please sign in to comment.