Commit graph

69 commits

Author SHA1 Message Date
Steven Martin 25d7ae616d
Remove no longer used Teleport enterprise yaml example (#24073) 2023-04-05 15:27:53 +00:00
Steven Martin 7e5ed76223
Bump versions in docker images to 12 (#22345)
* Bump versions in docker images to 12

* Bump versions in docker images to 12

* Bump docker version to 12
2023-02-27 21:44:15 +00:00
Roman Tkachenko c65deefed3
Bump versions in docker images to 11 (#17768) 2022-10-25 01:06:02 +00:00
Hugo Shaka 2ef2de956a
Use Teleport's standard buildbox (#17122)
* Use Teleport's standard buildbox

This commit edits the teleport-operator container image build process to
rely on Teleport's standard buildbox. This will make sure we are using a
single go version at all time.

This also removed unused environment variables from
`operator/Makefile`.

* Extract BUILDBOX variables out of build.assets/Makefile
* Put `teleport-operator` bin out of the Teleport source volume
2022-10-11 15:19:38 +00:00
Ryan Clark 806a568ada
Introduce config v3, add auth_server and proxy_server, remove auth_addresses (#15761) 2022-09-28 15:30:15 +00:00
Logan Davis 830794a9cf
Replace quay.io with amazon ECR where appropriate (#15382) 2022-08-19 10:24:15 -05:00
Logan Davis 76606fc18b
Update buildbox to push to ECR (#15058) 2022-08-16 21:07:07 +00:00
Roman Tkachenko 6eb513be5b
10 Post-release 4: Update docker lab versions to 10 in master (#14246)
Update docker lab versions to 10
2022-07-08 23:52:26 +00:00
Roman Tkachenko 8d9a83b1ff
Use teleport11 buildbox for tests (#13572) 2022-06-16 23:04:32 +00:00
Zac Bergquist 1662535bf5
Remove deprecated fileconfig options (#13101)
trusted_clusters and dynamic_config have long been deprecated
and should have been removed in Teleport 2.4.1.
2022-06-06 16:58:28 +00:00
Roman Tkachenko 715dbb8a5d
Bump Go to 1.17.9 (#11931) 2022-04-14 02:35:00 +00:00
Roman Tkachenko 9f68e11469
9.0 post-release 3 (#11088) 2022-03-12 00:30:02 +00:00
Paul Gottschling 9605128f67
Fix docker-compose Getting Started guide issues (#9709)
* Fix docker-compose Getting Started guide issues

This addresses several issues with the Docker Compose Getting
Started Guide.

- Intermittent SSH failures and password prompts from the term
  container

  In the bootstrap container, the "generate-certs.sh" script is
  used to generate certificates for other containers in the
  environment. This uses two "tctl auth export" commands. If
  the Teleport container is not available, i.e., it hasn't
  finished booting, generate-cert.sh is supposed to execute a
  "return" statement from either of the two "tctl auth export"
  commands with a nonzero code, causing the script to try
  again after one second.

  However, since the output of each "tctl auth export" command
  is piped into a "sed" command, the "generate_certs()"
  function continues without retrying if the Teleport
  container is not yet available. This means that the
  term container does not have access to the certificate it
  needs to connect to the OpenSSH server, public key
  authentication fails, and SSH issues a password challenge.

  This change adds the "set -o pipefail" option to the
  "generate-certs.sh" script so that the "tctl auth export"
  commands return a nonzero exit code if they fail and
  the retry logic works as intended.

- Add session recording to the "Next steps" section

  This demo isn't set up for session recording, so we remove
  the mention from the main body of the guide to avoid
  misleading users that this is supposed to be set up here.
  Instead, this mentions it as a next step.

- Update instructions for accessing the Web UI.

  This mentions the currently valid Chrome flag to use and
  indicates that you can visit the invite page in your browser
  via localhost.

Fixes #9687
Fixes #7872

* Respond to PR feedback
2022-02-02 16:36:53 +00:00
Jakub Nyckowski dff0d32ac7
Fix incorrect paths in docker/Dockerfile. (#9164)
Fix 'file not found' error when building `docker/Dockerfile`.

Co-authored-by: Russell Jones <russjones@users.noreply.github.com>
2021-12-06 11:26:06 -05:00
Russell Jones 5502d2d010 Updated Docker Quickstart/Labs. 2021-11-17 16:52:11 -08:00
Russell Jones 675be8fc21 Updated Go to 1.17.2. 2021-10-22 14:01:25 -07:00
sshahcodes 994d2c7022 [forward-port] Teleport lab - open 3024 port in and copy changes. 2021-09-23 09:40:12 -07:00
Steven Martin c8670cdbfb
correct tsh proxy alias (#7902)
removes port number so it can try 3080 and 443
2021-08-16 07:46:53 -07:00
Gus Luxton 4751f82956
docker: Automatically build teleport-lab image nightly based on latest Teleport version (#7692) 2021-07-26 09:45:59 -07:00
Alexander Klizhentas 2afd171880
set cluster name in lab (#7579)
Co-authored-by: Gus Luxton <gus@goteleport.com>
2021-07-19 07:48:03 -07:00
Alexander Klizhentas cab8cf8070
Adds Teleport lab. (#7480)
Teleport lab is a demo environment in docker-compose.
All components are setup, so users can jump straight into
exploration of Teleport's features.
2021-07-15 11:56:23 -07:00
Gus Luxton 0af3d2ff9f
docker-compose: Update default images used to version 6 (#7055) 2021-06-07 08:18:00 -07:00
corkrean dcce04e1b4
Updating teleport-quickstart.yml to latest release (#6970)
* Updating teleport-quickstart.yml to latest release

This teleport-quickstart.yml is used in our Docker quickstart guide (docker-compose section). https://goteleport.com/docs/quickstart-docker/#quickstart-using-docker-compose

I updated the quay repo from 5.0 to 6.1.5. (latest version at time of writing)

* Update docker/teleport-quickstart.yml

Co-authored-by: Gus Luxton <gus@gravitational.com>
2021-05-26 12:07:01 -07:00
George Gaál b66bda89d0
Update Dockerfile (#6499)
remove unnecessary apt-get update and small rework

Co-authored-by: Andrew Lytvynov <andrew@goteleport.com>
2021-04-21 14:19:10 -07:00
Gus Luxton 8d40ce9b6a
Address post-release checklist items for 5.1 (#5223) 2021-01-20 17:13:42 -04:00
Gus Luxton 553d632b2d
Post-release checklist for 5.0 (#4982) 2020-11-25 17:23:00 -04:00
Gus Luxton d1cd94535c
Bump Go to 1.15.5 (#4853) 2020-11-16 15:18:10 -04:00
Andrew Lytvynov 76d07d10cf
Bump Go to 1.15.3 (#4811)
* Bump Go to 1.15.5

* Downgraded Go version to 1.15.3.

* Sign .drone.yml

Co-authored-by: Russell Jones <rjones@gravitational.com>
Co-authored-by: Gus Luxton <gus@gravitational.com>
2020-11-16 18:36:17 +00:00
Gus Luxton e32db1d2f8
Update Teleport image and dumb-init path in Docker quickstart (#4655) 2020-10-29 18:02:48 -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
Brian Joerger 10aa7efe70 Fix teleport-buildbox docker image name in Dockerfile. 2020-09-23 20:35:33 +00:00
Gus Luxton a1ac0ec4ba
Fix Docker Quickstart configuration paths (#4116) 2020-07-24 16:00:02 -03:00
Gus Luxton 2c2440c53c
Add Docker OSS/Enterprise quickstarts (#4071)
* Add docker-compose Teleport quickstart and update docs
2020-07-21 07:34:03 -07:00
Andrew Lytvynov 2f45cef664 Update dockerized build to Go 1.14 2020-07-10 20:29:28 +00:00
Lisa Kim a573fd25ed
Update docker/README and its Dockerfile (#3400)
* Add missing (make build) step for running teleport cluster in docker container
* Edit Dockerfile teleport-buildbox tag from :latest to :go1.13.2 to match the image tag from running "make docker" from root.
* Update root README about docker
2020-03-03 20:33:24 -08:00
Sasha Klizhentas 83d0f7e7bb Fix role mapping for trusted clusters
This commit fixes #3252

Security patches 4.2 introduced a regression - leaf clusters ignore role mapping
and attempt to use role names coming from identity of the root cluster
whenever GetNodes method was used.

This commit reverts back the logic, however it ensures that the original
fix is preserved - traits and groups are updated on the user object.

Integration test has been extended to avoid the regression in the future.
2020-01-15 12:57:33 -08:00
Gus Luxton 435c546dba
/var/run/teleport -> /run/teleport (#3043) 2019-10-02 20:26:56 -03:00
Cove Schneider aaf5029d25 fix docker dev env docs and image build problem 2019-02-04 10:27:31 -08:00
Benedict Hartmann 9ec8ba1b3b fix issue 2274: update debian repos 2018-12-27 09:42:17 -08:00
Sasha Klizhentas 7e54109ad2 Update test plan and add sshd flow 2018-03-02 15:48:27 -08:00
Sasha Klizhentas e809a7eb2c Better signal handling and pools for gzip.
Fixes #1698.

* Added sync.Pool to take care of many gzip.Writer
allocating a lot of large objects on the heap.

* Reshuffled signal handling, SIGQUIT is now
graceful shutdown, just like in Nginx.

* Signal USR1 prints hepful diagnostic info to stderr.

* Removed gops endpoint and flags.

* Fixed logs in some places.

* Debug flag now adds extra pprof handlers to diagnostic
endpoint.
2018-02-19 10:57:26 -08:00
Sasha Klizhentas ebe3c1a9c1 Fix several issues with audit events.
1. Fixes several cosmetic issues with logs:

Fixes #1690, fixes #1687

2. Fixes deadlocks that were revealed during stress
testing on slow encrypted EFS system.

The following deadlock scenario was happening:

Goroutine 1:

t1. auditlock.Lock <- success
t3. diskSessionLogger.Lock <- blocked

Gorotuine 2:

t2. diskSessionLogger.Lock <- success
t4. auditLock.Lock  <- blocked

3. Update ansible upgrade scripts
to support custom binary upgrades.

4. Fix docker flow by removing deprecated
--gops-addr flag

5. Remove verbose logging lines.

6. Reduce compression efficiency to
reduce large memory load.
2018-02-15 18:28:42 -08:00
Roman Tkachenko 69866262ea Allow to pick pro or enterprise mode in docker flow 2018-01-09 17:56:08 -08:00
Sasha Klizhentas 71c15e5835 Add support for NFS-friendly log protocol.
* Session events are delivered in continuous
batches in a guaranteed order with every event
and print event ordered from session start.

* Each auth server writes to a separate folder
on disk to make sure that no two processes write
to the same file at a time.

* When retrieving sessions, auth servers fetch
and merge results recorded by each auth server.

* Migrations and compatibility modes are in place
for older clients not aware of the new format,
but compatibility mode is not NFS friendly.

* On disk migrations are launched automatically
during auth server upgrades.
2018-01-04 18:54:37 -08:00
Sasha Klizhentas 0130c6aa41 Mutual TLS Auth server and clients.
This commit introduced mutual TLS authentication
for auth server API server.

Auth server multiplexes HTTP over SSH - existing
protocol and HTTP over TLS - new protocol
on the same listening socket.

Nodes and users authenticate with 2.5.0 Teleport
using TLS mutual TLS except backwards-compatibility
cases.
2017-12-27 11:37:19 -08:00
Roman Tkachenko 2109720483 Fix docker flow for enterprise 2017-11-29 12:41:37 -08:00
Sasha Klizhentas 4089574f53 fix delays and offsets, address review comments 2017-11-16 14:43:35 -08:00
Sasha Klizhentas 6e4d6b0cb2 more work, discovery works 2017-10-07 18:11:03 -07:00
Sasha Klizhentas e12ec7422c refactoring 2017-10-05 17:29:31 -07:00
Russell Jones d0a3733167 Fixed Docker admin role. 2017-04-19 12:02:17 -07:00