-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script to configure IAM for the DeployService #28436
Script to configure IAM for the DeployService #28436
Conversation
f131b68
to
81099f7
Compare
lib/web/apiserver.go
Outdated
@@ -762,6 +762,7 @@ func (h *Handler) bindDefaultEndpoints() { | |||
// AWS OIDC Integration Actions | |||
h.POST("/webapi/sites/:site/integrations/aws-oidc/:name/databases", h.WithClusterAuth(h.awsOIDCListDatabases)) | |||
h.POST("/webapi/sites/:site/integrations/aws-oidc/:name/deployservice", h.WithClusterAuth(h.awsOIDCDeployService)) | |||
h.GET("/webapi/sites/:site/integrations/:name/configure-deployservice-iam", h.WithLimiter(h.awsOIDCConfigureDeployServiceIAM)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we should make the endpoint look similar to these scripts
endpoint as
Line 593 in 81099f7
h.GET("/webapi/scripts/desktop-access/configure/:token/configure-ad.ps1", h.WithLimiter(h.desktopAccessScriptConfigureHandle)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trying to adapt, it would be something like:
/webapi/scripts/integration/configure/deployservice-iam.sh
We can do that 👍
We'll need to add the integration name as query param
950338d
to
8a5d4d8
Compare
8a5d4d8
to
6a91796
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Few minor things.
6a91796
to
a3ea539
Compare
a3ea539
to
4d42a81
Compare
@marcoandredinis See the table below for backport results.
|
* Script to configure IAM for the DeployService * use any instead of interface{} * fix test typo
Demo:
Requires #28088