containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[AWS Batch on EKS] [request]: For Batch on EKS, how to use/inject/ref Kubernetes secrets for Batch EKS Jobs?

Open dushyant8858 opened this issue 1 year ago • 2 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request For Batch on EKS, how to use/inject/ref Kubernetes secrets for Batch EKS Jobs?

Which service(s) is this request for? AWS Batch EKS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? For Batch on EKS, how to use/inject/ref Kubernetes secrets for Batch EKS Jobs?

spec:
  containers:
    - envFrom:
        - secretRef:
            name: 

Currently, EKS Batch only supports these parameter https://docs.aws.amazon.com/batch/latest/APIReference/API_EksContainer.html i.e I see an option to specify secret volume into the container https://docs.aws.amazon.com/batch/latest/APIReference/API_EksSecret.html but does not see an option to specify Kubernetes secret as an Env into the Batch EKS Jobs.

Are you currently working around this issue? I could not find any work around to specify Kubernetes secret as an Env into the Batch EKS Jobs

dushyant8858 avatar Jun 14 '23 15:06 dushyant8858