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

Update teleport-plugin guides to reference docker images for downloads #11617

Merged
merged 17 commits into from
Apr 13, 2022
Merged
Show file tree
Hide file tree
Changes from 12 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
4 changes: 2 additions & 2 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -911,10 +911,10 @@
"dbeaver_min_ver": "8.0.3"
},
"teleport": {
"version": "7.0.0",
"version": "9.0.4",
"golang": "1.17",
"plugin": {
"version": "7.0.0"
"version": "9.0.4"
},
"helm_repo_url": "https://charts.releases.teleport.dev",
"latest_oss_docker_image": "quay.io/gravitational/teleport:7",
Expand Down
39 changes: 27 additions & 12 deletions docs/pages/enterprise/workflow/ssh-approval-jira-cloud.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,34 @@ In the webhook settings page, make sure that the webhook will only send Issue Up

We recommend installing Teleport plugins alongside the Teleport Proxy. This is an ideal
location as plugins have a low memory footprint, and will require both public internet access
and Teleport Auth access. We currently only provide linux-amd64 binaries, you can also
compile these plugins from [source](https://github.com/gravitational/teleport-plugins/tree/master/access/jira).
and Teleport Auth Service access.

```code
$ wget https://get.gravitational.com/teleport-access-jira-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
logand22 marked this conversation as resolved.
Show resolved Hide resolved
$ tar -xzf teleport-access-jira-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ cd teleport-access-jira/
$ ./install
$ which teleport-jira
# /usr/local/bin/teleport-jira
```

Run `./install` in from 'teleport-jira' or place the executable in the appropriate `/usr/bin` or `/usr/local/bin` on the server installation.
<Tabs>
<TabItem label="Download">
logand22 marked this conversation as resolved.
Show resolved Hide resolved
```code
$ curl -L -O https://get.gravitational.com/teleport-access-jira-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ tar -xzf teleport-access-jira-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ cd teleport-access-jira
$ ./install
```
</TabItem>
<TabItem label="From Source">
To install from source you need `git` and `go` installed. If you do not have Go installed, visit the Go [downloads page](https://go.dev/dl/).

```code
# Checkout teleport-plugins
$ git clone https://github.com/gravitational/teleport-plugins.git
$ cd teleport-plugins/access/jira
$ make
```
Run `./install` from `teleport-jira` or place the executable in `/usr/bin` or `/usr/local/bin` on the server installation.
</TabItem>
<TabItem label="Docker">
```code
$ docker pull quay.io/gravitational/teleport-plugin-jira:(=teleport.plugin.version=)
logand22 marked this conversation as resolved.
Show resolved Hide resolved
```
</TabItem>
</Tabs>

### Configuration file

Expand Down
42 changes: 27 additions & 15 deletions docs/pages/enterprise/workflow/ssh-approval-jira-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,22 +94,34 @@ Teleport Jira Plugin will listen for a webhook that Jira Server sends when a req

We recommend installing Teleport plugins alongside the Teleport Proxy. This is an ideal
location as plugins have a low memory footprint, and will require both public internet access
and Teleport Auth access. We currently only provide linux-amd64 binaries, you can also
compile these plugins from [source](https://github.com/gravitational/teleport-plugins/tree/master/access/jira).

```code
$ wget https://get.gravitational.com/teleport-access-jira-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ tar -xzf teleport-access-jira-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ cd teleport-access-jira/
$ sudo ./install
# Teleport Jira Plugin binaries have been copied to /usr/local/bin
# You can run teleport-jira configure > /etc/teleport-jira.toml to bootstrap your config file.
$ which teleport-jira
# /usr/local/bin/teleport-jira
```

Run `sudo ./install` from 'teleport-jira' or place the executable in the appropriate `/usr/bin` or `/usr/local/bin` on the server installation.
and Teleport Auth access.
logand22 marked this conversation as resolved.
Show resolved Hide resolved

<Tabs>
<TabItem label="Download">
```code
$ curl -L -O https://get.gravitational.com/teleport-access-jira-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ tar -xzf teleport-access-jira-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ cd teleport-access-jira
$ ./install
```
</TabItem>
<TabItem label="From Source">
To install from source you need `git` and `go` installed. If you do not have Go installed, visit the Go [downloads page](https://go.dev/dl/).

```code
# Checkout teleport-plugins
$ git clone https://github.com/gravitational/teleport-plugins.git
$ cd teleport-plugins/access/jira
$ make
```
Run `./install` from `teleport-jira` or place the executable in the appropriate `/usr/bin` or `/usr/local/bin` on the server installation.
</TabItem>
<TabItem label="Docker">
```code
$ docker pull quay.io/gravitational/teleport-plugin-jira:(=teleport.plugin.version=)
logand22 marked this conversation as resolved.
Show resolved Hide resolved
```
</TabItem>
</Tabs>

## Configuration file

Expand Down
39 changes: 27 additions & 12 deletions docs/pages/enterprise/workflow/ssh-approval-mattermost.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,34 @@ We'll reference these files later when [configuring the plugins](#configuring-ma

We recommend installing the Teleport Plugins alongside the Teleport Proxy. This is an ideal
location as plugins have a low memory footprint, and will require both public internet access
and Teleport Auth access. We currently only provide linux-amd64 binaries, you can also
compile these plugins from [source](https://github.com/gravitational/teleport-plugins/tree/master/access/mattermost).
and Teleport Auth access.
logand22 marked this conversation as resolved.
Show resolved Hide resolved

```code
$ wget https://get.gravitational.com/teleport-access-mattermost-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ tar -xzf teleport-access-mattermost-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ cd teleport-access-mattermost
$ ./install
$ which teleport-mattermost
# /usr/local/bin/teleport-mattermost
```

Run `./install` in from 'teleport-mattermost' or place the executable in the appropriate `/usr/bin` or `/usr/local/bin` on the server installation.
<Tabs>
<TabItem label="Download">
```code
$ curl -L -O https://get.gravitational.com/teleport-access-mattermost-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ tar -xzf teleport-access-mattermost-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ cd teleport-access-mattermost
$ ./install
```
</TabItem>
<TabItem label="From Source">
To install from source you need `git` and `go` installed. If you do not have Go installed, visit the Go [downloads page](https://go.dev/dl/).

```code
# Checkout teleport-plugins
$ git clone https://github.com/gravitational/teleport-plugins.git
$ cd teleport-plugins/access/mattermost
$ make
```
Run `./install` from `teleport-mattermost` or place the executable in the appropriate `/usr/bin` or `/usr/local/bin` on the server installation.
</TabItem>
<TabItem label="Docker">
```code
$ docker pull quay.io/gravitational/teleport-plugin-mattermost:(=teleport.plugin.version=)
logand22 marked this conversation as resolved.
Show resolved Hide resolved
```
</TabItem>
</Tabs>

### Configuring Mattermost bot

Expand Down
39 changes: 27 additions & 12 deletions docs/pages/enterprise/workflow/ssh-approval-pagerduty.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,34 @@ In your PagerDuty dashboard, go to **Configuration → API Access → Create New

We recommend installing Teleport plugins alongside the Teleport Proxy. This is an ideal
location as plugins have a low memory footprint, and will require both public internet access
and Teleport Auth access. We currently only provide linux-amd64 binaries, you can also
compile these plugins from [source](https://github.com/gravitational/teleport-plugins/tree/master/access/pagerduty).
and Teleport Auth access.
logand22 marked this conversation as resolved.
Show resolved Hide resolved

```bash
$ wget https://get.gravitational.com/teleport-access-pagerduty-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ tar -xzf teleport-access-pagerduty-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ cd teleport-access-pagerduty/
$ ./install
$ which teleport-pagerduty
/usr/local/bin/teleport-pagerduty
```

Run `./install` in from 'teleport-pagerduty' or place the executable in the appropriate `/usr/bin` or `/usr/local/bin` on the server installation.
<Tabs>
<TabItem label="Download">
```code
$ curl -L -O https://get.gravitational.com/teleport-access-pagerduty-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ tar -xzf teleport-access-pagerduty-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ cd teleport-access-pagerduty
$ ./install
```
</TabItem>
<TabItem label="From Source">
To install from source you need `git` and `go` installed. If you do not have Go installed, visit the Go [downloads page](https://go.dev/dl/).

```code
# Checkout teleport-plugins
$ git clone https://github.com/gravitational/teleport-plugins.git
$ cd teleport-plugins/access/pagerduty
$ make
```
Run `./install` from `teleport-pagerduty` or place the executable in the appropriate `/usr/bin` or `/usr/local/bin` on the server installation.
</TabItem>
<TabItem label="Docker">
```code
$ docker pull quay.io/gravitational/teleport-plugin-pagerduty:(=teleport.plugin.version=)
logand22 marked this conversation as resolved.
Show resolved Hide resolved
```
</TabItem>
</Tabs>

### Config file

Expand Down
15 changes: 9 additions & 6 deletions docs/pages/enterprise/workflow/ssh-approval-slack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,27 +93,30 @@ compile these plugins from [source](https://github.com/gravitational/teleport-pl
<Tabs>
<TabItem label="Download">
```code
$ curl -L https://get.gravitational.com/teleport-access-slack-v(=teleport.version=)-linux-amd64-bin.tar.gz
$ tar -xzf teleport-access-slack-v(=teleport.version=)-linux-amd64-bin.tar.gz
$ curl -L -O https://get.gravitational.com/teleport-access-slack-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ tar -xzf teleport-access-slack-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ cd teleport-access-slack
$ ./install
```
</TabItem>
<TabItem label="From Source">
To install from source you need `git` and `go >= (=teleport.golang=)` installed.
To install from source you need `git` and `go` installed. If you do not have Go installed, visit the Go [downloads page](https://go.dev/dl/).

```code
# Checkout teleport-plugins
$ git clone https://github.com/gravitational/teleport-plugins.git
$ cd teleport-plugins/access/slack
$ make
```
Run `./install` from `teleport-slack` or place the executable in the appropriate `/usr/bin` or `/usr/local/bin` on the server installation.
</TabItem>
<TabItem label="Docker">
```code
$ docker pull quay.io/gravitational/teleport-plugin-slack:(=teleport.plugin.version=)
logand22 marked this conversation as resolved.
Show resolved Hide resolved
```
</TabItem>
</Tabs>


Run `./install` from `teleport-slack` or place the executable in the appropriate `/usr/bin` or `/usr/local/bin` on the server installation.

### Configuring the Teleport Slack plugin

Teleport Slack uses a config file in TOML format. Generate a boilerplate config by
Expand Down
13 changes: 9 additions & 4 deletions docs/pages/setup/guides/fluentd.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,20 @@ from Teleport's events API, and forwards them to Fluentd.
<Tabs>
<TabItem label="Linux">
```code
$ curl -L -O https://get.gravitational.com/teleport-event-handler-v(=teleport.version=)-linux-amd64-bin.tar.gz
$ tar -zxvf teleport-event-handler-v(=teleport.version=)-linux-amd64-bin.tar.gz
$ curl -L -O https://get.gravitational.com/teleport-event-handler-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ tar -zxvf teleport-event-handler-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
```
</TabItem>

<TabItem label="MacOS">
```code
$ curl -L -O https://get.gravitational.com/teleport-event-handler-v(=teleport.version=)-darwin-amd64-bin.tar.gz
$ tar -zxvf teleport-event-handler-v(=teleport.version=)-linux-amd64-bin.tar.gz
$ curl -L -O https://get.gravitational.com/teleport-event-handler-v(=teleport.plugin.version=)-darwin-amd64-bin.tar.gz
$ tar -zxvf teleport-event-handler-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
```
</TabItem>
<TabItem label="Docker">
```code
$ docker pull quay.io/gravitational/teleport-plugin-event-handler:(=teleport.plugin.version=)
logand22 marked this conversation as resolved.
Show resolved Hide resolved
```
</TabItem>
</Tabs>
Expand Down