Skip to content

Commit

Permalink
feat: remove stargate auth client (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag authored Sep 28, 2023
1 parent e93ab9f commit abdc4f2
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 85 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ data:
id: control
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
PostLogoutRedirectUris: []
scopes:
- openid
id: stargate
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ data:
id: orchestration
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
PostLogoutRedirectUris: []
scopes:
- openid
id: stargate
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ data:
id: orchestration
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
PostLogoutRedirectUris: []
scopes:
- openid
id: stargate
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ data:
id: orchestration
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
PostLogoutRedirectUris: []
scopes:
- openid
id: stargate
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ data:
id: orchestration
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
PostLogoutRedirectUris: []
scopes:
- openid
id: stargate
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ data:
id: control
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
PostLogoutRedirectUris: []
scopes:
- openid
id: stargate
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ data:
id: orchestration
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
PostLogoutRedirectUris: []
scopes:
- openid
id: stargate
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ data:
id: orchestration
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
PostLogoutRedirectUris: []
scopes:
- openid
id: stargate
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ data:
id: orchestration
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
PostLogoutRedirectUris: []
scopes:
- openid
id: stargate
secrets:
- mocked-secret
- public: false
description: null
redirectUris: []
Expand Down
4 changes: 0 additions & 4 deletions components/operator/internal/modules/stargate/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"strconv"
"strings"

stackv1beta3 "github.com/formancehq/operator/apis/stack/v1beta3"
"github.com/formancehq/operator/internal/modules"
)

Expand All @@ -25,9 +24,6 @@ func (s module) Versions() map[string]modules.Version {
ExposeHTTP: true,
Liveness: modules.LivenessDefault,
Annotations: ctx.Configuration.Spec.Services.Stargate.Annotations.Service,
AuthConfiguration: func(resolveContext modules.ModuleContext) stackv1beta3.ClientConfiguration {
return stackv1beta3.NewClientConfiguration()
},
Container: func(resolveContext modules.ContainerResolutionContext) modules.Container {
return modules.Container{
Env: stargateClientEnvVars(resolveContext),
Expand Down

1 comment on commit abdc4f2

@vercel
Copy link

@vercel vercel bot commented on abdc4f2 Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.