diff --git a/docs/user_guide/customizing_dependencies/imagespec.md b/docs/user_guide/customizing_dependencies/imagespec.md index 7718c1646a..ccdd52fe28 100644 --- a/docs/user_guide/customizing_dependencies/imagespec.md +++ b/docs/user_guide/customizing_dependencies/imagespec.md @@ -6,10 +6,6 @@ .. tags:: Containerization, Intermediate ``` -:::{note} -This is an experimental feature, which is subject to change the API in the future. -::: - `ImageSpec` is a way to specify how to build a container image without a Dockerfile. The `ImageSpec` by default will be converted to an [Envd](https://envd.tensorchord.ai/) config, and the [Envd builder](https://github.com/flyteorg/flytekit/blob/master/plugins/flytekit-envd/flytekitplugins/envd/image_builder.py#L12-L34) will build the image for you. However, you can also register your own builder to build the image using other tools. diff --git a/flyteadmin/auth/handlers.go b/flyteadmin/auth/handlers.go index 0416245f8c..a6220db6e3 100644 --- a/flyteadmin/auth/handlers.go +++ b/flyteadmin/auth/handlers.go @@ -260,9 +260,10 @@ func GetAuthenticationCustomMetadataInterceptor(authCtx interfaces.Authenticatio if authCtx.Options().GrpcAuthorizationHeader != DefaultAuthorizationHeader { md, ok := metadata.FromIncomingContext(ctx) if ok { - existingHeader := md.Get(authCtx.Options().GrpcAuthorizationHeader) + grpcAuthzHeader := authCtx.Options().GrpcAuthorizationHeader + existingHeader := md.Get(grpcAuthzHeader) if len(existingHeader) > 0 { - logger.Debugf(ctx, "Found existing metadata %s", existingHeader[0]) + logger.Debugf(ctx, "Found existing metadata header %s", grpcAuthzHeader) newAuthorizationMetadata := metadata.Pairs(DefaultAuthorizationHeader, existingHeader[0]) joinedMetadata := metadata.Join(md, newAuthorizationMetadata) newCtx := metadata.NewIncomingContext(ctx, joinedMetadata)