Commit 485e429 1 parent 0c91e93 commit 485e429 Copy full SHA for 485e429
File tree 2 files changed +15
-6
lines changed
2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ type oAuthConfig struct {
104
104
RedirectURL string `env:"OAUTH_REDIRECT_URL"`
105
105
106
106
// FrontendURL The URL of the frontend application.
107
+ // TODO: This should be removed as we are always on the same domain
107
108
FrontendURL string `env:"OAUTH_FRONTEND_URL"`
108
109
}
109
110
@@ -123,12 +124,6 @@ type Config struct {
123
124
LogFormat string `env:"LOG_FORMAT,default=json"`
124
125
LogLevel string `env:"LOG_LEVEL,default=info"`
125
126
126
- // Names of reconcilers to enable on first run of api
127
- //
128
- // Example: google:gcp:project,nais:namespace
129
- // Valid: [google:gcp:project|google:workspace-admin|nais:namespace|nais:deploy]
130
- FirstRunEnableReconcilers []string `env:"FIRST_RUN_ENABLE_RECONCILERS"`
131
-
132
127
// StaticServiceAccounts A JSON-encoded value describing a set of service accounts to be created when the
133
128
// application starts. Refer to the README for the format.
134
129
StaticServiceAccounts fixtures.ServiceAccounts `env:"STATIC_SERVICE_ACCOUNTS"`
Original file line number Diff line number Diff line change 1
1
-- +goose Up
2
2
3
+ -- Grant permissions in GCP if the role cloudsqlsuperuser exists
4
+ -- +goose StatementBegin
5
+ DO
6
+ $$
7
+ BEGIN
8
+ IF EXISTS (
9
+ SELECT FROM pg_catalog .pg_roles
10
+ WHERE rolname = ' cloudsqlsuperuser' ) THEN
11
+ GRANT ALL ON SCHEMA public TO cloudsqlsuperuser;
12
+ END IF;
13
+ END
14
+ $$;
15
+ -- +goose StatementEnd
16
+
3
17
-- extensions
4
18
CREATE EXTENSION fuzzystrmatch;
5
19
You can’t perform that action at this time.
0 commit comments