Skip to content

Conversation

@barmettlerl
Copy link

With this change I want to make sure that the PVC getting deleted once the StatefulSet is deleted or scaled down. In the context of our Organisation, we'd like to have a policy in place that enfoces persistentVolumeClaimRetentionPolicy to be set. More information about persistentVolumeClaimRetentionPolicy you can find under https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention.

I think having whenDeleted and whenScaled with the Delete option is the most sensible choice, since how I understood it the eck-operator does not take usage of the persistence property we would get if we have the Retain option.

I've saw that #8478 already mentioned this issue.

signed agreement
Complete_with_Docusign_Elastic_Contributor_L.pdf

pebrc and others added 3 commits November 21, 2025 13:10
Test ECK against OCP 4.20.4 in order to be able to declare that we are compatible.

Signed-off-by: Lars Barmettler <[email protected]>
@cla-checker-service
Copy link

❌ Author of the following commits did not sign a Contributor Agreement:
aad18dc,

Please, read and sign the above mentioned agreement if you want to contribute to this project

@prodsecmachine
Copy link
Collaborator

prodsecmachine commented Nov 21, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@botelastic botelastic bot added the triage label Nov 21, 2025
{{- include "eck-operator.selectorLabels" . | nindent 6 }}
serviceName: {{ include "eck-operator.fullname" . }}
replicas: {{ .Values.replicaCount }}
persistentVolumeClaimRetentionPolicy:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The operator has no volumeClaimTemplates, so I'm a bit unsure about the purpose of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants