Commit graph

372 commits

Author SHA1 Message Date
Roman Tkachenko f396e79f5a
[auto] Update AMI IDs for 9.2.4 (#12805) 2022-05-20 23:26:52 +00:00
Brian Joerger 5ec15cbbb9
Rework slack docs to reflect latest changes (#10607)
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-05-19 14:43:24 -07:00
Roman Tkachenko ea394747bb
feat(helm): add priorityClassName and extraLabels to kube-agent (#12559)
* feat(helm): add priorityClassName and extraLabels to kube-agent

Signed-off-by: Roman Tkachenko <roman@goteleport.com>

Co-authored-by: daquinoaldo <aldd@bendingspoons.com>
2022-05-10 22:37:20 +00:00
Trent Clarke e228fe5f1a
Updates terraform docs for provider (#12314)
Updates the Terraform getting started guide to reflect the use of a
custome provider registry:

 * Removes the now-superfluous installation step
 * Updates examples to reflect actual location of terraform provider
2022-05-03 10:18:39 +10:00
Roman Tkachenko def71e7b0a
[auto] Update AMI IDs for 9.1.3 (#12377) 2022-05-02 19:17:58 -04:00
Marco André Dinis 6c091215e9
Terraform: improve docs for multiple node labels (#12351)
Relates to #12227
2022-05-02 22:36:02 +00:00
Zac Bergquist ce2f7c54fd Remove gops
Updates #5685
2022-04-21 11:48:04 -06:00
Roman Tkachenko 0243c88cdb
[auto] Update AMI IDs for 9.1.0 (#12137) 2022-04-20 20:34:51 -07:00
colinedwardwood 27e9846bcc
Update bastion.tf (#11909)
just a nit fix to the comment

Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>
2022-04-20 20:23:34 +00:00
Gus Luxton a2ece60402
helm: Buddy merge for #11368 (Enable persistence in custom mode) (#11993)
* feat: Standardize persistence

* helm: Use deprecated standalone.existingClaimName when specified over newer persistence.existingClaimName

* chore: Change pvc comment

* feat: Update chart reference

* Update docs/pages/kubernetes-access/helm/reference/teleport-cluster.mdx

Co-authored-by: Pierre Lebrun <pierreyves.lebrun@rakuten.com>
2022-04-16 00:31:14 +00:00
Marco André Dinis 65425313af
Update syntax to respect TF minimum version (1.0.0) (#11669)
Most of the changes are related to the strictness of TF v0.12

https://www.terraform.io/language/upgrade-guides/0-12
> Due to the design of the configuration language decoder in
> Terraform v0.11 and earlier, it was in many cases possible to
> interchange the argument syntax (with =) and the block syntax
> (with just braces) when dealing with map arguments vs. nested
> blocks. However, this led to some subtle bugs and limitations,
> so Terraform v0.12 now requires consistent usage of argument
> syntax for arguments and nested block syntax for nested blocks.

This commit validates both examples against Terraform 1

The min terraform version is going to be updated to 1.0.0
https://github.com/gravitational/teleport/pull/11650

Fixes #11652
2022-04-15 10:29:35 +00:00
Roman Tkachenko cc2e1ad214 [auto] Update AMI IDs for 9.0.4 2022-04-07 20:20:53 -07:00
Russell Jones e2b545db9e Added Machine ID to examples. 2022-04-06 12:18:23 -07:00
Gus Luxton 59e03d42e0
helm: Buddy merge for #11493 (#11693)
* examples/chart/teleport-cluster/templates/deployment.yaml: set strategy to 'Recreate' if chartMode is 'standalone' (fixes #11484)

Signed-off-by: Johannes Kastl <kastl@b1-systems.de>

* examples/chart/teleport-cluster/tests/deployment_test.yaml: add test for strategy in standalone mode

Signed-off-by: Johannes Kastl <kastl@b1-systems.de>

* update examples/chart/teleport-cluster/tests/__snapshot__/deployment_test.yaml.snap after running local tests

Co-authored-by: Johannes Kastl <kastl@b1-systems.de>
2022-04-05 04:09:57 +00:00
Gus Luxton 75e0fcbd67
helm: Add support for mounting existing TLS secrets with optional root CA (#11295) 2022-04-01 17:35:21 -03:00
Roman Tkachenko 9789ec497f
[auto] Update AMI IDs for 9.0.3 (#11653) 2022-04-01 15:11:06 +00:00
Gus Luxton f512f27851
Remove references to authentication type 'false' from docs (#11621) 2022-04-01 02:40:16 +00:00
STeve (Xin) Huang a2c00bb374
update api versions in examples go.mod (#11574) 2022-03-31 14:15:53 +00:00
Roman Tkachenko 062c92b81e
[auto] Update AMI IDs for 9.0.2 (#11474) 2022-03-28 15:37:02 +00:00
Gus Luxton d2a656ef3f
helm: Allow probe timeouts to be configurable (buddy merge of #11176) (#11396)
* Allow for probe timeouts to be configurable

When setting up a new Teleport enterprise cluster on GCP,
I noticed that I needed to set the probe timeouts to get the
cluster to be healthy. This seems to be a known issue (https://github.com/kubernetes/kubernetes/issues/89898).

As a "stopgap", I've updated the helm chart to allow for end users
to be able to configure these timeouts.

* Update configuration option name and add documentation

* Update docs/pages/kubernetes-access/helm/reference.mdx

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

* Add tests for probeTimeoutSeconds

* Add probeTimeoutSeconds to required values

* Add probeTimeoutSeconds to teleport-kube-agent

* Add tests for probeTimeoutSeconds to teleport-kube-agent

* Add probeTimeoutSeconds to teleport-kube-agent reference

Co-authored-by: Hunter Madison <hunter.madison@instana.com>
Co-authored-by: Hunter Madison <hmadison@users.noreply.github.com>
2022-03-25 01:56:22 +00:00
Gus Luxton e5cbd620ce
helm: Add support for separate Postgres/Mongo listeners in teleport-cluster chart (#10858)
* helm: Update NOTES.txt for AWS ACM

* Add support for separate Postgres/MongoDB listeners in teleport-cluster chart

* Special case backend listener protocol based on presence of ACM annotation

* Add tests for separate listeners

* Add tests for ACM annotation setting backend protocol

* Don't add AWS annotations when not in AWS mode

* Adds for separatePostgresListener/separateMongoListener

Also adds missing example for setitng proxyListenerMode

* Add continuous backups permission to DynamoDB policy

Fixes #11411
2022-03-24 18:41:08 +00:00
Gus Luxton 4baf68a4f1
helm: Set default second factor to "otp" in values (#11034)
https://github.com/gravitational/teleport/pull/10817 states in the docs that the default for `authenticationSecondFactor.secondfactor` is `otp`, but it didn't actually update the values.yaml file to make this change the default. This PR addresses that mistake and brings the chart in-line with the docs.
2022-03-22 17:04:32 +00:00
Gus Luxton 1b90927193
helm: Adds missing namespaces to ConfigMap (#11032) 2022-03-22 14:33:12 +00:00
Gus Luxton ee5b859593
helm: Refine snapshotting for Deployment/StatefulSet in unit tests (#11279) 2022-03-22 01:29:06 +00:00
Paul Gottschling 973cb8aac0
Edit three guides for Cloud users (#11115)
See #10633

Terraform Provider guide

- Add tabbed prerequisites so users only see information relevant to
  their scopes.

- Add the impersonation section as an H3 rather than an Admonition. If
  users are learning how to use our Terraform provider, they likely
  will not have enabled impersonation for the Terraform user, and would
  always need to read the Admonition, so this would work better as an
  H3.

- Add a scoped Notice indicating which address to use for the cluster
  address in the sample Terraform config.

Fluentd plugin guide

- Add tabbed instructions for users of different scopes.

- Move the impersonation Admonition to an H3 so readers can configure
  impersonation without running into an error.

- Misc clarity/style edits.

Certificate Authority Rotation

- Add tabbed prerequisites so users of one scope don't see information
  intended for other scopes.
2022-03-21 22:34:34 +00:00
Zac Bergquist 3c74adf218
Add Helm unit tests (#11062)
* POC for Helm unit tests

This uses https://github.com/vbehar/helm3-unittest to define
expectations of our helm templates

* Test that enterprise is configured correctly

* Added tests for teleport-cluster

* Added tests for teleport-kube-agent

* Removed tests for teleport chart

* Add tests for teleport-cluster Deployment

* Run shorter tests first

* Fix Docker plugin installation and add update-helm-snapshots target

* Add README

* Fix lint syntax error and add some missing linters

* Add missing ImagePullPolicy to Deployment and StatefulSet

* Add Deployment tests for teleport-kube-agent

* Fix replicaCount logic

* Add clarification to values

* Add StatefulSet suite for teleport-kube-agent

* Update snapshots after merge with master

* Helm tests are quicker than bash tests

* Add tests for extraEnv

* Random space

* Tidy up formatting of multiple tests

* [debug] List helm plugins and directories

* Special case Helm linting when running in CI

* Make trailing line breaks consistent

* Special case Helm linting when running in CI

* Add contribution guidelines for Helm charts

* Add contribution guidelines to READMEs

* Deprecate old charts

* Typo

* Spacing

* Clarification

* Update examples/chart/CONTRIBUTING.md

* Don't erroneously set extraEnv for initContainers

* Rename update-helm-snapshots -> test-helm-update-snapshots for clarity

Co-authored-by: Gus Luxton <gus@goteleport.com>
Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2022-03-20 19:01:58 +00:00
Gus Luxton a463dacaf2
helm: Adds extraArgs and extraEnv to teleport-kube-agent (#11155)
* helm: Adds extraArgs and extraEnv to teleport-kube-agent

These were present in teleport-cluster but not teleport-kube-agent. This PR fixes that.

* Line breaks

* Also add to StatefulSet
2022-03-17 18:22:59 +00:00
Roman Tkachenko ae0b323189
[auto] Update AMI IDs for 9.0.1 (#11230) 2022-03-17 18:22:40 +01:00
Erick Reyes 508bf7adb2
helm: include static_labels in database example (#10414)
* Updated comment

Update clarifying comment for database section.

* Update examples/chart/teleport-kube-agent/values.yaml

Co-authored-by: Gus Luxton <gus@goteleport.com>
2022-03-17 03:04:35 +00:00
Peter C 3723b9d472
Fix TLS multiplexing for the kubernetes_service in the teleport-cluster helm chart (#10002)
Co-authored-by: Gus Luxton <gus@goteleport.com>
2022-03-16 20:37:32 +00:00
Roman Tkachenko afb18a4452
[auto] Update AMI IDs for 9.0.0 (#11083) 2022-03-11 22:42:02 +00:00
Roman Tkachenko eee4167162
[auto] Update AMI IDs for 8.3.4 (#10882) 2022-03-04 17:28:22 -08:00
Gus Luxton 79e05c0508
helm: Set default second factor to 'otp' (#10817) 2022-03-04 01:58:27 +00:00
Paul Gottschling 5f14bc5128
Add plugin setup instructions for cloud users (#9470)
* Add plugin setup instructions for cloud users

- Turn the identity file export and RBAC instructions into
includes, since these instructions are the same for each
plugin.

- Change the tab set re: an impersonation role to a detail box
scoped to cloud users.

- Add separate example config files for cloud and self-hosted
deployments of each plugin.

- Misc. changes for clarity

Fixes #8936

* Respond to PR feedback

Also make minor stylistic tweaks

* Respond to PR feedback with stylistic tweaks
2022-03-03 16:38:19 +00:00
Peter Collins 5cb4ff9d94 Add webauthn.yaml lint for teleport-cluster helm chart tests 2022-03-02 18:41:50 -08:00
Peter Collins a4bf397ee8 Set rpId as clusterName instead 2022-03-02 18:41:50 -08:00
Peter Collins db3a9c7596 Add support for webauthn in the teleport-cluster helm chart 2022-03-02 18:41:50 -08:00
Pål-Magnus Slåtto d0fb140f86 Fix typo in variables 2022-03-02 18:41:50 -08:00
Roman Tkachenko 6545e6efd6
[auto] Update AMI IDs for 8.3.3 (#10776) 2022-03-03 02:13:36 +00:00
Gus Luxton eab8fd2dda
helm: Fix enabled clause for db_service when using awsDatabases only (#10643)
Some logic was in the wrong place and was erroneously adding both enabled: true and enabled:false when only awsDatabases was enabled.
2022-03-01 20:01:57 +00:00
Gus Luxton aa1d3c6029
helm: Fix indenting on database autodiscovery (#10622)
I had previously assumed that db_service.aws and db_service.databases.aws were the same key; they are not. This PR fixes this error.
2022-02-25 18:13:57 +00:00
Gus Luxton 1d1efaa70f
helm: Revert PodSecurityPolicy change (#10563) 2022-02-23 23:10:06 +00:00
Roman Tkachenko 033debf7e4
Bump version to v10-dev (#10510) 2022-02-22 18:01:11 +00:00
Russell Jones 6538accd1f [auto] Update AMI IDs for 8.3.1 2022-02-18 19:07:21 -08:00
Gus Luxton 562f5bd38b
helm: Add AWS database auto-discovery to teleport-kube-agent (#10344)
* helm: Add AWS database auto-discovery to teleport-kube-agent

* Update psp v1beta -> v1 to avoid upcoming deprecation

* Address docs feedback
2022-02-18 02:54:02 +00:00
Joel ea810d30d9
Implement Moderated Sessions (#8563)
* Implement Moderated Sessions
2022-02-15 17:02:10 +01:00
Russell Jones 427d448684 [auto] Update AMI IDs for 8.2.0 2022-02-09 18:14:05 -08:00
Russell Jones cd873dda0b [auto] Update AMI IDs for 8.1.5 2022-02-07 21:13:07 -08:00
Roman Tkachenko 3c63392bb4
[auto] Update AMI IDs for 8.1.3 (#10144) 2022-02-04 02:43:51 +00:00
Paul Schisa c7a807b45c
Update teleport-agent readme links (#9963)
* Update teleport-agent readme links

* Update examples/chart/teleport-kube-agent/README.md

sounds good to me

Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>

Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>
2022-01-26 14:43:30 -05:00