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 automatic setup script command in deploy README #76

Merged
merged 1 commit into from Jul 17, 2019

Conversation

samjsong
Copy link
Contributor

No description provided.

Copy link
Contributor

@frankreno frankreno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@@ -66,7 +66,7 @@ This approach requires access to the Sumo Logic Collector API. It will create a

```sh
curl -s https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection/master/deploy/kubernetes/setup.sh \
| bash -s [-c collector-name] [-k cluster-name] <api-endpoint> <access-id> <access-key>
| bash -s - [-c collector-name] [-k cluster-name] [-n namespace] <api-endpoint> <access-id> <access-key>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need the extra bar here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the extra bar tells the bash command that the result from the pipe stdin should be inserted in the command there. Otherwise the other arguments -c -k -n are interpreted as arguments to the bash command

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, makes sense.

@rvmiller89 rvmiller89 merged commit 3b3c6b6 into master Jul 17, 2019
@rvmiller89 rvmiller89 deleted the ssong-fix-deploy-script branch July 17, 2019 17:03
psaia pushed a commit to psaia/sumologic-kubernetes-collection that referenced this pull request May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants