helm3-charts
helm3-charts copied to clipboard
Nexus IQ chart: Data and Logs PVCs share the same storageSize value
trafficstars
On Nexus IQ helm chart, data and log persistent volume claims will request storage based on .Values.persistence.storageSize.
The chart should allow to specify different storageSize for these different PVCs.
For example, you may want to deploy with 1GB for logs and 1000GB for data. Currently, if storageSize is 1000Gi the storage class might provision 2 disks of 1000Gi which is a waste.
Why is this still not fixed? This can be done with a helm post renderer, in this code it was done using flux, but post renderers can be passed in on the command line as well.
postRenderers:
- kustomize:
patches:
- target:
kind: PersistentVolumeClaim
name: nexus-iq-nexus-iq-server-log
patch: |
- op: replace
path: /spec/resources/requests/storage
value: 10Gi