Commit graph

626 commits

Author SHA1 Message Date
Anton Miniailo 1b6a566632
Add support for Kubernetes discovery into kube agent helm chart (#30034)
* Add support for Kubernetes discovery into kube agent helm chart

* Remove requiring namespaces and labels

* Remove wrong default values for roles.

* Make sure we fail fast if app role enabled but nothing related to it actually set

* Remove unneeded 'and'

Co-authored-by: Tiago Silva <tiago.silva@goteleport.com>

* Improve wording.

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

* Clarify when discovery service is enabled

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

* Change indent

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

* Add kubernetesDiscovery field to values.schema.json

* Change name of the feature in readme

---------

Co-authored-by: Tiago Silva <tiago.silva@goteleport.com>
Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>
2023-08-11 00:40:28 +00:00
Tobiasz Heller 597ae4dbd8
examples: athena terraform (#29895) 2023-08-10 12:36:07 +00:00
Andrew LeFevre 929a8bba84
add option to force re-authentication for OIDC connectors (#29815)
* add option to force re-authentication for OIDC connectors

* expose max_age directly

* update comment for MaxAge, regen operator manifests to make linter happy

* make max_age nullable

* make max_age a duration

* use google.protobuf.Duration

* Revert "use google.protobuf.Duration"

This reverts commit e6c3b7deaf9ffebb33492e3b6e575289e3ad1c37.

* make it more clear that max age is a full duration

* document how MaxAge duration is represented

* rebuild operator manifests
2023-08-09 21:52:41 +00:00
teleport-post-release-automation[bot] d3c321c054
[auto] Update AMI IDs for 13.3.2 (#30233)
Co-authored-by: GitHub <noreply@github.com>
2023-08-09 19:00:15 +00:00
Hugo Shaka 3eb16f55fe
integrations/operator: Fix a bug that caused ProvisionToken.spec.github.allow rules to be ignored (#30065)
* integrations/crdgen: Support loading instructions from a file for easier debugging

* integrations/crdgen: Fix CRD generation for nested message declarations

* integrations/crdgen: Update CRDs and CRD snaphots after crdgen fix

* integrations/operator: Add a test covering machineID on GHA tokens

* document how to dump protoc requests
2023-08-08 15:53:31 +00:00
Hugo Shaka 793540ca6b
[buddy] Allow setting storage class name for auth component (#30126)
* feat(chart/teleport-cluster): Allow setting storage class name for auth component

* fix: Add value schema

---------

Co-authored-by: adinhodovic <hodovicadin@gmail.com>
Co-authored-by: Gus Luxton <gus@goteleport.com>
2023-08-07 15:32:48 +00:00
Hugo Shaka 4e545b36b6
Add imagePullSecrets to predeploy tests (#30125)
Co-authored-by: Erwee de Kock <erwee.dekock@salesloft.com>
Co-authored-by: Erwee de Kock <rw@thewrongway.co.za>
2023-08-07 15:23:01 +00:00
Tobiasz Heller ce8f2ab595
Athena: migration: sort events before publishing (#29627) 2023-08-07 08:19:14 +00:00
teleport-post-release-automation[bot] 059807a6fe
[auto] Update AMI IDs for 13.3.1 (#30019)
Co-authored-by: GitHub <noreply@github.com>
2023-08-04 15:31:19 +00:00
Gus Luxton 2035263c71
terraform-agent-pool: Fix token provisioning and add expiry (#29900) 2023-08-02 17:08:22 +00:00
teleport-post-release-automation[bot] 531aff4be1
[auto] Update AMI IDs for 13.3.0 (#29882)
Co-authored-by: GitHub <noreply@github.com>
2023-08-01 21:38:54 +00:00
Gus Luxton ae11826ec3
Fix API docs link (#29730)
* Fix doc link

Doc link 404ed

h/t @scottpgallagher

* Use https instead
2023-07-29 15:49:16 +00:00
Hugo Shaka d013b8dfdb
helm: add azure support (#29581) 2023-07-28 02:01:32 +00:00
teleport-post-release-automation[bot] 94977aacfa
[auto] Update AMI IDs for 13.2.5 (#29671)
Co-authored-by: GitHub <noreply@github.com>
2023-07-27 16:04:36 +00:00
Alan Parra 3628eae679
Add device owner and trusted device IDs to protos (#29606)
* Add trusted device IDs to User

* Add owner field to Device

* nit: s/LocalAuths/LocalAuth/

* Update generated protos

* Convert owner field from/to device resources

* Add getter/setter for TrustedDeviceIDs

* Run `make -C integrations/operator manifests`
2023-07-26 15:08:13 +00:00
Tobiasz Heller 8886987dc8
athena migration: use decoder to decode lines (#29385) 2023-07-25 10:36:29 +00:00
Tiago Silva 968b91f648
Allow creating a admin ClusterRoleBinding (#29453)
* Allow creating a admin `ClusterRoleBinding`

This PR adds the possibility of creating a cluster role binding between a group whose name defined by `adminClusterRolebinding.name` and the built-in `cluster-admin` `ClusterRole`.
This is particularly useful for GKE Autopilot clusters where it's not
possible to use the default `system:masters` group because authz Warden
security module prevents impersonating system-wide identities.

When the chart detects that the target cluster is a GKE cluster - `version: v1.x.x-gke.<build>` - it will automatically create the `ClusterRoleBinding` and print a warning message with the following payload:

```
NOTES:
WARNING: GKE Autopilot clusters forbid users from impersonating system-wide identities.
This means you won't be able to use the `system:masters` Kubernetes Group in
the Teleport Roles for GKE Autopilot clusters.

Given that you installed Teleport on a GKE cluster, we recommend you use the
Kubernetes Group `cluster-admin` instead of `system:masters` in the Teleport Roles
for GKE Autopilot clusters.

This chart automatically created the `cluster-admin` Kubernetes Group for you and
assigned it admin privileges on the Kubernetes cluster.

Consult the built-in security features that GKE Autopilot enforces:
https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-security#built-in-security
```

Part of #28506
Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* Apply suggestions from code review

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

* add role example

---------

Co-authored-by: Gus Luxton <gus@goteleport.com>
2023-07-25 09:32:14 +00:00
Tiago Silva a6c1b7445b
Update Operator CRDs and add a Lint check to prevent drifts (#29455)
This PR fixes the operator's CRDs drift between the CRD and the proto
stubs they are derived from.

It also adds a check to prevent future drifts by forcing the manifest
generation and requiring an empty diff.

Fixes #29438
2023-07-24 18:44:15 +00:00
Alex Fornuto b5891eda74
Docs: Update OIDC SSO Guide (#29087)
* remove SSH focus, fix formatting

* refresh OIDC guide / example

* Apply suggestions from code review

* modify link for linter

* Apply suggestions from code review

Co-authored-by: lsgunn-teleport <136391445+lsgunn-teleport@users.noreply.github.com>

* make up your mind, linter

---------

Co-authored-by: lsgunn-teleport <136391445+lsgunn-teleport@users.noreply.github.com>
2023-07-21 15:48:47 +00:00
Tobiasz Heller 6bbcfbd8d5
Athena: accept events without timestamp (#29310) 2023-07-20 12:49:34 +00:00
Tobiasz Heller 040ec6d3b2
athenamigration: add validation on dry-run (#29193) 2023-07-18 10:29:14 +00:00
dependabot-batcher[bot] b0a787021b
Batched Dependabot updates (#29181)
* Bump semver from 5.7.1 to 5.7.2

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

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

* Bump github.com/crewjam/saml in /examples/access-plugin-minimal

Bumps [github.com/crewjam/saml](https://github.com/crewjam/saml) from 0.4.12 to 0.4.13.
- [Commits](https://github.com/crewjam/saml/compare/v0.4.12...v0.4.13)

---
updated-dependencies:
- dependency-name: github.com/crewjam/saml
  dependency-type: indirect
...

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

* Bump github.com/aws/aws-sdk-go-v2/config in /assets/aws

Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) from 1.18.27 to 1.18.28.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.18.27...config/v1.18.28)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump github.com/okta/okta-sdk-golang/v2 from 2.18.0 to 2.20.0

Bumps [github.com/okta/okta-sdk-golang/v2](https://github.com/okta/okta-sdk-golang) from 2.18.0 to 2.20.0.
- [Release notes](https://github.com/okta/okta-sdk-golang/releases)
- [Changelog](https://github.com/okta/okta-sdk-golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okta/okta-sdk-golang/compare/v2.18.0...v2.20.0)

---
updated-dependencies:
- dependency-name: github.com/okta/okta-sdk-golang/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump golang.org/x/mod from 0.10.0 to 0.12.0

Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.10.0 to 0.12.0.
- [Commits](https://github.com/golang/mod/compare/v0.10.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump cloud.google.com/go/container from 1.22.1 to 1.23.0

Bumps [cloud.google.com/go/container](https://github.com/googleapis/google-cloud-go) from 1.22.1 to 1.23.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.22.1...pubsub/v1.23.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/container
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump github.com/aws/aws-sdk-go-v2/config from 1.18.27 to 1.18.28

Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) from 1.18.27 to 1.18.28.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.18.27...config/v1.18.28)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.6.0 to 1.7.0

Bumps [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.6.0...sdk/azcore/v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump github.com/bradleyfalzon/ghinstallation/v2 in /build.assets/tooling

Bumps [github.com/bradleyfalzon/ghinstallation/v2](https://github.com/bradleyfalzon/ghinstallation) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/bradleyfalzon/ghinstallation/releases)
- [Commits](https://github.com/bradleyfalzon/ghinstallation/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: github.com/bradleyfalzon/ghinstallation/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump go.opentelemetry.io/proto/otlp from 0.20.0 to 1.0.0 in /api

Bumps [go.opentelemetry.io/proto/otlp](https://github.com/open-telemetry/opentelemetry-proto-go) from 0.20.0 to 1.0.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-proto-go/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-proto-go/compare/v0.20.0...v1.0.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/proto/otlp
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-batcher[bot] <122306277+dependabot-batcher[bot]@users.noreply.github.com>
Co-authored-by: Nic Klaassen <nic@goteleport.com>
2023-07-17 23:31:42 +00:00
teleport-post-release-automation[bot] 000cc84699
[auto] Update AMI IDs for 13.2.2 (#29200)
Co-authored-by: GitHub <noreply@github.com>
2023-07-17 14:59:27 +00:00
Paul Gottschling 5cf2fa504f
Use the examples directory for example plugin code (#23255)
* Use the examples directory for example plugin code

Also edit the Access Request plugin API guide to use this directory,
rather than having the reader copy/paste individual code snippets. This
makes the guide easier to follow, and users will have a compilable
example before they proceed through the guide.

* Run make fix-license

* Run make fix-imports

* Fix spelling

* Run go mod tidy

* Extract Access Request plugin example to partials

This way, we can reuse the actual program in the Access Request plugin
API guide and avoid unintended discrepancies and drift.

* Use types.Events.NewWatcher instead of watcherjob

Need to test this out, but it compiles

* Remove outdated information

- Types that are no longer reachable via public interfaces
- The description of the demo implementation that used the old
  `watcherjob` package

* Update text to reflect new `run` logic

* Make the example program more modular

Respond to Joerger feedback

* Respond to alexfornuto feedback

* Apply suggestions from code review

Co-authored-by: Brian Joerger <bjoerger@goteleport.com>

* Respond to zmb3 feedback

- Split up "types.go". Reserve a single file for configuration values so
  these are visible in a single place within the guide.
- Return an error on an unsuccessful HTTP request when creating or
  updating a row
- Simplify requestStates lookup
- Clearly mark values that a user must change
- Update the text of the guide to match changes to the program

* Spell fixes

* Respond to zmb3 feedback

---------

Co-authored-by: Brian Joerger <bjoerger@goteleport.com>
2023-07-14 18:53:35 +00:00
rosstimothy 6b26d5712a
Fix rough edges with usage script (#29003)
When the script detects throttling it automatically scales the RCU,
however it was allowing the RCU to reach 0 which is an invalid
value. Any subsequent requests with a 0 RCU end up terminating the
script due to errors from the request. The RCU is no capped at a
minimum value of 1 to prevent this.

CredentialsChainVerboseErrors is now set in the aws.Config to provide
more actionable error messages when credentials are not configured
correctly. Users who had authentication issues would previously see
the following:

> 2023/07/11 16:50:25 NoCredentialProviders: no valid providers in chain. Deprecated.
>	For verbose messaging see aws.Config.CredentialsChainVerboseErrors

By setting the config value to true users will now see more detailed output:

> 2023/07/12 10:56:06 NoCredentialProviders: no valid providers in chain
> caused by: EnvAccessKeyNotFound: failed to find credentials in the environment.
> SharedCredsLoad: failed to load profile, .
> EC2RoleRequestError: no EC2 instance role found
> caused by: RequestError: send request failed

The README was also updated to include instructions on how to authenticate
and run the script from outside the Auth server if they so choose.
2023-07-13 23:03:42 +00:00
Gus Luxton c811cd9a0f
helm: Add ingress support (#25815)
* helm: Add ingress template

* helm: Add ingress support

With the changes introducing automatic websocket upgrades for TLS routing in Teleport 13, we can finally add support for a Kubernetes ingress.

* Remove unnecessary brackets

* Tidying

* Gating

* Fix lint and schema

* Fix lint examples

* Handle wildcards

* Tidy up wildcard support

* Don't add AWS annotations when using ingress

* Update AWS docs to use Ingress/ALB with ACM

* Automatically listens on 443, make values simpler

* Support ingress.spec overrides

* Enable ingress and set spec.ingressClassName

* Update values schema

* typo

* Whitelist 'healthcheck' for spellcheck

* Address Hugo's comments from code review

* Apply Paul's comments from code review

* Few more docs fixes

* Update teleport-cluster reference

* Add values file and fix lint/tests

* Fix docs lint

* Add proxy_service.trust_x_forwarded_for when ingress is enabled and Teleport version >=14

* Fix semver check for pre-releases

* Indent ingress section correctly

* Address docs feedback from Hugo/Tiago

* Add warning about using tsh with ingress

* Fix lint spelling

* Add instructions for checking AWS LB controller installation

* Whitelist ingressclass in spellcheck

* What a stupid error
2023-07-13 19:59:02 +00:00
teleport-post-release-automation[bot] 821f1f02bf
[auto] Update AMI IDs for 13.2.1 (#29059)
Co-authored-by: GitHub <noreply@github.com>
2023-07-13 16:27:12 +00:00
dependabot-batcher[bot] c6529af658
Batched Dependabot updates (#28863)
* Bump @grpc/grpc-js from 1.6.7 to 1.8.8

Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.6.7 to 1.8.8.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.6.7...@grpc/grpc-js@1.8.8)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-type: direct:development
...

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

* Bump google.golang.org/grpc from 1.43.0 to 1.53.0 in /examples/go-client

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.43.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.43.0...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

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

* Bump google.golang.org/grpc in /examples/desktop-registration

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.52.3 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.52.3...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

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

* Bump tough-cookie from 4.1.2 to 4.1.3

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

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

* Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump github.com/sashabaranov/go-openai from 1.12.0 to 1.13.0

Bumps [github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/sashabaranov/go-openai/releases)
- [Commits](https://github.com/sashabaranov/go-openai/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/sashabaranov/go-openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump k8s.io/apiextensions-apiserver from 0.27.2 to 0.27.3

Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.27.2 to 0.27.3.
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.27.2...v0.27.3)

---
updated-dependencies:
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump github.com/bufbuild/connect-go from 1.7.0 to 1.9.0

Bumps [github.com/bufbuild/connect-go](https://github.com/bufbuild/connect-go) from 1.7.0 to 1.9.0.
- [Release notes](https://github.com/bufbuild/connect-go/releases)
- [Commits](https://github.com/bufbuild/connect-go/compare/v1.7.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/bufbuild/connect-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump github.com/aws/aws-sdk-go-v2/service/sqs from 1.22.0 to 1.23.2

Bumps [github.com/aws/aws-sdk-go-v2/service/sqs](https://github.com/aws/aws-sdk-go-v2) from 1.22.0 to 1.23.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.22.0...service/ecs/v1.23.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sqs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump github.com/aws/aws-sdk-go-v2/service/glue from 1.53.0 to 1.54.0

Bumps [github.com/aws/aws-sdk-go-v2/service/glue](https://github.com/aws/aws-sdk-go-v2) from 1.53.0 to 1.54.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.53.0...service/ec2/v1.54.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/glue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.35.0 to 1.36.0

Bumps [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) from 1.35.0 to 1.36.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.35.0...service/s3/v1.36.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 in /assets/backport

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump cloud.google.com/go/iam from 1.1.0 to 1.1.1

Bumps [cloud.google.com/go/iam](https://github.com/googleapis/google-cloud-go) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/dlp/v1.1.0...iam/v1.1.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/iam
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump google.golang.org/grpc from 1.56.1 to 1.56.2 in /api

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.1 to 1.56.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 in /build.assets/tooling

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump github.com/aws/aws-sdk-go-v2/service/ec2 in /assets/aws

Bumps [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) from 1.102.0 to 1.103.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.102.0...service/ec2/v1.103.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* go mod tidy

* make grpc

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-batcher[bot] <122306277+dependabot-batcher[bot]@users.noreply.github.com>
Co-authored-by: Tim Ross <tim.ross@goteleport.com>
2023-07-10 15:07:46 +00:00
teleport-post-release-automation[bot] dfcc95e7e6
[auto] Update AMI IDs for 13.2.0 (#28750)
Co-authored-by: GitHub <noreply@github.com>
2023-07-06 17:10:37 +00:00
Alex Fornuto 90d4076ffb
Docs: Update/Refresh OneLogin SSO guide (#28444)
* update to not be SSH-specific

* hard breaks ~80 chars

* undo changes from d80ab5b...

I had adjusted this section to fit as a prereq bullet point. It makes more sense for this to be a unique section at the bottom of SSO pages, so that the reader only changes the default auth method _after_ completing the setup.

* update onelogin SSO guide

* Respond to @ptgott's feedback
2023-07-06 14:42:36 +00:00
Logan Davis 9bc3c7afff
Athena Migration Script: Add additional migration options (#28560)
* Add additional function

* Update examples/dynamoathenamigration/migration.go

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>

---------

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>
2023-07-03 18:07:43 +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
Steven Martin 32a6e6a5d1
remove sentence fragment and link (#28367) 2023-06-29 17:16:25 +00:00
Alex Fornuto 18b84bdc53
Docs: Update Google Workspace SSO Guide (#28117)
* Improved Google SSO Connector Documentation.

- Tweaked gworkspace-connector-inline.yaml to improve tokens.
- Tweaked gworkspace-connector.yaml to improve tokens.
- Improved verbiage around required scopes.
- Improved oAuth client URL so it scopes to cloud.

* Fix typo.

* update google workspace SSO guide

* remove 3080 from examples

* Update to prefer embedded JSON

* Update examples/resources/gworkspace-connector.yaml

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

* standardize user vars

* formatting

* Apply suggestions from code review

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

* Update docs/pages/access-controls/sso/google-workspace.mdx

---------

Co-authored-by: Travis Swientek <tswientek@goteleport.com>
Co-authored-by: Krzysztof Skrzętnicki <krzysztof.skrzetnicki@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-06-29 15:51:12 +00:00
Tobiasz Heller 3df7896643
Fix flaky athena tests (#28283) 2023-06-28 14:32:01 +00:00
teleport-post-release-automation[bot] b7240b8bdb
[auto] Update AMI IDs for 13.1.5 (#28388)
Co-authored-by: GitHub <noreply@github.com>
2023-06-27 19:53:51 +00:00
Michael Wilson 46f8fbe0c8
k8s operator supports Okta import rules. (#28158)
* k8s operator supports Okta import rules.

The k8s operator now supports Okta import rules, which will allow users to
use native k8s CRDs to provision Okta import rules in k8s environments.

* Fix helm test.

* Remove unneeded proto files.

* Use additionalProperties in the okta import rules CRD instead of properties.
2023-06-27 14:16:53 +00:00
Nic Klaassen 9cec75f1db
feat: add support for label expressions to k8s operator (#28074)
This is the result of running `make manifests` in integrations/operator
to update the CRDs with the latest role spec definition, which includes
label expressions.
2023-06-22 16:25:58 +00:00
teleport-post-release-automation[bot] d356febf3c
[auto] Update AMI IDs for 13.1.2 (#28148)
Co-authored-by: GitHub <noreply@github.com>
2023-06-22 15:16:14 +00:00
Tobiasz Heller c5486d15a7
athena audit logs - add migration script (#27099) 2023-06-22 10:45:47 +00:00
Gus Luxton 2dd03761ca
helm: Use local auth server address in auth pod to prevent extra connections (#27871)
* helm: Use local auth server address to prevent extra connections

* Update snapshots
2023-06-16 23:25:46 +00:00
teleport-post-release-automation[bot] 4901bb3815
[auto] Update AMI IDs for 13.1.1 (#27870)
Co-authored-by: GitHub <noreply@github.com>
2023-06-15 21:49:55 +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
Gus Luxton a9e4284255
helm: Add conditional RBAC/ServiceAccount to teleport-kube-agent post-delete hook (#27436)
* helm: Add conditional RBAC/ServiceAccount to post-delete hook

* Add unit tests

* Remove unnecessary documentIndex

* Template service account name

* Additional fixes for service account name

* Add unit test for default case

* Order isn't important

* Fix documentIndex

* Remove blanket snapshots and tidy up documentIndex

* Clean up comments on documentIndex
2023-06-08 17:40:33 +00:00
Yael Jay Perez a81210b5dc
Update to Readme for Teleport Usage (#24899)
* Update to Readme for Teleport Usage

Cleaning up the Readme. Removing the prompt option as it is no longer an option. Also clarifying where to find the container image version. Lastly, reordered the docker command to be backwards compatible on Docker.

* Update examples/teleport-usage/README.md

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

* Update examples/teleport-usage/README.md

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

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2023-06-07 16:36:48 +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
teleport-post-release-automation[bot] 7c66bb8e24
[auto] Update AMI IDs for 13.1.0 (#27440)
Co-authored-by: GitHub <noreply@github.com>
2023-06-06 14:56:23 +00:00
Forrest 2ec7490283
loadtesting automation improvements (#25366)
* move existing loadtest assets

* new loadtest automation helpers

* ignore sourcing uncovered files
2023-06-05 23:11:56 +00:00
teleport-post-release-automation[bot] 057f272a17
[auto] Update AMI IDs for 13.0.4 (#27210)
Co-authored-by: GitHub <noreply@github.com>
2023-06-01 16:16:58 +00:00
Mike Jensen a410acef01
Dependency updates for examples (#26947)
* Bump golang.org/x/net in /examples/desktop-registration

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

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

* Bump github.com/aws/aws-sdk-go in /examples/teleport-usage

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.224 to 1.44.269.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG_PENDING.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.224...v1.44.269)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump google.golang.org/grpc in /examples/service-discovery-api-client

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.55.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.55.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump github.com/google/uuid from 1.1.2 to 1.3.0 in /examples/go-client

Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.1.2 to 1.3.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Commits](https://github.com/google/uuid/compare/v1.1.2...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump google.golang.org/grpc in /examples/api-sync-roles

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.55.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.55.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump github.com/stretchr/testify in /examples/teleport-usage

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump github.com/docker/docker in /examples/service-discovery-api-client

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 23.0.6+incompatible to 24.0.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v23.0.6...v24.0.1)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump k8s.io/apimachinery in /examples/api-sync-roles

Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.26.3 to 0.27.2.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.26.3...v0.27.2)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump k8s.io/client-go from 0.26.3 to 0.27.2 in /examples/api-sync-roles

Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.26.3 to 0.27.2.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.26.3...v0.27.2)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 22:26:10 +00:00