-
Notifications
You must be signed in to change notification settings - Fork 245
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
update statefulset to inlcude verbose PVC reference #654
base: main
Are you sure you want to change the base?
Conversation
@ritzk Please do DCO Checks and check the linting output. |
Signed-off-by: Ritesh Khadgaray <khadgaray@gmail.com>
@DandyDeveloper lint failed due to n/w issues on the action runner.
|
@ritzk One thing you will wanna test, can you install the original, then upgrade with your changes. Can you confirm if this "breaks" because the STS isn't immutable? This will cause some real problems because people would effectively need to remove the STS, then apply these updates which could bring multiple nodes down on an upgrade if forced. |
This is what is written to kubernetes, atleast on 1.24.x & 1.29.x → helm install -n opensearch --create-namespace opensearch opensearch/opensearch
→ kubectl -n opensearch get statefulsets.apps opensearch-cluster-master -o jsonpath-as-json='{.spec.volumeClaimTemplates[0]}'|jq .
[
{
"apiVersion": "v1",
"kind": "PersistentVolumeClaim",
"metadata": {
"creationTimestamp": null,
"name": "opensearch-cluster-master"
},
"spec": {
"accessModes": [
"ReadWriteOnce"
],
"resources": {
"requests": {
"storage": "8Gi"
}
},
"volumeMode": "Filesystem"
},
"status": {
"phase": "Pending"
}
}
] |
Description
The issue is that the verbose reference is added once ArgoCD applies the chart to cluster. This results in ArgoCD thinking there is a diff, when there is none. This can be solved by adding a patch which adds the verbose reference.
Issues Resolved
n/a
Check List
For any changes to files within Helm chart directories:
CHANGELOG.md
updated to reflect changeBy 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.
Similar to bitnami/charts#17140