Commit Graph
170 Commits
Author SHA1 Message Date
Paul Gottschling c5ced551eb Edit forScopes configurations and edit guides (#28443)
* Edit forScopes configurations and edit guides

Closes #26500

This change requires merging gravitational/docs#326 to add a Team scope
to the docs.

This updates pages within the docs so that:

- Each page's `forScopes` configuration is accurate, especially with
  regard to support for Teleport Team.
- All scoped components match the `forScopes` configuration for each
  page. For this, I used the linter introduced by
  gravitational/docs#327.

* Respond to alexfornuto feedback
2023-07-05 20:58:08 +00:00
Paul Gottschling faf6dadb53 Promote IAC docs for agents and dynamic resources (#27703)
* Promote IAC docs for agents and dynamic resources

Closes #27382
Closes #25418
Closes #25442

Two aspects of setting up a Teleport cluster are omnipresent in the docs
but never get dedicated treatment:

- Running agents
- Applying dynamic resources

As a result, it is difficult to include discussions about those topics
that are separate from a specific workflow or how-to guide. One glaring
absence has been prominent guidance on using infrastructure-as-code
tools to achieve these tasks.

This change improves the visibility of Teleport's support for
infrastructure-as-code tools by:

- Creating top-level docs sections for running agents and applying
  dynamic resources
- Making IAC instructions prominent within these sections

The intention is for readers to become familiar with different methods
of applying dynamic resources and running agents, including how to do
this with IAC, so they can apply this knowledge when reading other parts
of the docs.

As a result, in the docs sidebar, the "Dynamic Resources" section comes
before the section on RBAC, and the "Teleport Agents" section comes
before the sections related to individual Teleport services
("Application Access", "Server Access", etc.).

The new section on dynamic resources also gives us a place to put other
guides to using the Terraform provider and Kubernetes Operator, e.g., if
we add guides to using these tools with popular GitOps platforms.

Likewise, the section on agents gives us a place to put other agent-wide
information, e.g., how to enable an additional Teleport service on an
instance that is already running.

To allow for these changes, I have also made the following, more
tangentially related sidebar changes:

- **Renamed sidebar sections to be noun phrases instead of verb
  phrases:** Currently, one half of the sidebar is made of imperative
  phrases like "Manage Access" and "Manage your Cluster". This doesn't
  really work for the sections on agents and dynamic resources, so I
  have renamed these sections for consistency.

- **Moved the "Manage your Cluster" and "Deploy a Cluster" sections**: I
  have arranged the sidebar so more basic topics (i.e., those that new
  users and experienced users alike will need to be familiar with) are
  on the top and more advanced ones are on the bottom.

  The other sections that are currently in the first half of the sidebar
  are topics that all Teleport users will need to get familiar with,
  while day two operations and self-hosted production deployments are
  more advanced topics.

- **Edited the landing page:** I have edited the landing page of the
  docs to reflect the new sidebar organization. This also makes the page
  shorter, simpler, and more opinionated. It spells out a high-level
  sequence for setting up Teleport, then provides a list of advanced
  topics for further reading.

  Links correspond to sidebar sections--as before, I wanted to describe
  the topic of each sidebar section so users would know this information
  without having to navigate away from the landing page.

* Move the "Dynamic Configuration" section

Make this a subsection of "Manage your Cluster" since it's not
self-evidently clear as a top-level docs section. Users will probably
need an introduction via the "Manage your Cluster" section intro page.

This also reverts some of the more drastic sidebar changes introduced by
the previous commit.

Responds to xinding33 feedback.

* Make IAC learning tracks prominent/hard to avoid

Closes #27751

Responds to xinding33 feedback

The motivation is to be more opinionated about the course that users
take through the docs. We currently recommend two tracks for
self-service users, i.e., the users expected to make use of the landing
page:

- Setting up a toy self-hosted Teleport cluster
- Setting up a Teleport Team/Enterprise Cloud cluster that can
  eventually become production ready

By moving the "Get Started" guide to the landing page, we direct users
immediately on to the first track. This change then gives new users a
way to enter the second track from the docs landing page with a
prominent link to the Teleport Team docs.

This change also edits The landing page to direct users who have
completed the getting started experience to instructions for setting up
a pool of agents on Terraform, helping to make infrastructure-as-code a
first-class citizen of the docs.

This change also removes the menu of links that used to confront users
on the landing page. Since all sidebar sections include introduction
pages, users interested in the content of a sidebar section can visit
the section. By removing links, we make it clearer for users how to
proceed through the docs.

* Fix linter errors

* Incorporate Trivy recommendations

* Respond to alexfornuto feedback

* Restore list of dynamic resources to the reference

* Fix linter warnings

* Remove the ".sh" extension from userdata script

The Terraform module that reads this file does not need the extension,
which was causing trouble for our shellcheck linter.
2023-06-30 15:45:37 +00:00
Alan ParraandAlex Fornuto 89e4d7381a Document Jamf service and auto-enroll (#28167)
* Use teleport.example.com as the example proxy

* Add the core Jamf guide steps

* Add sync schedule optional section

* Add the multiple sources optional section

* Add the auto-enrollment guide

* Add the Jamf service reference config

* Add words to cspell.json and sort it

* Use `--config` instead of `-c`

* Apply Alex's suggestions

* Add preview admonition to auto-enrollment.mdx
* Add scopes for auto-enrollment guide
* Add scopes for jamf-integration guide
* Remove "and restart" from Auth update instructions
* Auth restart instructions
* s/Jamf service/The Teleport Jamf service/
* Use an inline code block for external links
* s/the following/the following keys/
* Use inline code block for key names
* Use inline code block for key names
* Use inline code block for key names
* Use inline code block for key names
* Mention "local workstation" after we transition from Jamf to Teleport
* Mention Jamf service host when switching context
* Use `(=presets.tokens.second=)`
* Use `(=presets.ca_pin=)`
* Mention logs example explicitly
* Add a missing comma

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>

* Address Alex's comments

* Reflow text
* Remove redudant tsh prereqs sentence
* Add a registered device to auto-enrollment prereqs
* Use headers instead of bold

* Use a narrower image for jamf-setup-2.png

---------

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-06-27 19:54:19 +00:00
Paul Gottschling c949e201c9 Clarify the disablesse S3 backend setting (#28292)
Closes #14788

The description of the `disablesse` S3 backend setting implies that this
setting disables server-side encryption, when it actually stops the Auth
Service from enabling SSE on a per-operation basis.

Also clarify the relationship between `disablesse` and `sse_kms_key`.
2023-06-27 15:54:04 +00:00
Steven Martin 44c3c561d4 docs: default https ports for tsh login (#28188)
* docs: default https ports for tsh login

* spell fix
2023-06-26 12:43:04 +00:00
Alan Parra 0dd543acab Move "Device Trust" to a top-level docs item (#28108)
* Move "Device Trust" to a top-level item

* Split device trust page as intro and guide

* Fix links and appease linter
2023-06-22 22:27:31 +00:00
Alex McGrath 0760bc9776 Allow setting max_session_ttl from clusterauth preferences (#26824)
Document `default_session_ttl` in the reference.
2023-06-21 10:39:34 +00:00
3a0a7f87e2 Add reviewer and requester roles. (#27673)
* Add reviewer and requester roles.

Reviewer and requester roles have been added to allow for easy defaults for
reviewing and requesting applications and user groups for the Okta service.

* Update comments, add in requester/reviewer references all over docs.

* Update constants.go

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>

* Better names in resource-requests.mdx, no options for reviewer/requester presets.

* Add dbreviewer to cspell.json.

* Update init_test.go to handle the new number of presets.

* Remove access review/request role creation from resource-requests.mdx.

* Improve wording.

* Only add reviewer/requester/group access if in enterprise.

* Docs updates.

* Remove errant scoped block.

* Tune access controls getting started.

* Prevent customer roles from being overwritten by new defaults.

* Apply suggestions from code review

Co-authored-by: Nic Klaassen <nic@goteleport.com>

* Doc updates, function name updates, bootstrap label behavior changes.

* Adjust TeleportManagedLabel comment to sound less dire.

* Remove unnecessary references to reviewer/requester in the docs.

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Docs tweaks, removal of unnecessary login setting.

* Use internal resource type as discussed offline.

* Update api/types/constants.go

Co-authored-by: Roman Tkachenko <roman@goteleport.com>

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: Nic Klaassen <nic@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2023-06-20 17:21:16 +00:00
Evan Freed e1c1d2e55a General Updates and Refactors to Helm Docs (#21656)
* update helm docs

Signed-off-by: Evan Freed <evan.freed@goteleport.com>

* fix links

Signed-off-by: Evan Freed <evan.freed@goteleport.com>

---------

Signed-off-by: Evan Freed <evan.freed@goteleport.com>
2023-06-20 15:20:12 +00:00
4f0105349c docs: document label expressions (#27811)
* docs: document label expressions

This commit adds documentation for the label expressions feature
described in RFD 116.

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* use v6 role

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>

* explain setting both <kind>_labels and <kind>_labels_expression

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
2023-06-14 23:29:47 +00:00
Hugo Shaka ad3038663f helm: add hostAliases support (#27620)
* helm: add hostAliases support

* docs: remove reference to a `custom` mode for agent
2023-06-14 20:25:15 +00:00
Alex Fornuto 7e5a64c6e1 Docs: Remove nobr in tables (#27490)
* update instances of skip-version to skip-version-check

* Remove nobr tags in tables
2023-06-09 19:58:16 +00:00
Alex Fornuto 68bf918209 Docs: document labels for trusted clusters (#27032)
* alphabetize table

* add nobr tag

* add labels to table...s

* consolidate / expand label example for multiple labels

* document labels for trusted clusters

* Update docs/pages/reference/cli.mdx
2023-06-09 17:05:44 +00:00
57e2c4e204 docs: provide information on local user locks from login attempts (#25022)
* docs: provide information on local user locks from login attemps

* Update docs/pages/reference/authentication.mdx

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>

* header update

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* user variable use

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* verbiage change

* fix file reference

* Change to blocked instead of locked

* Correct words

---------

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-06-07 23:37:09 +00:00
Walt fa2b9dea69 Fix the default teleport-kube-agent upgrade server (#27504)
updates.gravitational.io does not exist, but
`updates.releases.teleport.dev does, and is the correct endpoint.
2023-06-07 15:29:03 +00:00
Brian Joerger b7fed8ae72 Fix an unintended interaction between and Proxy Templates where the environment variable is prioritized over the template. (#27492) 2023-06-06 22:58:51 +00:00
Paul Gottschling 1fff85ae85 Add scaling warning re: DynamoDB (#27369)
Closes #25170

Since we want to keep docs on configuring Teleport's backends within the
Backend Reference, add a Notice to this reference in the DynamoDB
section.
2023-06-06 20:53:48 +00:00
Steven Martin e80ecbfbd1 docs: add enterprise value for kube agent reference (#27446)
* docs: add enterprise value for kube agent reference

* correct spacing
2023-06-06 16:44:18 +00:00
Brian Joerger 8592bfacf4 Move and update Proxy Template docs. (#26969) 2023-06-02 23:40:10 +00:00
7e174f9aaf Docs: Update GitHub SSO (#26790)
* Fix erroneous command reference

* update github SSO doc

* include tctl sso test

* Apply suggestions from code review

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>

* Apply suggestions from code review

* clarify source for connectory vars...

Responding to this feedback: https://github.com/gravitational/teleport/pull/26790/files\#r1206440680

* document multiple role mappings

in response to feedback: https://github.com/gravitational/teleport/pull/26790/files\#r1206446669

* Strongly encourage testing

responding to https://github.com/gravitational/teleport/pull/26790/files\#r1206421549

* use tctl with -f

* Update docs/pages/access-controls/sso/github-sso.mdx

Co-authored-by: Krzysztof Skrzętnicki <krzysztof.skrzetnicki@goteleport.com>

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: Krzysztof Skrzętnicki <krzysztof.skrzetnicki@goteleport.com>
2023-06-01 15:11:29 +00:00
Sakshyam Shah ff08c9f5bb docs: device trust and okta provider (#27122)
* docs: device trust and okta provider

* add TESTDEVICE to cspell.json
2023-05-31 14:57:01 +00:00
Paul Gottschling a57b73f2d8 Add information about the cert-format flag (#27118)
Closes #13571

The instructions for the `cert-format` flag of `tsh` commands are a bit
vague in the CLI reference. While #19041 already fixes the `oldssh` flag
value, it's still unclear how `tsh` uses this flag. This change adds
more information. While #13571 indicates that `cert-format` is not a
true global flag, it is still a flag of the `tsh` command (not a
subcommand), so it makes sense to retain it within the "Global flags"
table.
2023-05-31 14:30:12 +00:00
Marco André Dinis aecbc5258c Update Terraform reference docs to 13.0.3 (#26502)
* Update Terraform reference docs to 13.0.2

* add cspell exception for mygroup

* only escape lt and gt and update to 13.0.3
2023-05-26 16:55:22 +00:00
Paul Gottschling 812a7ee350 Refresh port descriptions (#25560)
* Refresh port descriptions

Closes #22839

Clarify that agents do not need to have ports open to the public
internet. Also update the networking guide's use of Teleport terms,
e.g., replacing "Node" as appropriate, and separate Auth Service ports
from Proxy Service ports in the "Self-Hosted" tab since production
deployments may run these services separately.

* Respond to strideynet feedback

* Respond to strideynet feedback

* Simplify Application Service paragraph
2023-05-25 18:51:07 +00:00
Grzegorz ZdunekandAlex Fornuto 8e5fe640a7 Add docs for shell completion (#26596)
* Add docs for shell completion

* Address Zac's comments

* Apply suggestions from Alex

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>

* Do not mention bash_profile

* update cspell

* Remove 'After that'

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>

---------

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-05-23 14:57:59 +00:00
Zac Bergquist ab55f24305 docs: mention missing delete permission for GCS buckets (#26506)
GCS does not implement the S3 multipart API, so we emulate it
by uploading parts and manually "completing" the upload.
The delete permissions is required in order to assemble the
individual parts.
2023-05-22 20:04:31 +00:00
Paul Schisa 3588d98fd8 Update backends.mdx to remove incorrect comment (#26447)
remove the comment saying Teleport won't start without the Firestore backend existing.  This is wrong and contradicted by the first bullet point below the example
2023-05-19 13:51:48 +00:00
Paul GottschlingandSteven Martin a6b60741b6 Describe tsh ls support for multiple labels (#25802)
Closes #12575

Edit the CLI reference to indicate that `tsh ls` can support multiple
label argument values, resolving a longstanding TODO.

Co-authored-by: Steven Martin <steven@goteleport.com>
2023-05-18 19:43:38 +00:00
Steven Martin 60f6f0a59c docs: include DynamoDB streams as required in storage backend (#26171)
* docs: include DynamoDB streams as required in storage backend

* word correction
2023-05-16 17:29:35 +00:00
Alex Fornuto f223ba76b5 remove opened var when set to false (#26245) 2023-05-16 15:44:43 +00:00
MichaelandSteven Martin fecced1d4e [docs] Include File Transfers in moderated sessions docs (#26032)
* [docs] Include File Transfers in moderated sessions docs

* Fix typo

* Add note in tsh scp reference

* Update docs/pages/access-controls/guides/moderated-sessions.mdx

Co-authored-by: Steven Martin <steven@goteleport.com>

* Add screenshot

* Update docs/pages/access-controls/guides/moderated-sessions.mdx

Co-authored-by: Steven Martin <steven@goteleport.com>

* Update moderated-sessions.mdx

---------

Co-authored-by: Steven Martin <steven@goteleport.com>
2023-05-15 16:55:30 +00:00
Tiago Silva 5627c2aa2f Fix Helm chart Join token secret creation (#26055)
* Fix Helm chart Join token secret creation

Since #20763 was merged, we lost the ability of the chart reusing the
externally created secrets for join token.

This PR changes the logic and allows to control the secret creation
using the `joinTokenSecret.create` boolean and the secret name with
`joinTokenSecret.name`.

Fixes #20763

* Add changelog
2023-05-12 21:39:36 +00:00
Paul Gottschling be539c59d0 Clarify Auth Service backend permissions (#23323)
* Clarify Auth Service backend permissions

Closes #22482

This change clarifies descriptions of:

- IAM permissions that the Auth Service requires in order to manage S3
  buckets and DynamoDB tables
- When the Auth Service needs to create an S3 bucket/DynamoDB table

Specific edits:

- Add tabs to the partials we use to describe S3 and DynamoDB IAM
  policies. One tab item is for cases where the Auth Service creates a
  bucket/table, and another tab item is for when you have a pre-existing
  bucket/table.
- Remove an extraneous H3 in the Backends Reference re: the required
  DynamoDB policy. This H3 includes a very permissive policy, while
  another H3 in the same page includes a policy with more reasonable
  permissions. The more permissive H3 must have been left in the page by
  mistake.
- Clarify permissions in the HA guide.

* Respond to webvictim feedback

* Respond to alexfornuto feedback

* Respond to webvictim feedback

Add a comment above the function that creates a DynamoDB table to change
the docs if the schema changes.

* Respond to alexfornuto feedback
2023-05-11 15:53:48 +00:00
Zac Bergquist dd3c0eb271 tctl: improve alert ack flows (#26029)
* Make --reason required for `tctl alert ack`

The backend requires a reason, so by having it optional in the CLI
it just means we have to make a network request in order to get
an error.

Also update the docs to indicate that this is not optional.

* tctl: show acknowledged alerts when the -v flag is provided

* Add a --format flag for tctl alerts ls

This makes it easier to programatically operate on the alerts.
2023-05-10 23:08:17 +00:00
Michael WilsonandRoman Tkachenko 68d4c4a679 Okta documentation. (#25580)
* Okta documentation.

Okta documentation has been added for the Okta service. This aims to explain
the Okta service and give simple examples.

* Typo fixes, comment fixes, naming fixes.

* Reorganization of Okta docs, fixing typos, adding in images and tuning wording.

* Use an architecture image for now until mermaid support can be reenabled.

* Correct spellings.

* Update docs/pages/application-access/okta/guide.mdx

Co-authored-by: Roman Tkachenko <roman@goteleport.com>

* Correct architecture diagram.

* Linting fixes.

---------

Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2023-05-09 17:58:02 +00:00
3c9a8198c6 docs: document the updater (#24628)
* docs: document the updater

This commit adds the updater documentation covering:
- its architecture
- how to setup a self-hosted version server for on-prem users
- how to enroll an agent into automatic updates
- the `cluster_maintenance_config` resource reference

The PR currently restricts the automatic update scope to enterprise and
cloud. Technically oss users could benefit from it but we don't have an
oss package yet. Hopefully this should happen post 13.0 release.

* add new page to section index and sort

* Apply suggestions from code review

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>

* docs feedback pt.1

* docs feedback pt.2

* fix tabs and edit innards

* Apply suggestions from code review

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>

* docs feedback pt.3

* docs feedback pt.4

* Apply suggestions from code review

Co-authored-by: Roman Tkachenko <roman@goteleport.com>

* docs feedback pt.5

* mark as preview

---------

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2023-05-09 14:18:02 +00:00
Hugo Shaka 2b0532b347 helm: warn about teleportVersionOverride and scratch risks (#25601) 2023-05-05 22:14:03 +00:00
Steven Martin 45341c223f docs: move docs links from absolute to relative (#25728)
* docs: move docs links from hard-coded to relative

* fix links
2023-05-05 19:32:45 +00:00
Zac Bergquist 0519712bd6 docs: mention Machine ID where tctl auth sign is used (#25565)
Machine ID is often a better option than `tctl auth sign` when
Teleport certificates are required for automation purposes.
This commit mentions Machine ID as an option in several areas
where we currently recommend the tctl approach.

In the future, we should update some of these guides (or make new
ones) to list Machine ID as the primary approach, but that's a larger
change and I wanted to get something out that can highlight Machine ID
as an option right away.
2023-05-03 21:07:27 +00:00
Paul Gottschling 2a7be957f4 Simplify the Getting Started experience (#25415)
This change makes the experience of getting started with Teleport more
opinionated and more precisely molded around our intended audience. The
assumption is that people who want to go through our getting started
experience are skilled technologists who:

- Are curious about how Teleport works and want to tinker with a toy
  cluster
- Need to set up a production cluster in order to protect their
  infrastructure, in which case a toy cluster is less important than a
  way to get started with the real thing

Promote the "Linux Server" guide
--------------------------------

Make the "Linux Server" guide the definitive introduction to OSS
Teleport by removing other "Try out Teleport" guides and moving this one
to the "Home" section. We want to remove the need for users to decide
which getting started guide to try, and this guide is the only one that
lets users spin up a fully fledged demo cluster besides the Digital
Ocean guide.

To let users know about the DigitalOcean 1-Click droplet, this change
links to our DigitalOcean 1-Click app from within the Linux Server
guide. It also advises users who don't meet the Linux Server guide
prerequisites to sign up for a Teleport Enterprise Cloud free trial.

This change also removes the Docker guide and redirects Docker-related
traffic to the Installation page, since the Docker guide is more of a
Getting Started guide than an integration guide, and our Installation
page already includes Docker setup information.

Edit the Linux Server getting started guide
-------------------------------------------

- Remove Application Service instructions, since it can turn off users
  who, for example, don't use Python or don't want to run the
  Application Service (plus we already mention it at the end of the
  guide for users who do want to run this service).

- Update installation instructions to use our one-liner.

- Make this guide more explicitly focused on the Open Source edition,
  removing Enterprise instructions. Users who want to tinker with
  Teleport will not be interested in the Enterprise edition.

- Add session recording instructions. Most of the content of the Linux
  Server guide has to do with setting up Teleport, rather than seeing
  Teleport features, so I wanted to adjust this balance a bit.

- Remove the permission warning. It takes up around 1/4 of the screen
  height when viewing the page, and we expect our intended audience to
  know this information already.

Change the Enterprise information architecture
----------------------------------------------

- Remove the Enterprise "Getting Started" guide: This guide shows you
  how to deploy a demo Teleport Enterprise cluster, which is sort of a
  contradiction in terms. Enterprise users expect a production-grade
  cluster, which is not what you get in this guide.

- In the Enterprise Introduction page, include instructions to read the
  Deployment Guides, which show how to set up a mature HA deployment,
  plus a recommendation to use Teleport Enterprise Cloud unless you need
  the Enterprise-specific features explained in this guide.
2023-05-02 21:18:28 +00:00
Paul Gottschling 4727bc6634 Change Helm reference --set formatting (#24944)
* Change Helm reference `--set` formatting

Closes #9686

Since the `--set` flag examples aren't commands, this change removes the
shell prompts and changes code fence labels from `code` to `text`.

* Remove --set examples from Helm references

Keep the values.yaml examples. Used the following script to generate the
change:

files="$(find docs/pages/reference/helm-reference -name "*.mdx")";

for i in $(echo "$files"); do
    tmp=$(awk 'BEGIN{yaml=""}
    /<Tabs>/{t=1}
    t==1 && /```yaml/{y=1; yaml="`values.yaml` example:\n\n"}
    y==1{yaml = (yaml "\n" $0)}
    y==1 && /```$/{y=0; print yaml; yaml=""}
    t==1 && /<\/Tabs/{t=0; next}
    t==0{print $0 }' $i)
    echo "$tmp" > $i;
done
2023-05-02 19:23:00 +00:00
Paul Gottschling 9abbb9e3a1 Add docs subsection about joining services (#23869)
* Add docs subsection about joining services

Closes #21851
Also see #21305

Restructure the "Adding Nodes" guide to make joining Teleport processes
via the Proxy Service the default approach. Make it easier for users to
put these instructions in the context of our other joining methods by
creating a separate docs subsection for our joining guides.

This change also updates the previous "Adding Nodes" guide based on
testing.

This also renames "Node" to "Teleport process" and clarifies the
distinction between running a Teleport process and running services on
the process.

* Respond to zmb3 feedback

* Respond to alexfornuto feedback

* Improve the "Join Token" guide descriptionA

Makes this guide consistent with
df3e36e49e

* Move the Kubernetes guide

* Fix spelling

* Linter fixes
2023-04-18 16:42:50 +00:00
Nic Klaassen 03e361b6b3 docs: Login Rules Terraform docs (#23855) 2023-04-17 16:20:35 +00:00
Zac Bergquist 53f38b66fa Document alert acknowledgement (#24402)
Closes #24372
2023-04-12 21:28:01 +00:00
Paul Gottschling eef7063c89 Clarify that "local" is not an auth connector (#24339)
Closes #10761

There are a few lingering places in the docs implying that "local" is a
kind of authentication connector, instead of the absence of one.
2023-04-12 14:43:23 +00:00
Brian Joerger 66f1535c1e * Add --mlock flag with auto, off, best_effort, and strict options. (#24236)
* Default headless to --mlock=best_effort to reduce errors to a debug
  log.

* Add error for non-linux operating systems using headless.

* Add a better mlock error message and add corresponding troubleshooting
  docs.
2023-04-11 17:27:26 +00:00
Paul Gottschling 1ee16dda12 Tweak messaging to anticipate a new linter (#22270)
In gravitational/docs#238, we will add a linter that lints for incorrect
usage of Teleport terms. This change fixes linter violations to
anticipate this new linter.

Changes include:

- Ensuring that Teleport service names are capitalized
- No longer using the "[Resource] Access" terminology. Instead, talk
  about adding resources, using Teleport services, etc.
2023-04-11 16:42:00 +00:00
Paul Gottschling afc449e01a Add caveat re: the audit event list (#24332)
Closes #22988

Note that the list is not comprehensive and recommend exporting events.
2023-04-11 16:28:20 +00:00
Paul GottschlingandSteven Martin e667486c31 Support spellchecking in docs content (#23783)
* Support spellchecking in docs content

In gravitational/docs#261, we will add a script that checks the spelling
of each version of the docs. This change edits one version of the docs
content to support this, including:

- A cspell configuration file
- A new step in the GitHub Actions in the "Lint (Docs)" workflow that
  runs the spellcheck script we will add in `gravitational/docs`
- Fix mispellings so this passes the lint job. The mispellings are in a
  file that we generated automatically, but there are few enough of
  them, and we haven't merged the auto-generation script yet, that I
  think it makes sense to fix them in the generated file for now.

* Respond to PR feedback

- Remove misspellings from the ignore list
- Sort the ignore list (and format it via prettier)

* Use the new yarn spellcheck command

* Spelling fixes

* spell fixes and add words to cspell.json

---------

Co-authored-by: Steven Martin <steven@goteleport.com>
2023-04-08 01:25:30 +00:00
Paul Gottschling df3e36e49e Add longer meta descriptions to high-traffic pages (#24296)
Longer meta descriptions lessen the likelihood that Google will
automatically determine the description of a page within search results.
2023-04-07 22:09:38 +00:00