Commit Graph
774 Commits
Author SHA1 Message Date
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
teleport-post-release-automation[bot]andGitHub 8a8b31290c [auto] Update AMI IDs for 15.2.2 (#40508)
Co-authored-by: GitHub <noreply@github.com>
2024-04-12 08:29:29 +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
Marek Smoliński 944085f04b IaC AccessMonitoring (#40213) 2024-04-09 11:11:43 +00:00
teleport-post-release-automation[bot]andGitHub d1e9f1fdcf [auto] Update AMI IDs for 15.2.1 (#40291)
Co-authored-by: GitHub <noreply@github.com>
2024-04-06 00:55:23 +00:00
Bernard Kim 46eb4b5b92 Configure the systemd unit file RestartSec value (#40189)
* Set RestartSec=5

* Update examples
2024-04-04 17:04:07 +00:00
teleport-post-release-automation[bot]andGitHub 61a035b964 [auto] Update AMI IDs for 15.2.0 (#40064)
Co-authored-by: GitHub <noreply@github.com>
2024-03-30 18:03:49 +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 ShakaandRoman Tkachenko 3afa6b5d1d Document creating SSH servers via IaC (#39726)
* document creating SSH servers via IAC

* add links and index page

* Apply suggestions from code review

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

* address feedback + fix Var XML tags

* test tctl flow and fill tctl command outputs

* fix kubernetes and terraform documentation

* make docs linter happy

---------

Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2024-03-28 21:28:02 +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
teleport-post-release-automation[bot]andGitHub be7ca74316 [auto] Update AMI IDs for 15.1.10 (#39874)
Co-authored-by: GitHub <noreply@github.com>
2024-03-27 14:32:42 +00:00
Steven MartinandReed Loden 16b0f4547e update ami list instrs in aws ha terraform makefile (#39746)
* update ami list in aws ha terraform makefile

* include fips instrs

Co-authored-by: Reed Loden <reed@goteleport.com>

---------

Co-authored-by: Reed Loden <reed@goteleport.com>
2024-03-27 14:23:45 +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
dependabot[bot] 7631374ffc Bump github.com/docker/docker in /examples/service-discovery-api-client (#39632)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.7+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.7...v24.0.9)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-21 15:13:18 +00:00
teleport-post-release-automation[bot]andGitHub ad015469fb [auto] Update AMI IDs for 15.1.9 (#39606)
Co-authored-by: GitHub <noreply@github.com>
2024-03-20 10:08:55 +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
teleport-post-release-automation[bot]andGitHub a320e60ab5 [auto] Update AMI IDs for 15.1.8 (#39500)
Co-authored-by: GitHub <noreply@github.com>
2024-03-18 13:53:00 +00:00
teleport-post-release-automation[bot]andGitHub 5c06dd07d4 [auto] Update AMI IDs for 15.1.6 (#39453)
Co-authored-by: GitHub <noreply@github.com>
2024-03-16 07:18:01 +00:00
Zac Bergquistandgardar c982f421fa fix incorrectly placed provision token name (#39415)
name is part of metadata not spec

Signed-off-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: gardar <gardar@users.noreply.github.com>
2024-03-15 17:01:57 +00:00
Reed Loden 23c67d4c16 Re-enable AWS IMDSv1 fallback (#39363)
It was discovered that some customers' EKS clusters did not have their IMDSv2 hop limits
set correctly, causing requests for key functionality to attempt IMDSv1 fallback and failing.

For now, re-enable IMDSv1 fallback by way of removing the explicit disabling of
`EC2MetadataEnableFallback` until better documentation, error handling, and other work
can be done to inform customers that they need to correctly set their IMDSv2 hop limits.
2024-03-14 18:12:50 +00:00
teleport-post-release-automation[bot]andGitHub eff3577948 [auto] Update AMI IDs for 15.1.4 (#39284)
Co-authored-by: GitHub <noreply@github.com>
2024-03-13 04:26:41 +00:00
teleport-post-release-automation[bot]andGitHub e148c7248b [auto] Update AMI IDs for 15.1.3 (#39160)
Co-authored-by: GitHub <noreply@github.com>
2024-03-09 15:02:49 +00:00
STeve (Xin) Huang c1a9b884d8 Update examples/README.md (#39080) 2024-03-07 18:13:32 +00:00
Edoardo Spadolini 86e07c8c10 Update ExecReload in all Teleport systemd unit files (#39070)
* Update ExecReload in all teleport unit files

* Comment on why we're shelling out
2024-03-07 16:24:05 +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
Edoardo Spadolini 46c1e507aa Use an absolute path in ExecReload in teleport.service (#39028) 2024-03-06 17:42:19 +00:00
Mike Jensen 040ded2b79 Update google.golang.org/protobuf to v1.33.0 (#38995)
* Update google.golang.org/protobuf to v1.33.0

This updates all instances of google.golang.org/protobuf to address CVE-2024-24786.

* Make grpc after update
2024-03-05 22:48:09 +00:00
teleport-post-release-automation[bot]andGitHub 10e336ce85 [auto] Update AMI IDs for 15.1.1 (#38904)
Co-authored-by: GitHub <noreply@github.com>
2024-03-02 15:04:45 +00:00
teleport-post-release-automation[bot]andGitHub 4e3fa1b931 [auto] Update AMI IDs for 15.1.0 (#38837)
Co-authored-by: GitHub <noreply@github.com>
2024-03-01 18:26:05 +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
Marco André Dinis be05a1118d Fix WatchStatus event on AccessPlugin example (#38670)
* Fix WatchStatus event on AccessPlugin example

* use watchstatusv1
2024-02-28 15:19:13 +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
rosstimothy dfbf2e06ee Fix builds for all examples that consume teleport/api (#38468)
Updates the api module used in examples to a more recent commit
to pull in a newer version of otel to resolve build problems.

```
cannot use &TracerProvider{} (value of type *TracerProvider) as "go.opentelemetry.io/otel/trace".TracerProvider value in variable declaration: *TracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing method tracerProvider)
 cannot use t (variable of type *tracer) as "go.opentelemetry.io/otel/trace".Tracer value in return statement: *tracer does not implement "go.opentelemetry.io/otel/trace".Tracer (missing method tracer)
```
2024-02-21 01:11:28 +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
teleport-post-release-automation[bot]andGitHub ceefe544c3 [auto] Update AMI IDs for 15.0.2 (#38360)
Co-authored-by: GitHub <noreply@github.com>
2024-02-16 23:29:23 +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
Hugo ShakaandPaul Gottschling 90c5ea6e5b Document managing users, roles and accesslists through IaC (#36622)
* Document managing users, roles and accesslists through IaC

* reformat docs/config.json

* address feedback

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* align label names

* address feedback

* update teleportrole version

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-02-13 20:04:04 +00:00
Edoardo Spadolini bd47f0e02a Improve Teleport reload behavior (#37773)
* clean up pidfile and reloads

* reduce log spam during graceful shutdowns

* hold an exclusive advisory lock on the pidfile

* do systemd reloads with the pidfile rather than $MAINPID

* prioritize signals over internal restarts
2024-02-13 15:27:54 +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
teleport-post-release-automation[bot]andGitHub da0ed4033d [auto] Update AMI IDs for 15.0.1 (#37781)
Co-authored-by: GitHub <noreply@github.com>
2024-02-06 15:42:57 +00:00
rosstimothy b7318b5c7e Enable errorlint via golangci-lint (#37669)
Adds the new linter and configures it to prevent direct error
comparisions and type assertions in favor of errors.Is and errors.As.
All current violations caught by the linter have been updated
accordingly.
2024-02-02 15:59:24 +00:00
teleport-post-release-automation[bot]andGitHub 5c2a906d47 [auto] Update AMI IDs for 15.0.0 (#37634)
Co-authored-by: GitHub <noreply@github.com>
2024-02-01 15:12:27 +00:00
Hugo Shaka 6841c77574 helm: make proxies replicable when usign an ingress (#37430) 2024-01-29 21:54:25 +00:00