Hello, can anyone help me? Is it posible to load t...
# troubleshooting
f
Hello, can anyone help me? Is it posible to load th flinkconfiguration from a secret or configmap in FlinkDeployment? I want to store an s3.secret-key correctly
c
You can store s3-secret-key in kubernetes secret and then inject them via environment variable or via file mounted from the secret.
You can inject in job manager and/or task manager spec inside FlinkDeployment.
f
Hi thanks for your answer, question, if I include it as an env variable , is recognized automatically by flink? or I have to use it programatically?
c
I am not sure how and why you want to use s3. Can you please explain your usecase and I can try to see if there is a way
f
I want to use it as state.checkpoints.dir , so I want to use minio S3
I know that I can set this values via code , but I thought that using only configuration is flexible, anyway if I can't hide a secret-key via configs, probably the only option is moving to env vars and declare the configuration via code
c
Yes. You need to set that in configuration object as a property.