[ 
https://issues.apache.org/jira/browse/FLINK-27483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532234#comment-17532234
 ] 

Aitozi commented on FLINK-27483:
--------------------------------

I think the reconciliation interval, timeout can be set per FlinkDeployment 
now, There is a discussion here 
[https://lists.apache.org/thread/pnf2gk9dgqv3qrtszqbfcdxf32t2gr3x]
https://issues.apache.org/jira/browse/FLINK-27023

So I think the flinkConfiguration in the FlinkDeployment can be used to control 
the reconcile options.

 

The filesystem's configuration are initialize at the entrypoint of the 
Operator. To keep it simple, I think we could do the same thing for the  
HttpArtifactFetcher by directly using the config from the configManager and 
extract http headers from the config, what do you think [~wangyang0918] ? 

> Support adding custom HTTP header for HTTP based Jar fetch
> ----------------------------------------------------------
>
>                 Key: FLINK-27483
>                 URL: https://issues.apache.org/jira/browse/FLINK-27483
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kubernetes Operator
>            Reporter: Fuyao Li
>            Priority: Major
>
> Hello Team,
> I noticed this https://issues.apache.org/jira/browse/FLINK-27161, which could 
> enable users to specify a URL to fetch jars.
> In many cases, user might want to add some custom headers to fetch jars from 
> remote private artifactory (like Oauth tokens, api-keys, etc).
> adding a field called artifactoryJarHeader will be very helpful.
> This field can be of array type.
> [key1, value1, key2, value2]
> It seems the current ArtifactManager doesn't support specify a custom header. 
> Please correct me if I am wrong.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to