-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for adding PVC volumes as Additional Volumes #852
base: main
Are you sure you want to change the base?
Add support for adding PVC volumes as Additional Volumes #852
Conversation
Signed-off-by: Igor Korchynskyi <[email protected]>
Hey @ikorchynskyi thanks for your contribution. |
Hi @prudhvigodithi, I tried to make it as similar as possible to the existing CSI volume configuration, and from what I may see - there is no such checks at all. Is there any check to ensure that configmaps or secrets do not overwrite each other?
In fact, my use case is quite the opposite. I needed this to make S3 bucket mounts possible via aws-ebs-csi-driver. Unfortunately, it does not allow ephemeral volumes, and the mount was needed to pass synonym files. Thus, in my case this volume is mounted to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ikorchynskyi. Thank you for your contribution.
- Code change looks good
- Please document the new fields in the
docs/designs/crd.md
reference and in the userguide - See my inline comment
- Afterwards make sure CRD manifests are generated and copied into the helm chart
@@ -296,6 +296,8 @@ type AdditionalVolume struct { | |||
EmptyDir *corev1.EmptyDirVolumeSource `json:"emptyDir,omitempty"` | |||
// CSI object to use to populate the volume | |||
CSI *corev1.CSIVolumeSource `json:"csi,omitempty"` | |||
// Persistent object to use to populate the volume |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Persistent object to use to populate the volume | |
// PersistentVolumeClaim object to use to populate the volume |
I would like to have this nice feature as soon as possible, how is the progress? |
Description
This PR adds the capability to add PVC volumes as AdditionalVolumes in the OpenSearch cluster
Issues Resolved
Closes #484
Closes #525
Check List
make lint
)If CRDs are changed:
make manifests
) and also copied into the helm chartPlease 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.