Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ukff committed Oct 3, 2024
1 parent a2ef6ab commit 62a36b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions internal/globalaccounts/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ type Config struct {
AccountServiceAuth string `envconfig:"default=url"`
AccountServiceURL string `envconfig:"default=url"`
}

// Auth -> https://management-plane.authentication.stagingaws.hanavlab.ondemand.com/oauth/token
// URL -> https://accounts-service.cfapps.stagingaws.hanavlab.ondemand.com/accounts/v1/technical/subaccounts/%s
4 changes: 2 additions & 2 deletions internal/globalaccounts/globalaccounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ func Run(c Config) {
logs.Infof("*** Start at: %s ***", time.Now().Format(time.RFC3339))

svcConfig := svcConfig{
ClientID: c.AccountServiceID, // cis-creds-accounts id -> secret
ClientSecret: c.AccountServiceSecret, // cis-creds-accounts key -> secret
ClientID: c.AccountServiceID,
ClientSecret: c.AccountServiceSecret,
AuthURL: c.AccountServiceURL,
}

Expand Down
2 changes: 1 addition & 1 deletion utils/globalaccounts/kyma-environment-globalaccounts.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if .Values.subaccountSync.enabled }}
{{ if .Values.globalaccounts.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down

0 comments on commit 62a36b2

Please sign in to comment.