Skip to content

Commit

Permalink
Globalaccounts tool - fix config (#1293)
Browse files Browse the repository at this point in the history
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Kyma Binding with Gardener's Adminkubeconfig  (#1160)

* Gardener Admin Kubeconfig Generation as a Default Binding Provider

* Linter & Default Service Account Correction

* Build Correction

* Added Missing Scheme Registration for shoot Package

* Linter

* Removed Empty Test

* Removed Debug Lines

* Review Remarks

* Review Remarks

* Removed Unnecessary Import

* Linter

* Review Remarks

* Review Remarks

* Linter

* Review Remarks

* Bump sec-scanners-config.yaml, KEB images and Chart to 1.10.6 (#1181)

* Extend binding create endpoint (#1180)

* Extend binding create endpoint

* Apply suggestions

* Remove necessary comment

* Bump sec-scanners-config.yaml, KEB images and Chart to 1.10.7 (#1183)

* Remove avs (#1182)

* Remove AvS code

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

---------

Co-authored-by: Wojciech Wrzalik <[email protected]>
Co-authored-by: Kyma gopher bot <[email protected]>
Co-authored-by: KsaweryZietara <[email protected]>
Co-authored-by: Piotr Miśkiewicz <[email protected]>
  • Loading branch information
5 people authored Oct 9, 2024
1 parent 8a863fd commit f732dd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/globalaccounts/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ type Config struct {
DryRun bool `envconfig:"default=true"`
ServiceID string `envconfig:"default=account-service-id"`
ServiceSecret string `envconfig:"default=account-service-secret"`
ServiceAuth string `envconfig:"default=url"`
AuthURL string `envconfig:"default=url"`
ServiceURL string `envconfig:"default=url"`
}
2 changes: 1 addition & 1 deletion internal/globalaccounts/globalaccounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func initAll(ctx context.Context, cfg Config, logs *logrus.Logger) (*http.Client
oauthConfig := clientcredentials.Config{
ClientID: cfg.ServiceID,
ClientSecret: cfg.ServiceSecret,
TokenURL: cfg.ServiceAuth,
TokenURL: cfg.AuthURL,
}

db, connection, err := storage.NewFromConfig(
Expand Down

0 comments on commit f732dd7

Please sign in to comment.