Commit Graph
523 Commits
Author SHA1 Message Date
c9fbcc03ad Document MsTeams access plugin (#15941)
Co-authored-by: alexfornuto <alex@fornuto.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-09-22 18:35:06 +00:00
Roman Tkachenko 9d04ee27c2 Fix CA pool loading for etcd backend (#16484) 2022-09-20 22:03:07 +00:00
Roman Tkachenko 60a98847bc [auto] Update AMI IDs for 10.2.2 (#16524) 2022-09-20 21:41:38 +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
ec47195944 Linting adjustment for comment-space complaint (#13280)
Co-authored-by: Gus Luxton <gus@goteleport.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2022-09-15 19:05:38 +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
Hugo Shaka 0290c671ed helm: support Kubernetes 1.25 (#16243)
Check if PodSecurityPolicy resources are supported before attempting to
deploy one. See https://kubernetes.io/docs/reference/using-api/deprecation-guide/#psp-v125
2022-09-12 20:30:30 +00:00
Steven Martin 408671c19b Remove SSH from Teleport SystemD description (#14780)
systemd service is used for multiple protocols, not just SSH
2022-09-12 11:28:33 +00:00
Roman Tkachenko 65d1da6dd2 [auto] Update AMI IDs for 10.2.1 (#16298) 2022-09-09 22:57:53 +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
Roman Tkachenko 0ba6019412 [auto] Update AMI IDs for 10.1.9 (#16007) 2022-08-31 10:23:55 -07:00
Bence Kiglics 5e476ed17d Add documentation for PagerDuty Helm chart (#13729) 2022-08-31 15:57:20 +00:00
Paul Gottschling 7204503cca Edit the PagerDuty Access Request plugin guide (#15498)
Fixes #14576

- Add updated instructions, as the behavior and configuration settings
  for the PagerDuty plugin have changed since we first added this guide.
- Ensure the guide can be followed as a set of step-by-step
  instructions. For example, this change tells the user to create two
  PagerDuty services and refers to these services throughout the page.
- Also edits example configs for the PagerDuty and Mattermost plugins.
2022-08-30 16:42:52 +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
Tiago Silva 76d6dc8215 Fix 'get-kubeconfig.sh' to work with Kubernetes v1.24+ (#15612)
Kubernetes v1.24 enabled, by default, the LegacyServiceAccountTokenNoAutoGeneration feature.
This feature prevents Secrets containing service account tokens from being automatically created for every ServiceAccount.
Instead, when enabled, it requires a manual action for creating the Secret bound to the SA.

Fixes #15611
2022-08-17 19:48:28 +01:00
Hugo Shaka 2baa7e72d9 ami: update Grafana to 9.0.7 (#15585)
Fixes #4218

This commit:
- Bumps the grafana version
- Fixes the packer script failing when `DEBUG` is unset
- Makes nginx propagate the Host header required since
  https://grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/
- Makes nginx proxy websocket calls properly (since grafana 8)
- Retab nginx conf files that were a mix of tabs and spaces
- Makes Terraform compute s3 files md5 to detect and apply changes
2022-08-17 13:38:17 +00:00
Hugo Shaka 65e861daeb Stop validating schema for labels in k8s operator (#15206)
* Stop validating schema for labels (#15204)
* operator: support receiving invalid TeleportRole CRs

This PR makes the controller-runtime manager decode TeleportRole
resource in an unstructured object. This avoid errors during decoding.
The resource is later decoded as a TeleportRole, with proper error
handling.
2022-08-17 03:18:17 +00:00
Hugo Shaka 82c520c818 helm: allow to disable local auth in teleport-cluster chart (#13827)
Fixes #12974

This commit introduces a new `authentication` value controlling:
- the authentication type (previously `authenticationType`)
- the second-factor (previously under `authenticationSecondFactor`)
- if local auth is enabled (new feature)
- the connector name (new feature)
- the locking mode (new feature)

If previous values `authenticationType` and `authenticationSecondFactor`
are specified we'll prefer them for backward compatibility.
2022-08-16 22:38:11 +00:00
Roman Tkachenko dd1cfc7dd9 [auto] Update AMI IDs for 10.1.4 (#15532) 2022-08-15 22:44:29 +00:00
Paul Gottschling 15d5699d92 Add an Email Access Request guide (#15133)
Co-authored-by: Steven Martin <steven@gravitational.com>

Closes #8695
Closes #6438
2022-08-11 14:44:26 +00:00
Zac Bergquist d1c6b0618e Fix lint warnings (#15312)
Mostly duplicated imports and redundant types in struct literals.
2022-08-08 20:20:29 +00:00
Hugo Hervieux b87f47934d Fix bash examples in terraform README 2022-08-04 13:35:38 -04:00
Hugo Hervieux 6630f42e9c Support terraform v1 (#15087) 2022-08-04 13:35:38 -04:00
Roman Tkachenko 9c7d9134e2 [auto] Update AMI IDs for 10.1.2 (#15157) 2022-08-03 18:22:12 +00:00
Hugo Shaka f8be9cb6be helm: Add support for mounting existing TLS root CA (#13671)
* helm: Add support for mounting existing TLS root CA #12594
* Document per-database CA trust
2022-08-03 16:23:40 +00:00
Hugo Shaka 5add07799d helm: configure dynamoDB autoscaling in teleport-cluster (#13808)
* helm: configure dynamoDB autoscaling in teleport-cluster (#12046)
* Clarify best practices around DynamoDB autoscaling
2022-08-02 15:11:24 +00:00
Tiago Silva 40abd14635 Kubernetes Secret storage for Agent's Identity (#13942)
This MR introduces Kubernetes Secret storage for Teleport Kubernetes Agent state.

When running Teleport Agent inside a Kubernetes cluster where TELEPORT_REPLICA_NAME and KUBE_NAMESPACE exist, the agent will store identities and states in a Kubernetes Secret instead of local storage.

Otherwise, if the above environment variables are not present or not in Kubernetes, the agent persists state in SQLite.

Notes:

Fresh installs will enable the Kubernetes Secret Storage by default.
If PV storage is configured, the agent will store its identity in a Secret and use the PV for non-identity objects.
If the operator is upgrading from an existing release that didn't support Secret storage, the Helm chart will convert the objects to enable Kube Secret Storage. If the current object is a Deployment, the Helm chart installs a new Statefulset side by side and will trigger a Helm hook that is responsible for deleting the Deployment once Statefulset pods are healthy. Otherwise, if upgrading from a Statefulset the agent will read the credentials stored in PV and move them into Kube Secret.

Implementation of #12958
Related to #5585
2022-07-29 13:21:51 +00:00
Hugo Shaka 290b34f3be helm: Deploy CRDs when the operator is enabled (#14942)
* helm: Deploy CRDs when the operator is enabled
2022-07-28 17:05:11 +00:00
Hugo Shaka b3fd61790b helm: configure session recording in teleport-cluster (#13705)
* helm: configure session recording in teleport-cluster (#13543)
* Update docs/pages/setup/helm-reference/teleport-cluster.mdx
2022-07-28 15:51:25 +00:00
Hugo Shaka b0afb172eb helm: Add CA Pinning Support (#13685)
helm: Add CA Pinning Support
2022-07-26 17:30:21 +00:00
Hugo Shaka 22c75e1ee9 Support dynamic registration in kube-agent helm chart (#13641)
* Support dynamic registration in kube-agent helm chart(#9846)
* Update docs/pages/setup/helm-reference/teleport-kube-agent.mdx
2022-07-25 20:37:46 +00:00
Marco Dinis 5effbd8359 Add Teleport operator
This commit adds the Teleport operator. The operator reconciles
TeleportUsers and TeleportRoles Kubernetes resources with Users and
Roles Teleport resources.
2022-07-25 15:27:10 -04:00
Steven Martin e9bd3e78c6 Spelling fixes additional (#14823) 2022-07-25 14:41:34 +00:00
Steven Martin 83256ed760 Spelling Fixes (#14815)
* Misspelling fixes
2022-07-23 20:24:45 +00:00
Hugo Shaka 0adb3c16e8 Allow setting public addresses in teleport-cluster chart (#14603)
Allow setting public addresses in `teleport-cluster` chart
2022-07-21 16:49:38 -04:00
Roman Tkachenko bab046837e [auto] Update AMI IDs for 10.0.0 (#14251) 2022-07-09 01:06:36 +00:00
Gus Luxton 30404f5630 helm: Remove old teleport charts (#14111) 2022-07-06 20:16:36 +00:00
Roman Tkachenko 8fbdf1c292 [auto] Update AMI IDs for 9.3.9 (#14112) 2022-07-05 19:56:40 +00:00
Reed Loden 83eb9b2acb Bump go.mod to use Go 1.18 (#13771)
We're now using Go 1.18 features (native fuzzing in https://github.com/gravitational/teleport/pull/13473),
which means we need to accurately state that we require Go 1.18 in our go.mod.
2022-06-29 02:14:12 +00:00
Roman Tkachenko 2385fc79d8 [auto] Update AMI IDs for 9.3.7 (#13766) 2022-06-26 16:27:50 +00:00
Roman Tkachenko 683d11d23e Update versions to 11 (#13528) 2022-06-15 23:28:08 +00:00
Roman Tkachenko 17b028defe [auto] Update AMI IDs for 9.3.5 (#13458) 2022-06-14 15:13:56 +00:00
Steven Martin f7169aad07 Enable wildcard dns to support Application Access (#12972) 2022-06-10 15:31:48 +00:00
Roman Tkachenko 126d22956c [auto] Update AMI IDs for 9.3.4 (#13352) 2022-06-09 21:25:03 +00:00
Gus Luxtonanddaquinoaldo 339bc6f25b feat(helm): expose securityContext as a value (#13016)
The PodSecurityPolicy specifies `MustRunAsNonRoot` but the image runs as root.
`Error: container has runAsNonRoot and image will run as root (pod: "<redacted>", container: teleport).`
We expose the securityContext to allow forcing to run as a non-root user such as 99 (nobody) and respect the psp.

Co-authored-by: daquinoaldo <aldd@bendingspoons.com>
2022-06-08 02:31:51 +00:00
Gus LuxtonandAldo D'Aquino ba3065cc40 docs(helm): remove wrong statement from kube-agent highAvailability (#13014)
Co-authored-by: Aldo D'Aquino <18645793+daquinoaldo@users.noreply.github.com>
2022-06-07 20:10:47 +00:00
Tiago Silva e8388cdb0e Fix liveness probe endpoint (#13208)
* fix liveness probe endpoint

* fix helm unittests
2022-06-07 16:49:29 +00:00
Gus Luxton 252ca62a76 Add S3:AbortMultipartUpload to AWS IAM policies (#13213)
* Add S3:AbortMultipartUploads to AWS IAM policies

Searched for all locations where s3:ListBucketMultipartUploads is currently required and added it.

* Fix permission name (it's singular)
2022-06-07 12:28:12 +00:00
Roman Tkachenko cecf9dce18 [auto] Update AMI IDs for 9.3.2 (#13153) 2022-06-03 19:37:51 -04:00