Skip to content

Commit

Permalink
Merge branch 'master' into bernard/trusted-cluster-name
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardjkim authored Nov 19, 2024
2 parents a7749ed + 9f5b360 commit d296fa1
Show file tree
Hide file tree
Showing 122 changed files with 3,268 additions and 1,194 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/vercel-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `🤖 Vercel preview here: ${previewUrl}/docs/ver/preview`
body: `🤖 Vercel preview here: ${previewUrl}/docs`
})
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1809,10 +1809,10 @@ rustup-install-target-toolchain: rustup-set-version
# usage: BASE_BRANCH=branch/v13 BASE_TAG=v13.2.0 make changelog
#
# BASE_BRANCH and BASE_TAG will be automatically determined if not specified.
CHANGELOG = github.com/gravitational/shared-workflows/tools/changelog@latest
.PHONY: changelog
changelog:
@go run $(CHANGELOG) --base-branch="$(BASE_BRANCH)" --base-tag="$(BASE_TAG)" ./
@go run github.com/gravitational/shared-workflows/tools/changelog@latest \
--base-branch="$(BASE_BRANCH)" --base-tag="$(BASE_TAG)" ./

# create-github-release will generate release notes from the CHANGELOG.md and will
# create release notes from them.
Expand All @@ -1826,12 +1826,14 @@ changelog:
#
# For more information on release notes generation see:
# https://github.com/gravitational/shared-workflows/tree/gus/release-notes/tools/release-notes#readme
RELEASE_NOTES_GEN = github.com/gravitational/shared-workflows/tools/release-notes@latest
.PHONY: create-github-release
create-github-release: LATEST = false
create-github-release: GITHUB_RELEASE_LABELS = ""
create-github-release:
@NOTES=$$($(RELEASE_NOTES_GEN) --labels=$(GITHUB_RELEASE_LABELS) $(VERSION) CHANGELOG.md) && gh release create v$(VERSION) \
@NOTES=$$( \
go run github.com/gravitational/shared-workflows/tools/release-notes@latest \
--labels=$(GITHUB_RELEASE_LABELS) $(VERSION) CHANGELOG.md \
) && gh release create v$(VERSION) \
-t "Teleport $(VERSION)" \
--latest=$(LATEST) \
--verify-tag \
Expand Down
106 changes: 68 additions & 38 deletions api/gen/proto/go/teleport/discoveryconfig/v1/discoveryconfig.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions api/proto/teleport/discoveryconfig/v1/discoveryconfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ enum DiscoveryConfigState {
message IntegrationDiscoveredSummary {
// AWSEC2 contains the summary for the AWS EC2 discovered instances.
ResourcesDiscoveredSummary aws_ec2 = 1;

// AWSRDS contains the summary for the AWS RDS discovered databases.
ResourcesDiscoveredSummary aws_rds = 2;

// AWSEKS contains the summary for the AWS EKS discovered clusters.
ResourcesDiscoveredSummary aws_eks = 3;
}

// ResourcesDiscoveredSummary represents the AWS resources that were discovered.
Expand Down
5 changes: 3 additions & 2 deletions assets/loadtest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@ deploy-tc:
.PHONY: join-tc
join-tc:
kubectl get pod -n tc -o name --no-headers \
| xargs -P 20 -n 1 -I {} kubectl -n tc exec {} -- tctl create -f /etc/teleport/tc.yaml
| xargs -P 10 -n 1 -I {} kubectl -n tc exec {} -- tctl create -f /etc/teleport/tc.yaml

# deletes trusted clusters
.PHONY: delete-tc
delete-tc:
helm delete -n tc trusted-cluster
tctl get rc | grep ' name:' | cut -d ':' -f2- | xargs -P 20 -n 1 -I {} tctl rm rc/{}
kubectl --namespace teleport exec deploy/teleport-auth \
-- /busybox/sh -c "tctl get rc | grep ' name:' | cut -d ':' -f2- | xargs -P 20 -n 1 -I {} tctl rm rc/{}"

# creates a bot used by the soak tests to authenticate with the cluster
.PHONY: create-soaktest-bot
Expand Down
Loading

0 comments on commit d296fa1

Please sign in to comment.