This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init support for cloudsql * update cloudsql package * update cloudsql package * skip replica instance * init support for rds instances * pause rds custom automation * update docs
- Loading branch information
1 parent
f7841b9
commit a2d3dd5
Showing
19 changed files
with
416 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,3 +138,4 @@ app | |
volume | ||
.env | ||
local-env.sh | ||
local.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,7 @@ func (s *server) Serve(ctx context.Context, l net.Listener) error { | |
providers := strings.Split(os.GetEnv("GORYA_ENABLED_PROVIDERS", ""), ",") | ||
ticker := time.NewTicker(30 * time.Second) | ||
for _, provider := range providers { | ||
provider = strings.ToLower(provider) | ||
if provider != constants.PROVIDER_AWS && provider != constants.PROVIDER_GCP && provider != constants.PROVIDER_AZURE { | ||
continue | ||
} | ||
|
@@ -89,7 +90,7 @@ func (s *server) Serve(ctx context.Context, l net.Listener) error { | |
} | ||
} | ||
} | ||
//c.credentialRef["arn:aws:iam::043159268388:role/test"] = true | ||
// c.credentialRef["arn:aws:iam::043159268388:role/test"] = true | ||
s.aws, err = aws.NewPool( | ||
ctx, | ||
c.credentialRef, | ||
|
@@ -132,6 +133,7 @@ func (s *server) Serve(ctx context.Context, l net.Listener) error { | |
} | ||
} | ||
} | ||
c.credentialRef["[email protected]"] = true | ||
s.gcp, err = gcp.NewPool( | ||
ctx, | ||
c.credentialRef, | ||
|
@@ -166,7 +168,7 @@ func (s *server) Serve(ctx context.Context, l net.Listener) error { | |
PopInterval: 2 * time.Second, | ||
}, | ||
}) | ||
path, svcHandler := svcv1alpha1.NewGoryaServiceHandler(ctx, s.sc, s) | ||
path, svcHandler := svcv1alpha1.NewGoryaServiceHandler(ctx, s) | ||
mux.Handle(path, svcHandler) | ||
srv := &http.Server{ | ||
Handler: h2c.NewHandler(mux, &http2.Server{}), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.