Commit Graph
336 Commits
Author SHA1 Message Date
Paul Gottschling 127184f0a8 Break up /database-access/guides/ (#38574)
* Break up /database-access/guides/

Closes #17641

Organize the guides to enrolling databases in specific cloud providers
(or self-hosted databases) into separate subsections of the "Database
Actions" section, organized by cloud provider (or self-hosted).

We can later add general information to the index page of each
subsection about how Teleport database access works for each cloud
provider. The remaining guides in the "Guides" subsection have to do
with database-agnostic functionality of the Teleport Database Service.

This change also adds a redirect for each page it moves.

* Respond to greedy52 feedback

- In the "Database Access" intro page, move the self-hosted section
  first in the list of links to database-specific guides so it's less
  easy to miss.
- Change "AWS" to "Amazon" in product names.

* Fix linter issues

* Remove redirects added by the DB guide reorg

This prevents us from running into Vercel route limit issues, since the
number of redirects is large.
2024-05-14 20:44:59 +00:00
Gavin Frazar e1c47c0f21 fix docs step numbering (#41508) 2024-05-14 19:16:18 +00:00
Tiago Silva ee42b77138 Allow configuring clusterDomain in teleport-cluster helm chart (#41311)
This PR allows users to set `clusterDomain` to match Kubernetes Cluster
domain address when running clusters with non default cluster domains.

Fixes #41165

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2024-05-08 18:21:48 +00:00
Hugo Shaka 8399e0b1c4 generate chart references from values (#41167)
* generate chart references from values

* fixup! generate chart references from values

* Make documentation linter happy

* Fix jira values + bad slack copy-paste
2024-05-02 20:58:56 +00:00
Gus Luxton e5b16f6f00 helm: Fix incorrect logo path in Chart.yaml (#41134)
Fixes #39570
2024-05-02 12:58:14 +00:00
Gavin Frazar 2917648750 add node permissions to operator (#41082) 2024-05-01 17:21:12 +00:00
Hugo ShakaandNiek den Breeje 13e9d2f2da charts/teleport-cluster: configurable podSecurityContext (#40945)
* Configurable podSecurityContext for auth and proxy deployments

* Lint podSecurityContext for Teleport Cluster chart

* Test podSecurityContext for auth and proxy deployments

* PodSecurityContext schema for Teleport Cluster chart

* Document podSecurityContext for Teleport Cluster chart

---------

Co-authored-by: Niek den Breeje <n.denbreeje@guardian360.nl>
2024-04-26 14:21:42 +00:00
Hugo Shaka 21347e95b8 Add Access Monitoring configuration to the chart (#40765)
* Add Access Monitoring configuration to the chart

* fix configuration
2024-04-26 14:21:39 +00:00
Hugo Shaka bdba571a29 Add extra volumes to the teleport updater (#40915)
* add volume mounnts in kube-agent updater

* update docs
2024-04-26 13:18:05 +00:00
Hugo Shaka 22c1483945 Render slack chart reference from values (#40374)
* Render slack chart reference

* Show the plugin in the repo index

* fix broken doc syntax

* fix link

* fix link
2024-04-25 19:50:33 +00:00
Hugo Shaka 74d43828a6 fix YAML messing session_recording type in chart (#40887)
* fix YAML messing session_recording type in chart

* update snapshot
2024-04-25 19:47:03 +00:00
Hugo Shaka 1352a8db0a add extraLabels support (#40884) 2024-04-25 16:28:17 +00:00
Zac Bergquist 8cd1c429f5 Fix up some poor wording (#40832)
Closes #40294
Closes #39172
2024-04-23 22:01:41 +00:00
Taras 18e3fd1e18 helm: Expose flag to enable/disable passwordless auth (#40651)
* helm: Expose flag to enable/disable passwordless auth

* Add lint/snap for "passwordless"

* Use relative link
2024-04-22 14:34:17 +00:00
Anton MiniailoandHugo Shaka 7ec26dd1fb Mention in the documentation that we ignore "kube-system" and "kube-public" namespaces for kube app discovery (#40529)
* Mentioned in the documentation that we ignore "kube-system" and "kube-public" namespaces for kube app discovery.

* Use admonition

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

* Rerender kube agent docs

---------

Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>
2024-04-12 22:21:01 +00:00
Noah Stride c8f13946a8 Fix tpm joining protobuf oneof (#40514)
* Fix tpm joining protobuf oneof

* See if Buf will allow me to reuse the indexes outside of oneof

* Regen protos

* Tactical renaming

* Update CRDs
2024-04-12 19:16:44 +00:00
Hugo Shaka d653405c28 Vendor plugin charts (#40373)
* vendor plugin charts

* add tests and version update
2024-04-10 12:59:58 +00:00
Noah Stride 0590d724c5 Add Protos for TPM Joining (#40307)
* Add protos for TPM joining

* Add `*proto.UnimplementedJoinServiceServer` to `JoinServiceGRPCServer`

* Update CRDs
2024-04-09 12:26:27 +00:00
Sakshyam Shah bdba1a65c2 remove saml_idp_service_provider_labels and saml_idp_service_provider_labels_expression (#40047)
* reserve 40, 41 tag numbers for RoleConditions

* remove GetSAMLIdPServiceProviderLabels and SetSAMLIdPServiceProviderLabels

* remove SAMLIdPServiceProviderLabels from label matchers and rolev6 test

* run make -C integrations/operator manifests
2024-03-29 20:22:48 +00:00
Hugo Shaka 81c512f711 Improve CRD display in kubectl (#39985)
* add support for additional CR columns

* re-render CRDs

* lint
2024-03-28 21:34:09 +00:00
Hugo Shaka e77e5e080b Allow the operator chart to deploy CRDs separately (#39382) 2024-03-27 20:37:20 +00:00
Hugo Shaka 9784347b26 helm: support Athena backend (#39801)
* add aws athena support

* update reference

* improve test readability

* address feedback
2024-03-27 16:02:05 +00:00
Zac Bergquistandpgreidanusupgrade d40a36b186 yaml lint fix on agent roles (#39846)
Signed-off-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: pgreidanusupgrade <91497290+pgreidanusupgrade@users.noreply.github.com>
2024-03-26 17:47:44 +00:00
Hugo Shaka 7ffd399a3c Document enum possible values in protobuf messages (#39542)
* Document enums for the generators

* regenerate protobuf and CRDs

* render CRDs
2024-03-21 19:02:19 +00:00
Trent Clarke bf92fc5f26 Removes AccessList Membership & Ownership fields from protobuf (#39481)
Following on from #39222; removes and reserves the obsolete AccessList
membership and ownership fields from the API protobuf messages.
2024-03-19 07:58:07 +00:00
Sakshyam Shah bf50fba4a4 Add saml_idp_service_provider label and label expression to RoleConditions (#39039)
* SAMLIdPServiceProviderLabels and SAMLIdPServiceProviderLabelsExpression proto def

* GetSAMLIdPServiceProviderLabels and SetSAMLIdPServiceProviderLabels funcs

* add KindSAMLIdPServiceProvider to labellabel and Set/GetLabelMatchers

* add to SAMLIdPServiceProviderLabels  CheckAndSetDefaults, tests

* remove default SAMLIdPServiceProviderLabels wildcard value. Merge checkAndSetDefault test

* run make -C integrations/operator manifests

* rerun make -C integrations/operator manifests

* update e-ref to current master
2024-03-07 16:14:12 +00:00
Paul Gottschling 91480dae09 Add a Discovery Service section (#38848)
* Add a Discovery Service section

Closes #38741

Add a dedicated sidebar section for the Teleport Discovery Service.
Since the Discovery Service is a separate agent service from the SSH
Service, Kubernetes Service, etc., it makes sense to add a dedicated
section for this service. In the future, we can include configuration
guides, architecture guides, etc. in this section.

To create the new section, this change moves existing auto-discovery
guides from other sections of the docs.

* Respond to hugoShaka feedback

- Move the Kubernetes application discovery docs
- Edit the "Kubernetes Access" intro to include a link to Kubernetes
  auto-discovery
2024-03-01 16:58:26 +00:00
Gus Luxton 044acaefa5 helm: Set resource request/limit on wait-auth-update initContainer (#38672)
* helm: Propagate resources to wait-auth-update initContainer

Fixes #37476

* Hardcode smaller limits to prevent cluster request exhaustion
2024-02-27 18:39:39 +00:00
Hugo ShakaandMarco André Dinis 288f87af1b integrations/operator: Add openSSH and openSSHEICE servers (#37651)
* integrations/operator: Add openSSH and openSSHEICE servers

* lint

* Update integrations/operator/controllers/resources/openssheiceserverv2_controller.go

Co-authored-by: Marco André Dinis <marco.dinis@goteleport.com>

* rename Openssh to OpenSSH and fix comments

* hide cmdlabels

---------

Co-authored-by: Marco André Dinis <marco.dinis@goteleport.com>
2024-02-20 23:07:26 +00:00
Paul Gottschling 58d6953c4e Enforce "automatic update" (#38282)
See #36816

The docs are inconsistent in using "automatic updates" vs. "automatic
upgrades". Prefer the former to be consistent with the
`teleport-ent-updater` script.

- Replace "automatic upgrade" with "automatic update" in docs pages.
- Replace "automatic upgrade" uses in the `teleport-kube-agent` chart
  and regenerate the docs.
- Catch uses of "automatic upgrade" in the `consistent-terms` Vale rule
2024-02-15 19:56:48 +00:00
Noah StrideandMarco André Dinis 86c09b4959 Machine ID: Add Role/RBAC support for Workload Identity (#38174)
* Workload ID RBAC changes

* Update api/proto/teleport/legacy/types/types.proto

Co-authored-by: Marco André Dinis <marco.dinis@goteleport.com>

* Validate IPSANs CIDRs are good

* Improve regex matching for SPIFFE conditions

* Remove unused globMatch function

* Prefer using utils.MatchString

* make grpc

* Update the charts

---------

Co-authored-by: Marco André Dinis <marco.dinis@goteleport.com>
2024-02-15 16:38:13 +00:00
Krzysztof SkrzętnickiandSTeve Huang bc1ba9c23c Add DatabasePermissions field to role (#37797)
* Add DatabasePermissions field to role.

* Change error wording in a minor way

* Update api/types/role.go

Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>

* Update api/proto/teleport/legacy/types/types.proto

Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>

* Update autogenerated files

* Guard against wildcards in `spec.allow.db_permissions`

---------

Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>
2024-02-07 20:03:11 +00:00
Hugo Shaka a2f748ccbb charts/kube-agent: support restricted PSS by default (#37821)
* charts/kube-agent: update secContext to support restricetd PSS

* re-render templates entirely
2024-02-06 18:37:36 +00:00
Hugo Shaka 6841c77574 helm: make proxies replicable when usign an ingress (#37430) 2024-01-29 21:54:25 +00:00
Hugo Shaka 3ffb95f984 fix operator role controller (#37275) 2024-01-25 19:42:25 +00:00
Hugo Shaka 3618fb9b36 integrations/operator: bring back TeleportRole support through the v6 API (#37166) 2024-01-24 15:32:18 +00:00
Hugo Shaka 7b02cada13 integrations/operator: support multiple versions of the same resource in crdgen (#36715)
The commit contains the following changes:

- add multi-version support by creating new kinds. This is currently done via an override to maintain compatibility. At some point, we might migrate unversioned kinds (TeleportRole) to versioned kinds (TeleportRoleV5) and remove the override
- unify all resource statuses in a single struct. This simplifies the CRD building because we are not trying to guess which package is correct anymore when parsing go's AST
- update crdgen snapshots

This PR does not update the base CRDs in the operator or the Hlem chart. This will happen in the next PR, adding go types and controller support.

Note for reviewers: the changeset might seem large, but the changes are split into commits that are much more reviewable. You only need to review the first two commits.
2024-01-24 01:33:29 +00:00
Hugo Shaka a93b935b23 helm: fix operatorn name when included by teleport-cluster chart (#36940) 2024-01-22 15:26:51 +00:00
Hugo ShakaandMarco André Dinis 70d58148eb Document always setting the resource version in Terraform (#36774)
* Document resource version in proto files

This will be useful when generating documentation from proto for the TF
provider. With this change, we will display which version value should
be set.

This change is required so we can make version mandatory in TF.

* docs: always set version when using the TF provider

* docs: re-generate the TF reference, with the version updates

* Apply suggestions from code review

Co-authored-by: Marco André Dinis <marco.dinis@goteleport.com>

* re-generate grpc client

* fix typos

* re-generate CRDs

---------

Co-authored-by: Marco André Dinis <marco.dinis@goteleport.com>
2024-01-18 16:49:05 +00:00
Hugo Shaka 32233e0fef integrations/updater: add support for private registries (#31285)
* integrations/updater: add support for private registries

* helm/kube-agent: support setting updater pull credentials
2024-01-16 19:55:21 +00:00
dependabot[bot]andAlan Parra 5bde97c7e3 Bump the go group with 12 updates (#36713)
* Bump the go group with 12 updates

Bumps the go group with 12 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/ClickHouse/ch-go](https://github.com/ClickHouse/ch-go) | `0.61.0` | `0.61.1` |
| [github.com/andybalholm/brotli](https://github.com/andybalholm/brotli) | `1.0.6` | `1.1.0` |
| [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) | `1.49.16` | `1.49.21` |
| [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) | `1.142.1` | `1.144.0` |
| [github.com/aws/aws-sdk-go-v2/service/ecs](https://github.com/aws/aws-sdk-go-v2) | `1.36.0` | `1.37.0` |
| [github.com/jackc/pgtype](https://github.com/jackc/pgtype) | `1.14.0` | `1.14.1` |
| [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) | `5.5.1` | `5.5.2` |
| [github.com/prometheus/common](https://github.com/prometheus/common) | `0.45.0` | `0.46.0` |
| [github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) | `1.17.10` | `1.18.1` |
| [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.155.0` | `0.156.0` |
| [k8s.io/klog/v2](https://github.com/kubernetes/klog) | `2.110.1` | `2.120.0` |
| [sigs.k8s.io/controller-tools](https://github.com/kubernetes-sigs/controller-tools) | `0.13.0` | `0.14.0` |


Updates `github.com/ClickHouse/ch-go` from 0.61.0 to 0.61.1
- [Release notes](https://github.com/ClickHouse/ch-go/releases)
- [Commits](https://github.com/ClickHouse/ch-go/compare/v0.61.0...v0.61.1)

Updates `github.com/andybalholm/brotli` from 1.0.6 to 1.1.0
- [Commits](https://github.com/andybalholm/brotli/compare/v1.0.6...v1.1.0)

Updates `github.com/aws/aws-sdk-go` from 1.49.16 to 1.49.21
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.49.16...v1.49.21)

Updates `github.com/aws/aws-sdk-go-v2/service/ec2` from 1.142.1 to 1.144.0
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.142.1...service/ec2/v1.144.0)

Updates `github.com/aws/aws-sdk-go-v2/service/ecs` from 1.36.0 to 1.37.0
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/service/s3/v1.37.0/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.36.0...service/s3/v1.37.0)

Updates `github.com/jackc/pgtype` from 1.14.0 to 1.14.1
- [Changelog](https://github.com/jackc/pgtype/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgtype/compare/v1.14.0...v1.14.1)

Updates `github.com/jackc/pgx/v5` from 5.5.1 to 5.5.2
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.5.1...v5.5.2)

Updates `github.com/prometheus/common` from 0.45.0 to 0.46.0
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.45.0...v0.46.0)

Updates `github.com/sashabaranov/go-openai` from 1.17.10 to 1.18.1
- [Release notes](https://github.com/sashabaranov/go-openai/releases)
- [Commits](https://github.com/sashabaranov/go-openai/compare/v1.17.10...v1.18.1)

Updates `google.golang.org/api` from 0.155.0 to 0.156.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.155.0...v0.156.0)

Updates `k8s.io/klog/v2` from 2.110.1 to 2.120.0
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes/klog/compare/v2.110.1...v2.120.0)

Updates `sigs.k8s.io/controller-tools` from 0.13.0 to 0.14.0
- [Release notes](https://github.com/kubernetes-sigs/controller-tools/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-tools/blob/master/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-tools/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: github.com/ClickHouse/ch-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/andybalholm/brotli
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ecs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/jackc/pgtype
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/sashabaranov/go-openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: k8s.io/klog/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: sigs.k8s.io/controller-tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run `make -C integrations/operator manifests`

* Run `make -C integrations/operator/crdgen/ update-snapshot`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alan Parra <alan.parra@goteleport.com>
2024-01-16 16:25:26 +00:00
Cam Hutchison ca6ba775ea Update master post-branch/v15 (#36688)
Update master as the now-source of v16 when it gets cut:
* Update `VERSION` in `Makefile` to 16.0.0-dev
* Update `BUILDBOX_VERSION` in `build.assets/Makefile` to `teleport16`
* Update a couple of mentions of v13 in `README.md` to v16
* Run `make update-version`
* Run `make dronegen`

Some workflows are to be updated once v15.0.0 is actually released.
2024-01-15 10:07:43 +00:00
Michael Wilson 5331c2e48b Add role grants for access list owners. (#35974)
* Add role grants for access list owners.

Access list owners can now have their own individual role grants.

* Update operator CRDs.

* Update access list reference with owner grants.

* gRPC update.

* Fix tests.
2024-01-09 20:39:15 +00:00
Hugo Shaka 8ddcf241ad Warn about CPU limits in teleport-cluster Helm chart (#36251)
* Warn about CPU limits

* fixup! Warn about CPU limits
2024-01-04 16:25:12 +00:00
Hugo Shaka 401c1acaad update teleport-kube-agent reference + generate it (#35587)
* Update teleport-kube-agent documentation and generate its ref

* fixup! Update teleport-kube-agent documentation and generate its ref

* Re-render reference + fix false negative chart lint
2023-12-28 18:49:05 +00:00
Hugo ShakaandPaul Gottschling 4213f7ae7a docs: make auth/proxy chart values clearer (#36059)
* docs: make auth/proxy chart values clearer

* Apply suggestions from code review

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-12-27 20:49:46 +00:00
Hugo Shaka 3abc1622fe charts/teleport-cluster: namespaced CRB names (#35862) 2023-12-19 16:28:26 +00:00
d653229ab9 Add support for include_enterprise_slug for the github join method (#35860)
* Add support for `include_enterprise_slug` in `github` joining

* Correct assertiosn in github validator token test

* Remove `want` in TestIDTokenValidator_Validate

* Fix missing `should` in docs

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

* Fix spelling of customize in docs

* Update operator CRDs

* Regen protos

* Apply suggestions from code review

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

* Try both under same header

* Try H4

* Remove spurious period

* Use bold rather than heading

---------

Co-authored-by: Krzysztof Skrzętnicki <krzysztof.skrzetnicki@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-12-19 13:55:23 +00:00
Hugo Shaka 619f900e1c integrations/operator: Add AccessList support (#31771)
* integrations/operator: add support for access lists

* fixup! integrations/operator: add support for access lists
2023-12-18 19:36:39 +00:00
Hugo Shaka c1cb40eaba charts/kube-agent: updater extraArgs (#35786) 2023-12-15 20:46:38 +00:00