Commit Graph
32 Commits
Author SHA1 Message Date
Paul GottschlingandAlex Fornuto a93aaa7e6e Fix linter issues (#21677)
An issue with `gravitational/docs` caused the docs linter to stop
catching issues for a period of time. Now that we have addressed the
linter issue, this change addresses warnings/errors flagged by the
linter.

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-02-13 17:07:00 +00:00
Hugo ShakaandGus Luxton cddd09960c helm: allow to set security contexts in teleport-kube-agent (#21076)
* helm: allow to set `initSecurityContext` in `teleport-kube-agent`

* Apply suggestions from code review

Co-authored-by: Gus Luxton <gus@goteleport.com>

* fixup! helm: allow to set `initSecurityContext` in `teleport-kube-agent`

---------

Co-authored-by: Gus Luxton <gus@goteleport.com>
2023-02-08 22:28:00 +00:00
Alex Fornuto e5dfcb9668 fix lint-breaking spacing (#21351) 2023-02-06 22:44:02 +00:00
Hugo ShakaandAlex Fornuto 66104e65a9 docs: fix helm reference (#21325)
Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-02-06 19:02:09 +00:00
Hugo Shaka 03708a8011 helm: disable PSPs on 1.23 and document PSA usage (#21258)
* helm: disbale PSPs on 1.23 and document PSA usage

In 1.25 Kubernetes removes PSP support, this has 2 consequences:
- Helm will break after upgrading if PSPs are deployed
- We cannot set security policies anymore

This commit documents those two behaviours and makes the chart disable
PSPs on 1.23 and higher to ensure a smooth upgrade path.

* helm: Remove stale 'migrate from legacy charts' guide
2023-02-06 15:39:01 +00:00
Paul GottschlingandAlex Fornuto 06bf633ab5 Remove Auth/Proxy instructions from DB guides (#20308)
* Remove Auth/Proxy instructions from DB guides

Closes #11538

A number of our Database Service guides instruct the user to install the
Auth Service and the Proxy Service. For users who have already set up
these services, these instructions add friction. For users who have
_not_ set up these services, Teleport has existing instructions that
users can follow instead.

This change edits our Database Access guides to require the user to have
a running Teleport cluster as a prerequisite, in line with how-to guides
in other sections of the docs.

Note that, while the issue this change closes is to add Auth/Proxy
Service setup instructions to _more_ places in the docs, this change
follows our style guide recommendation (#20024) to add steps to the
Prerequisites section if we have them documented elsewhere and they
don't directly pertain to the goal of a how-to guide.

* Respond to PR feedback

Change H3s to H2s

---------

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-02-03 23:22:57 +00:00
Hugo Shaka 2b3b9f7bf8 docs: Document teleport-cluster v12 Helm chart (#19881) 2023-02-02 15:37:08 +00:00
Zac BergquistandAlex Fornuto a5932e3244 docs: remove references to old Teleport versions (#21099)
* docs: remove references to old Teleport versions

With the release of Teleport 12, the oldest supported version of
Teleport will be Teleport 10. This commit removes some references
to Teleport 7 and Teleport 8. The docs for those versions are no
longer available on goteleport.com, so it's safe to assume that
readers are on a more recent version.

* Update docs/pages/management/guides/joining-nodes-aws-ec2.mdx

---------

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-02-01 21:57:58 +00:00
Hugo Shaka b23dcd680a helm: default 2fa to on instead of otp (#20631)
This change adds support for FIDO2/webauthn/hardware tokens by default.
OTP 2fa fill remains functional. This is a major change and should be
part of a major release, even if this should be seamless for most users.

Warning: `webauthn.rp_id` should not change in the cluster life, else
2fa tokens will have to be re-registered.

Users accessing the cluster under a different name than `clusterName`
will have to set rp_id
(`auth.teleportConfig.auth_service.authentication.webauthn.rp_id`) to be
able to register second factors. As we strongly encourage users to have
a resolvable `clusterName` and `publicAddr` support got added recently,
this seems an acceptable edge case.
2023-01-25 13:10:25 +00:00
Steven Martin 12c9b5660c Point at source version in docs rather then generic master. (#20299) 2023-01-17 14:48:47 -05:00
Yann Toqué deb332709f feat(teleport-cluster chart): Add nodeSelector field
see https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
Levering this field allows to place pod associated with the deployment to be on the specified node

Signed-off-by: Yann Toqué <toqueyann@gmail.com>
2023-01-12 19:44:06 -05:00
Hugo Shaka 46e949a2f6 helm: support passing raw config in teleport-kube-agent (#20129)
This commit implements arbitrary configuration passing to Teleport, like what was done for the `teleport-cluster` in https://github.com/gravitational/teleport/pull/18857. This allows users to deploy services or set fields the chart does not support.

The huge snapshot diffs are caused by order changes in the config (the YAML export orders keys alphabetically). I validated that the old and new snapshots were strictly equivalent with the following python snippet:

```python
import yaml
import pathlib
import deepdiff

old = yaml.safe_load(Path("./config-snapshot.old").open())
new = yaml.safe_load(Path("./config-snapshot.new").open())

old_content = { k: yaml.safe_load(yaml.safe_load(v[1])["data"]["teleport.yaml"]) for (k,v) in old.items() }
new_content = { k: yaml.safe_load(yaml.safe_load(v[1])["data"]["teleport.yaml"]) for (k,v) in new.items() }

diff = deepdiff.DeepDiff(old_content, new_content)
print(diff)
```
2023-01-12 21:32:03 +00:00
Hugo Shaka ab51a9b5ea helm: support dnsConfig in teleport-kube-agent chart (#20096)
Adds support for `dnsConfig` and `dnsPolicy` configuration in the `teleport-kube-agent` chart.
2023-01-11 19:57:20 +00:00
Paul GottschlingandSteven Martin 9492589090 Describe enabling services in the config reference (#19440)
* Describe enabling services in the config reference

Closes #4214

Add a section to the configuration reference indicating which Teleport
services must be enabled/disabled explicitly so they run when Teleport
starts.

The configuration reference wasn't divided into H2s before this, so I
have organized the long Admonition that begins the section into H2s as
well.

* Respond to PR feedback

Co-authored-by: Steven Martin <steven@goteleport.com>
2022-12-20 14:35:57 -05:00
Paul Gottschlingandalexfornuto 9efa8094e7 Update the teleport-kube-agent reference (#17851)
* Update the teleport-kube-agent reference

Fixes #17578

Document values fields and behavior introduced by #13942.

Since the teleport-kube-agent chart now deploys more resources--and
deploys them based on more sophisticated logic--this change lists the
resources deployed by this chart and describes the conditions in which
this chart deploys them.

* Respond to PR feedback

- Fix the legacy behavior description at the top of the refernece. Also
  add this to its own H3 since it is getting a bit lengthy.

- Note that *-hook resources are removed after the upgrade finishes.

- Note that `serviceAccountName` is deprecated and expand the
  `serviceAccount.name` entry a bit.

- Add a note re: storage not being required to the "New chart
  installations" section.

- Clarify `storage.enabled` in relation to upgrades

* format tables

* add br tags to service table

In order to display the service name without a line break mid-word.

* adjust br tag placement

To avoid breaking the first column

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
2022-11-16 21:29:50 +00:00
Paul Gottschling 44e23e18c5 Remove the Jira Server Access Plugin guide (#17546)
Closes #14578

The Jira Cloud guide applies to all Jira deployments already, so we
don't need to maintain separate guides. This change renames the Jira
Cloud guide so it's about Jira in general.
2022-11-04 20:28:58 +00:00
Gus LuxtonandPaul Gottschling ad924f4065 Add callouts to docs and Helm values for Kubernetes 1.23+ on EKS (#18006)
* Add callouts to docs and Helm values for Kubernetes 1.23+ on EKS

Kubernetes 1.23 introduced a requirement for EKS clusters to use a CSI (container storage interface) driver addon to provision EBS volumes as persistent volumes. Kubernetes 1.23 is now the default for new EKS clusters and since our chart uses persistence in its default mode, it will fail to deploy on EKS without this additional driver being installed.

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-11-02 20:18:39 +00:00
Steven Martin 0673d9e06b spell fixes (#17988) 2022-11-01 15:09:20 +00:00
153347e795 azure db discovery helm chart (#16867)
* Update teleport-kube-agent readme

* Add values.yaml and schema changes for azure dbs

* Add azure discovery helm lint

* Add azure discovery helm tests

* Fix schema and update snapshot

* Update lint

* Update helm chart docs reference

* Update readme

* Update docs/pages/reference/helm-reference/teleport-kube-agent.mdx

Co-authored-by: Isaiah Becker-Mayer <isaiah@goteleport.com>

* Move yaml lint note to include snippet

* Update docs/pages/reference/helm-reference/teleport-kube-agent.mdx

Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>

* Update docs/pages/reference/helm-reference/teleport-kube-agent.mdx

Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>

* Add azureDatabases to list of required resources for db role in docs

* Update readme to link to docs

* Provide complete example yaml for azure db discovery helm chart

* s|dbResources|databaseResources|g in helm chart reference

* Remove --set tabs for aws and azure databases from chart reference

* Update lint to use secret as example too

* Update azure db discovery helm chart snapshot

* Update docs/pages/reference/helm-reference/teleport-kube-agent.mdx

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

* Update docs/pages/reference/helm-reference/teleport-kube-agent.mdx

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

* Update docs/pages/reference/helm-reference/teleport-kube-agent.mdx

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

* Update docs/pages/reference/helm-reference/teleport-kube-agent.mdx

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

* Update docs/pages/reference/helm-reference/teleport-kube-agent.mdx

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

* Update docs/pages/reference/helm-reference/teleport-kube-agent.mdx

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

* Remove shell vars in readme since we dont provide a command

Co-authored-by: Isaiah Becker-Mayer <isaiah@goteleport.com>
Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>
Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2022-10-20 18:20:32 +00:00
49160f64b4 pr-buddy: helm: support join_params in teleport-kube-agent chart (#16351)
This contribution adds the following feature
- support for `joinParams` value to join using EC2 and IAM tokens

The PR contains the following fixes
- Fix previous secretName documentation that was incorect
- Reword authToken and joinParams documentation to explicit how values interact together
- Add unit test with `joinParams.method = token`
- Add unit tests checking secret creation
- Mark joinParams.method mandatory in JSONSchema
- Always use join_params to pass tokens
* Document requirements for IAM joining

Co-authored-by: Guilherme Sponda <sponda@archlinux.com.br>
Co-authored-by: Guilherme Sponda <guilherme.sponda@audibene.de>
2022-10-17 20:45:04 +00:00
Paul Gottschling 82b199f2c0 Fix broken links (#17003)
Two links didn't render correctly and preserved the ".mdx" extension,
causing 404s for crawlers. This removes the scope param to get link
rendering to work.
2022-10-10 16:46:09 +00:00
Tiago Silva d3bc7bd7f4 Add option to disable the ServiceAccount creation for teleport-kube-agent chart (#16876)
When assigning AWS IAM permissions to Teleport, `eksctl create iamserviceaccount` command manages the ServiceAccount lifecycle. 

This PR allows any user to configure an existing Kubernetes ServiceAccount used by the agent.

Part of #11866
2022-10-03 16:25:51 +01:00
Bence Kiglics 41474a021d Add documentation for Slack Helm chart (#13726)
It includes an updated guide and the reference of the new Helm chart.
2022-09-26 10:11:17 +00:00
Hugo Shaka 1cf949e5c4 helm: add minReadySeconds to teleport-cluster chart (#16465)
Fixes #13129

This PR sets minReadySeconds to 15 by default. During a rollout we still have proxies that don't have tunnels to all agents, but at least agents don't end up with 0 active tunnels.
2022-09-23 14:20:03 +00:00
Paul Gottschling c423c08fd3 Refresh the Enterprise Getting Started guide (#15780)
* Refresh the Enterprise Getting Started guide

Fixes #14249

Edit the Enterprise Getting Started guide based on manual testing to
make the guide up to date and easier to follow.

- Update the architectural description in the introduction
- Structure the guide, following out Linux Server guide for open source
  installations, to include Application Access
- Add DNS instructions rather than using the `--insecure` flag
- Add copy-pastable installation instructions
- Flesh out the license file instructions and add a screenshot of the
  customer portal
- Simplify the instructions for adding a local user
- Remove the docker-compose instructions, since we want the user to
  finish setting up a minimal Teleport cluster by the end of the guide,
  and these instructions begin a new step-by-step sequence. We also have
  a separate docker-compose guide that users can follow for a local
  demo
- Add a "Next steps" section and move relevant content there

* Respond to PR feedback
2022-09-21 16:27:36 +00:00
Hugo ShakaandPaul Gottschling 920495c6d7 helm: allow custom CA in teleport-cluster without custom certs (#16325)
Provides a solution for #9298

This removes an unnecessary limitation of the Helm chart: `.Values.tls.existingCASecretName` can now be used without `.Values.tls.existingSecretName`. This allows users to trust their own CAs without building custom images.

Context:
- go's x509 library supports loading system certs based on the SSL_CERTS_FILE environment variable
- we are already using this in the chart to trust private CAs (teleport proxy needs to trust its own certs to start)
- users might want to trust custom CAs to
  - speak with a S3 backend (minio)
  - validate upstream app certs (unlike DB access you can't trust certs per-application)
  - trust another cluster
  - call an OIDC provider
- teleport-kube-agent chart already has the feature

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-09-16 15:53:35 +00:00
c67130052f helm: Add conditional creation of serviceAccount (#16337 and #11895)
Add conditional creation of `serviceAccount` in both `teleport-cluster` and `teleport-kube-agent` charts.

Signed-off-by: Hugo Hervieux <hugo.hervieux@goteleport.com>
Co-authored-by: nickolanick <biliaievnk@gmail.com>
Co-authored-by: Gus Luxton <gus@goteleport.com>
Co-authored-by: Mykola Biliaiev <mykola@firebolt.io>
2022-09-13 12:25:19 +00:00
Bence Kiglics c522b38383 Add documentation for MatterMost Helm chart (#13728)
Includes an updated guide and the reference of the new Helm chart.
2022-09-08 11:49:30 +00:00
Bence Kiglics 5e476ed17d Add documentation for PagerDuty Helm chart (#13729) 2022-08-31 15:57:20 +00:00
Bence KiglicsandPaul Gottschling 6e246ab5c9 Add documentation for Jira Helm chart (#13730)
* Add documentation for Jira Helm chart

It includes an updated guide and the reference of the new Helm chart.

* Fixed some minor mistakes in the guides

* Reorganized Helm related examples

* Fixed a few minor mistakes

* Alphabetized jira.* settings

* Renamed Cloud to Executable in Testing

* Extended YAML config example with explanation

* Edit Jira Access Request plugin Helm chart docs

- Edit the configuration instructions so we don't instruct Helm users to
  use the `configure` subcommand. Also use the `Tabs` component's
  dropdown functionality so we can include both self-hosted and Teleport
  Cloud instructions for Helm and VM users.

- Minor style tweaks.

* Add Helm Chart example to Installation section

* Removed confusing (and broken) link
git push

* Fixed wrong default value

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-08-26 12:23:07 +00:00
Logan Davis 6cbc9e1142 Update helm chart snapshots and tests for amazon ECR Public (#15355) 2022-08-23 16:03:40 +00:00
Paul Gottschling 91c89b6126 Organize docs guide sections chronologically (#15357)
* Organize docs guide sections chronologically

This change aims to make docs navigation easier by organizing some docs
sections according to the sequence of steps a user would take to set up
Teleport.

The current docs organization uses a variety of categories and schemes
to organize the docs. For example, there is a "Home" section that
includes the Changelog, Installation page, and Getting Started guides; a
"Setup" section that includes references and admin guides; and
edition-specific sections (Enterprise, Cloud). For a user who is setting
up Teleport--or who has already done some setup work and wants more
advanced instructions--it's difficult to know where in the docs to find
the right information.

This change organizes our how-to guides into the following categories
that describe the process of setting up Teleport:

- Try out Teleport
- Deploy a Cluster (including choosing an edition)
- Configure Access (including SSO, RBAC, and Access Requests)
- Manage your Cluster (admin guides, operations, etc.)
- Use Teleport (this section already exists)

I moved the Reference section after this chronology, since users can
access the reference guides anywhere in the setup process.

As part of the change, I have also moved the content from the
"Enterprise" and "Cloud" sections into "Deploy a Cluster", since this
content has to do with how to deploy a specific edition of Teleport.

Note that this change does _not_ attempt to reorganize our
protocol-specific sections. While adding resources is part of the
Teleport setup process, we have a lot of content in our
protocol-specific sections, and moving it all into a single section
related to adding resources to a cluster would (a) exceed the maximum
depth for subsections in the nav bar and (b) cause more confusion than
it alleviates.

* Respond to PR feedback

- Create a "Compliance Frameworks" section of "Configure Access" with
  the FedRAMP and SOC 2 guides
- Rename "Use Teleport" to "Connect your Client"
- Move the database GUI client guide into "Connect your Client"

* Add redirects

* Fix linter issues
2022-08-22 19:45:32 +00:00