Skip to content
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

[nexus3] Add feature to be able to use existing PVC ? #1098

Open
LiseMachetel opened this issue Dec 24, 2024 · 1 comment
Open

[nexus3] Add feature to be able to use existing PVC ? #1098

LiseMachetel opened this issue Dec 24, 2024 · 1 comment

Comments

@LiseMachetel
Copy link

Hi,

I have to migrate a Nexus VM instance to kube and would like to reuse an existing block storage.
In Sonarqube's chart, values.yaml have this option: existingClaim: existing-pvc

Can you add this feature to Nexus3's chart ?

I can open a PR if you want. No invention or complicated code: I would just reuse your sonarqube's code in the nexus' statefulset.yaml file and add the existingClaim option to the values.yaml file.

Thanks a lot,

@stevehipwell
Copy link
Owner

@LiseMachetel the SonarQube chart only supports it for the deprecated Deployment pattern; the Nexus3 chart supported it in the same context until the Deployment pattern was removed. If you wish to use an existing PV you can create a PVC with the correct name that the claim template will use when creating the StatefulSet bound to the PV.

However if you're coming from a VM you wont have a PV, so you'll need to attach your block store volume to a PV before you can create the PVC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants