mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-03 16:38:35 +08:00
* docs: update build instructions for access request plugins * docs: update mattermost build example * docs: fix missing tabitem * docs: fix tabitem
79 lines
2.4 KiB
Plaintext
79 lines
2.4 KiB
Plaintext
<Tabs>
|
|
<TabItem label="Download">
|
|
|
|
Access Request Plugins are available as `amd64` and `arm64` Linux binaries for downloading.
|
|
Replace `ARCH` with your required version.
|
|
|
|
```code
|
|
$ curl -L -O https://cdn.teleport.dev/teleport-access-{{ name }}-v(=teleport.plugin.version=)-linux-<Var name="ARCH" />-bin.tar.gz
|
|
$ tar -xzf teleport-access-{{ name }}-v(=teleport.plugin.version=)-linux-<Var name="ARCH" />-bin.tar.gz
|
|
$ cd teleport-access-{{ name }}
|
|
$ sudo ./install
|
|
```
|
|
|
|
Make sure the binary is installed:
|
|
|
|
```code
|
|
$ teleport-{{ name }} version
|
|
teleport-{{ name }} v(=teleport.plugin.version=) git:teleport-{{ name }}-v(=teleport.plugin.version=)-fffffffff go(=teleport.golang=)
|
|
```
|
|
|
|
</TabItem>
|
|
<TabItem label="Docker Image">
|
|
|
|
```code
|
|
$ docker pull public.ecr.aws/gravitational/teleport-plugin-{{ name }}:(=teleport.plugin.version=)
|
|
```
|
|
|
|
Make sure the plugin is installed by running the following command:
|
|
|
|
```code
|
|
$ docker run public.ecr.aws/gravitational/teleport-plugin-{{ name }}:(=teleport.plugin.version=) version
|
|
teleport-{{ name }} v(=teleport.plugin.version=) git:teleport-{{ name }}-v(=teleport.plugin.version=)-(=teleport.git=) (=teleport.golang=)
|
|
```
|
|
|
|
For a list of available tags, visit [Amazon ECR Public Gallery](https://gallery.ecr.aws/gravitational/teleport-plugin-{{ name }}).
|
|
|
|
</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
|
|
$ git clone https://github.com/gravitational/teleport -b branch/v(=teleport.major_version=)
|
|
$ cd teleport/integrations/access/{{ name }}
|
|
$ git checkout v(=teleport.plugin.version=)
|
|
$ make build/teleport-{{ name }}
|
|
```
|
|
|
|
Move the `teleport-{{ name }}` binary into your PATH.
|
|
|
|
Make sure the binary is installed:
|
|
|
|
```code
|
|
$ teleport-{{ name }} version
|
|
teleport-{{ name }} v(=teleport.plugin.version=) git:teleport-{{ name }}-v(=teleport.plugin.version=)-fffffffff go(=teleport.golang=)
|
|
```
|
|
|
|
</TabItem>
|
|
<TabItem label="Helm Chart">
|
|
|
|
{/*TODO: Replace this with the following partial once we fix
|
|
gravitational/docs#299:
|
|
docs/pages/includes/kubernetes-access/helm/helm-repo-add.mdx*/}
|
|
|
|
Allow Helm to install charts that are hosted in the Teleport Helm repository:
|
|
|
|
```code
|
|
$ helm repo add teleport (=teleport.helm_repo_url=)
|
|
```
|
|
|
|
Update the cache of charts from the remote repository:
|
|
|
|
```code
|
|
$ helm repo update
|
|
```
|
|
|
|
</TabItem>
|
|
</Tabs>
|