Conversation
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
pkg/config/config.go
Outdated
|
|
||
| DataProxy DataProxyConfig `json:"dataProxy" pflag:",Defines data proxy configuration."` | ||
|
|
||
| ExportedDNS config.URL `json:"exportedDNS" pflag:",Defines the http endpoint the service is accessible at."` |
There was a problem hiding this comment.
What should I call this 😬, @wild-endeavor ?
There was a problem hiding this comment.
Can we add a comment to explain under what circumstance this should be used?
Codecov Report
@@ Coverage Diff @@
## master #392 +/- ##
==========================================
- Coverage 61.11% 61.08% -0.04%
==========================================
Files 154 154
Lines 11107 11113 +6
==========================================
Hits 6788 6788
- Misses 3611 3617 +6
Partials 708 708
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
pkg/server/service.go
Outdated
|
|
||
| configuration := runtime2.NewConfigurationProvider() | ||
| service.RegisterAdminServiceServer(grpcServer, adminservice.NewAdminServer(ctx, pluginRegistry, configuration, cfg.KubeConfig, cfg.Master, dataStorageClient, scope.NewSubScope("admin"))) | ||
| service.RegisterAuthMetadataServiceServer(grpcServer, authCtx.AuthMetadataService()) |
There was a problem hiding this comment.
how does this work if UseAuth isn't true?
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
This reverts commit f04414e.
* Always register the metadata endpoint Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com> * Rename Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com> * Using released flyteidl Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com> * lint Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com> * Initialize authz metadata server Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Signed-off-by: Haytham Abuelfutuh haytham@afutuh.com
TL;DR
Expose a new property in Public Client metadata and always registers the metadata endpoint (even when auth is not configured)
Type
Tracking Issue
fixes https://github.com/flyteorg/flyte/issues/