Commit Graph
351 Commits
Author SHA1 Message Date
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
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 ReyesandGus Luxton 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 CandGus Luxton 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 SchisaandZac Bergquist 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
a7f016a8d8 Updated docs for the improved Google OIDC connector (#9907)
* Updated docs for the improved Google OIDC connector

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>

* Use "code" blocks for copyable commands

* whitespace

* Consistency with punctuation and avoid splitting paragraphs with images.

* Updated error message matching the current code

* Bump minimum version for OIDCConnector v3 to 8.1.2

* More fixes

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>
2022-01-26 10:45:22 +00:00
Steven Martin 83e9483cac Add email parameter to example (#9850)
you will get an error without the `DomainAdminEmail`
2022-01-21 19:07:06 +00:00
Peter Collins 28f101ae8f Fix docs and config newline outputs 2022-01-20 18:09:03 -08:00
Peter Collins e8ede04b8a Fix inclusion of non-existant gcp-credentials secret and credentialsPath when credentialSecretName is empty 2022-01-20 18:09:03 -08:00
JoelandZac Bergquist 62173e096b use google/uuid instead of pborman/uuid (#9793)
* replace imports

* use google/uuid

* fix test

* reverse changelog changes

* update gomod

* zac steps

* tidy

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2022-01-19 23:44:48 +00:00
Mohammad AbudayyehandGus Luxton d3dca90b93 fix: removing new line convergance (#9579)
Co-authored-by: Gus Luxton <gus@goteleport.com>
2022-01-17 18:10:02 +00:00
Matthieu ANTOINEandGus Luxton f949493ab0 helm: Allow setting issuer group for certificate in teleport-cluster (#9138)
* Helm chart - teleport-cluster - add issuer group argument for custom issuer groups such as AWS ACM PCA

* Update documentation reference for helm chart and remove trailing whitespace

* Fix --set typo in documentation and add lint values.

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

* Add commonName field as optional

Co-authored-by: Gus Luxton <gus@goteleport.com>
2022-01-15 02:46:40 +00:00
Gus Luxton 3cc3bcfadf helm: Add logging configuration to teleport-kube-agent chart (#9632)
* [helm] Re-add space after type in service definition (#9503)

The whitespace after `type:` was being trimmed, which was causing a lint error. Not sure how this got through the linter in the first place.

* helm: Adds log configuration to teleport-kube-agent chart

* Remove erroneous value

* Update reference.mdx

Remove shell prompt character
2022-01-15 02:21:13 +00:00
Takao ShibataandGus Luxton 4b6081657d fix nindent of service.spec in teleport-cluster chart (#9645)
Co-authored-by: Gus Luxton <gus@goteleport.com>
2022-01-14 18:32:52 +00:00
Trent Clarke 4ba0248769 Restrores CI lint for non-go files (#9663)
Linting for non-go files was accidentally dropped in the transition to
GCB (sorry!). This patch restores linting for non-go files and fixes
any lint failures that have crept in during the interim.
2022-01-06 22:20:56 +11:00
Jakub Nyckowski e9450e32a3 Add ARM64 support for buildbox docker image (#9572)
* Update buildbox to use Python3.
* Remove non default rust targets from arm64 image.
* Add ETCD_UNSUPPORTED_ARCH for arm64 to etcd script to allow running etcd on arm64.
2021-12-29 03:33:22 +00:00
nml11c 7d93a42106 Restart teleport-kube-agent can't join cluster.
Sometimes `teleport-kube-agent` halt connection to main `teleport-proxy` and
the only way to fix it is to restart it. Liveness probe seems like a perfect
way to do that.
2021-12-21 21:50:58 -08:00
Brendan Germain 16844397b4 add TLS routing support to helm chart 2021-12-21 21:50:58 -08:00
Gus Luxton 896f64c99b Added log configuration to teleport-cluster chart.
Also support mirroring audit events to stdout for external log collectors
2021-12-21 21:50:58 -08:00
Johannes Jungkunst b2ab91f809 Added support for service.spec.loadBalancerIP.
* Add loadBalancerIP option
* Add docs to value file
* Changed var path
* Changed docs
* Added example and docs
* Added spec to values.schema.json
2021-12-21 21:50:58 -08:00
Travis Haas 27708b30e1 Add PDB to teleport-kube-agent chart
* Add PDB to teleport-kube-agent chart
* Support a root value of replicaCount
* Update lint values for kube-agent pdb
* Add changes to statefulset
2021-12-09 21:58:58 -08:00
David Heitman 5601c085c0 Optionally allow cluster_name to override public_address being used for cluster_name 2021-12-09 21:58:58 -08:00
Russell Jones 9282fbd613 [auto] Update AMI IDs for 8.0.0 (#9025) 2021-11-17 08:20:08 -08:00
Gus LuxtonandVlad Losev da6ffea054 [pr-buddy] helm: Add support for annotation on secrets generated by cert-manager (#8872)
* helm: Add support for annotation on secrets generated by cert-manager.

* Adds documentation and a linter test.

* Fixes lint error.

Signed-off-by: Gus Luxton <gus@goteleport.com>
Co-authored-by: Vlad Losev <vladimir.losev@sage.com>
2021-11-15 12:25:14 -08:00
Gus Luxton 3cedd55338 [helm] Change path -> mountPath under extraVolumeMounts (#8806) 2021-11-01 11:33:35 -07:00
Russell Jones 912704bb51 [auto] Update AMI IDs for 7.3.2 2021-10-29 17:18:42 -07:00