Commit graph

180 commits

Author SHA1 Message Date
Travis Swientek 8bc142b62b
[docs] AWS Terraform Quick Start (#4149) 2020-10-01 10:30:57 -07:00
Gus Luxton 803c3fb410
Add higher LimitNOFILE limit to Teleport unit file (#4417) 2020-10-01 11:35:24 -03:00
Andrew Lytvynov 8d7a217089 Run shellcheck during "make lint"
Shellcheck is a linter for shell scripts. Since we have quite a few of
those for release packaging and examples, we'll benefit from an extra
set of (robot) eyes.

Note: I disabled https://github.com/koalaman/shellcheck/wiki/Sc2086 to
make this PR smaller. That specific check is for the most frequent
mistake in our scripts - not quoting env var expansions. I'll do a
separate PR cleaning those up.

`build.assets/pkg` is no longer used and was removed.
2020-09-29 20:40:16 +00:00
Gus Luxton 32890ab70c
Fix namespace usage in k8s-auth script (#4388)
* Fix namespace usage in k8s-auth script

* Fix more namespace usages
2020-09-29 11:07:43 -03:00
Gus Luxton 470bd61dc4
Remove unused teleport-demo chart (#4387) 2020-09-29 09:43:52 -03:00
Gus Luxton 360f642fc8
Remove autoscaler ARN (#4360) 2020-09-23 13:09:27 -03:00
Steven Martin 5e166d425e
Updated READMEI AMI example to 4.3.5 from 4.2.3 (#4341) 2020-09-17 19:31:15 -03:00
Andrew Lytvynov 03064cfa96 etcd: don't confuse prefixes during migration
The prefix fetching logic has a bug: it treats everything starting with
`/teleport` as the legacy prefix data, even if it's `/teleport-foo/bar`.
This is an issue if user specifies `/teleport-foo` as their custom
prefix. Each restart will copy the data from `/teleport-foo/...` to
`/teleport-foo-foo/...`.

Set the legacy prefix const to `/teleport/` instead. This avoids
excessive copying during startup.

Prefixes can still be confused later on, with `Watch` and `GetRange`,
but this is harder to migrate with backwards-compatibility.
2020-09-14 21:26:36 +00:00
Gus Luxton 09245cc091
Add scripts and Makefile targets to automatically update AMI IDs (#4219) 2020-08-24 17:17:34 -03:00
Steven Martin c0a99aa837
Correct SAML web callback (#4158) 2020-08-04 08:44:32 -04:00
Steven Martin 8a2fe9b84b
correct public web address port (#4153) 2020-07-31 09:58:33 -04:00
Gus Luxton 3408a7d306
Fix Helm chart public_addr for proxy when using Ingress (#4107) 2020-07-28 12:10:34 -03:00
Travis Swientek c538fb2e73
Workflow Documentation Fixes (#4111)
* Fixes documentation typo for Slack workflow.
* Improve the example workflow Slack toml comments.
* Remove --pid-file from workflow systemd units.
* PR feedback. teleport-slackbot -> teleport-slack
2020-07-24 10:17:59 -05:00
Andrew Lytvynov de9f9b9ce9
Universal kubeconfig provisioning script (#4086)
This script is similar to `examples/gke-auth/get-kubeconfig.sh` but
should work for any k8s setup.

It uses a service account bearer token for authentication instead of TLS
key/cert. These tokens shouldn't expire and are more appropriate for
automation. It also fetches the CA cert from the service account secret,
which is more reliable than assuming a `kube-dns` pod exists in the
cluster.

In addition, this script sets up the needed k8s RBAC objects for
impersonation, saving the user a few extra steps.
2020-07-21 12:31:22 -07:00
Chad H dec724285c
Typofix: there's no "y" in Teleport (#4079) 2020-07-20 11:25:05 -03:00
Gus Luxton 523d5d6bcb
Update Teleport version in Helm chart to 4.3.0 (#4037) 2020-07-15 13:22:02 -03:00
Ben Arent c2f1eb3202
Teleport EKS Guide (#3921) 2020-07-14 11:03:13 -07:00
Gus Luxton d72aff82f7
http -> https (#3991) 2020-07-08 00:14:56 -03:00
Andrew Lytvynov a5e0720107 etcd: propagate the prefix from config
Prefix-handling code was using a hardcoded prefix (`/teleport`) instead
of the prefix specified in config. Use the correct config prefix and add
a test.
2020-07-02 23:24:49 +00:00
Gus Luxton 72b3679018
Add Helm chart packaging for Teleport (#3943) 2020-07-02 10:48:54 -07:00
Steven Martin 576e4b510d
Update to Teleport Chart (#3821) 2020-07-02 10:47:56 -07:00
Ben Arent da216db761
Updated Teleport Jira Server Approval Plugin Docs & Updated Plugin TOML (#3879) 2020-06-25 10:11:38 -07:00
Ben Arent ff4d3ed43a
Update SSO Docs via Testing Feedback (#3898) 2020-06-25 10:04:41 -07:00
Andrew Lytvynov 5bd66a396e Plumb caller username for CRUD events via contexts
Our auth middleware already attaches a TLS identity as context value.
Plumb contexts through and extract the username when recording events.
If the received context doesn't have an identity attached, use "system"
as username.

Lots of noise here due to missing context.Context plumbing :(
We should eventually plumb contexts to all those RPC interfaces.

Updates #3816
2020-06-18 19:01:35 +00:00
Ben Arent 3976a99771
Teleport 4.3 Docs (#3423)
* Base fork for 4.3 docs

* [docs] external email identities and Kube Users (#3628)

* Base fork for 4.3 docs

* [docs] external email identities and Kube Users (#3628)

* Remove trailing whitespace from docs files

Some editors will do this automatically on save. This causes a lot of
diffs when editing the docs in such an editor.
Clean them up once now and we'll try to keep it tidy going forward.

* Add make rules for docs whitespace and milv

docs-test-whitespace: checks for trailing whitespace in all .md files
  under docs/.
docs-fix-whitespace: removes trailing whitespace in all .md files under
  docs/.
docs-test-links: runs milv in all docs/ subdirectories that have
  milv.config.yaml.
docs-test: runs whitespace and links tests, used during `make docs`

* Document the new `--use-local-ssh-agent` flag for tsh

The flag is used to bypass the local SSH agent even when it's running.
Specifically, this helps with agents that don't support certs.

The flag was added in #3721

* Remove pam_script.so docs from SSH PAM page

With #3725 we now populate teleport-specific env vars in a way that's
accessible to `pam_exec.so`. There's no longer any reason to install
pam_script.so separately and duplicate our docs.

Updates #3692

* Using the correct --insecure-no-tls flag

* Run docs-fix-whitespace make rule in a busybox container


* Fixes #3414

Co-authored-by: Andrew Lytvynov <andrew@gravitational.com>
Co-authored-by: Gus Luxton <gus@gravitational.com>
Co-authored-by: Steven Martin <steven@gravitational.com>
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2020-06-17 17:09:41 -07:00
Andrew Lytvynov e0c7f80f6c Update example helm charts with SelfSubjectAccessReview permissions
The new permission is there to allow the proxy to self-test
impersonation powers at startup and surface RBAC problems early.
2020-06-11 00:14:50 +00:00
Steven Martin 32109d8836
Teleport example helm README update (#3750)
* Teleport helm upgrade command update

The --name in the helm upgrade example was not a valid parameter.  Also put in comments that ca.pem is not required.  It is off by default.

* Modified comments based on feedback
2020-05-20 18:41:42 -04:00
Gus Luxton 4e9c679a05
Add Helm chart with DaemonSet to provide access to underlying host nodes (#3674) 2020-05-19 10:41:12 -03:00
Gus Luxton 7c7c91da10 Add more detail to README 2020-05-01 14:17:49 -07:00
Gus Luxton 218aec357b Change LoadBalancer to ClusterIP 2020-05-01 14:17:49 -07:00
Gus Luxton a3151111bf Update README 2020-05-01 14:17:49 -07:00
Gus Luxton b9c9174e07 Update README 2020-05-01 14:17:49 -07:00
Gus Luxton 2934f65fe2 Removed all requirements for TLS 2020-05-01 14:17:49 -07:00
Gus Luxton 4368891b4e Don't set Kubernetes public address 2020-05-01 14:17:49 -07:00
Gus Luxton 3378dfccd9 Update TLS secret names 2020-05-01 14:17:49 -07:00
Gus Luxton cd4cb69894 More README tweaks 2020-05-01 14:17:49 -07:00
Gus Luxton c5b9d3e68f Changes to README 2020-05-01 14:17:49 -07:00
Gus Luxton 84cd3cc13b Update README 2020-05-01 14:17:49 -07:00
Gus Luxton ed80914d7f Updates 2020-05-01 14:17:49 -07:00
Gus Luxton 292fa32813 Add ability to automatically set up a trusted cluster to Helm chart 2020-05-01 14:17:49 -07:00
Karl-Johan Grahn 39a720d47b
Add support for linux-musl (#3641) 2020-04-29 16:59:56 -03:00
Jonathon Canada e172456938
[examples] Add image types, AMI IDs, extend AuthASG timeout for Cloudformation Enterprise (#3503)
* Add image types, AMI IDs, extend AuthASG timeout
Added options for m4.large and m5.large. Added AMI IDs for all regions. Extended the timeout on the Auth ASG from 20 minutes to 30 minutes.
* Update ent.yaml
Co-authored-by: Ben Arent <ben@gravitational.com>
Co-authored-by: Gus Luxton <gus@gravitational.com>
2020-04-29 09:19:15 -07:00
Jonathon Canada f19ee7e04b
Fixed ASG timeout and updated AMIs (#3631)
Prolonged ASG timeout to 30 minutes, updated the AMIs with 4.2.8, and added additional instance size options
2020-04-27 14:17:13 -07:00
Ben Arent 7290720845
Fix for #3420 - Docs for OIDC for set prompt option. (#3589)
* Fix for #3420
* sets current prompt
2020-04-22 17:16:56 -07:00
Andrew Lytvynov 1cd247905c Fix broken build in example Go client code
The API of auth package changed in an incompatible way. Fix the usage.
2020-04-08 17:38:03 -07:00
Ben Arent 723ea0cd12
Error in Github.yaml (#3523) 2020-04-07 09:21:20 -07:00
Jonathon Canada 5481491160
[docs] Added instructions for license.pem (#3504)
* Added instructions for license.pem
Co-authored-by: Ben Arent <ben@gravitational.com>
2020-03-31 10:02:39 -07:00
Gus Luxton 3245a65687 Also set TELEPORT_PROXY_SERVER_LB for tunnel configs 2020-03-30 17:27:28 -07:00
Gus Luxton 7880e67ea3 Reflect auth server AMI changes in Cloudformation 2020-03-30 17:27:28 -07:00
Russell Jones 43eabd9989 Update get-kubeconfig.sh 2020-03-30 17:26:30 -07:00