opensearch-project / opensearch-k8s-operator

OpenSearch Kubernetes Operator
Apache License 2.0
365 stars 192 forks source link

Support projected volumes as additionalVolumes #808

Closed Capitrium closed 1 month ago

Capitrium commented 1 month ago

Description

This allows using a projected volume under spec.general.additionalVolumes.

My specific use case is to allow using a serviceAccountToken mount to enable AWS IAM Roles for service accounts on EKS (and EC2) clusters, though I'm sure there are others.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...]. Fixes #459

Check List

If CRDs are changed:

Please refer to the PR guidelines before submitting this pull request.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

prudhvigodithi commented 1 month ago

Thanks @Capitrium and @swoehrl-mw.