Skip to content

Commit

Permalink
Fix: remove ServiceAuth from Config type
Browse files Browse the repository at this point in the history
Remove unused serviceAuth config object from the Config type.

fixes #348
  • Loading branch information
rkpattnaik780 committed Feb 22, 2021
1 parent 8f4fff8 commit 7ac6171
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/config/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ type Config struct {
ClientID string `json:"client_id" doc:"OpenID client identifier."`
Insecure bool `json:"insecure" doc:"Enables insecure communication with the server. This disables verification of TLS certificates and host names."`
Scopes []string `json:"scopes" doc:"OpenID scope. If this option is used it will replace completely the default scopes. Can be repeated multiple times to specify multiple scopes."`
ServiceAuth ServiceAuth `json:"serviceAuth"`
}

// ServiceAuth for cli authentication within enabled services
type ServiceAuth struct {
ClientID string `json:"clientID"`
ClientSecret string `json:"clientSecret"`
}

// ServiceConfigMap is a map of configs for the managed application services
Expand Down

0 comments on commit 7ac6171

Please sign in to comment.