Hi tian tian,

I think we can use podTemplate to mount kubernetes secrets as file or 
environment variables.
Then we can access the secrets in our flink program. 

Please refers to

https://github.com/apache/flink-kubernetes-operator/blob/main/examples/pod-template.yaml
 
<https://github.com/apache/flink-kubernetes-operator/blob/main/examples/pod-template.yaml>
https://kubernetes.io/docs/concepts/configuration/secret/#using-a-secret 
<https://kubernetes.io/docs/concepts/configuration/secret/#using-a-secret>

On 2023/07/21 10:53:10 tian tian wrote:
> Like s3.secret-key, the plaintext password cannot be directly written in
> the configuration. Is there a template language like jinja that can be
> replaced after mounting to the pod?
> 
> >
> 

Reply via email to