Repository navigation
Conversation
PR helm/helm#11087 Signed-off-by: Ralf Van Dorsselaer <[email protected]>
|
|
||
| // TODO | ||
| // Arch | ||
| // - Consider implementing chunk support as v2 driver? |
|
This looks very interesting, helm/pkg/storage/driver/secrets.go Line 21 in c1b15f9 This might be raised in the meeting notes of the next helm weekly developer weekly meeting and hopefully will be evaluated with some recommendations on how to approach this. |
|
@ralfv as pre last week meeting, (notes https://docs.google.com/document/d/1d-6xJEx0C78csIYSPKJzRPeWaHG_8W1Hjl72OJggwdc ), should you be still interested in this PR, what would be acceptable is a new HELM_DRIVER for storage (e.g. multisecrets ). |
OK that's great news. We'll work on the PR over the next month or two (summer holidays permitting), as my POC code needs cleanup and tests added plus separation into new storage driver (I had it implemented initially like that). I think we would still prefer that the code be merged into the existing secrets driver, but we are already very happy that you considered this PR implemented as an additional storage driver as some of our charts are close the size limit. Thanks! |
|
Thank you @ralfv for the updates. |
Sure. The current POC code in this PR already does this if the compressed data size is <= 1MB. It currently always adds some chunk metadata into the K8s Secret that the regular secrets driver just ignores, but we can just as well remove that and thus generate a K8s Secret that is 100% the same as they are today if splitting is not required. It still seems odd to have the splitting only be active explicitly when using a new value like multisecrets for the HELM_DRIVER environment variable. With code that generates BWC Helm secrets if not splitting is required, it seems to me that an additional driver is not needed. What was the main reason for suggesting a separate driver? It is not evident what the rationale was when reading through the developer meeting notes. Thanks, |
|
Oops - did not mean to close this PR now - working on new one. Here is the new one: #12277 |
|
NEW PR for split Helm secrets. Still POC code, but this time implemented as HELM_DRIVER=multisecret | multisecrets. |
… Secrets PR helm/community#256
What this PR does / why we need it:
This is an initial unpolished implementation for HIP helm/community#256 "HIP Support Helm release data stored in multiple K8s Secrets".
It allows Helm releases to be stored in multiple K8s Secrets if the size is > (1024*1000) bytes. For more details see the HIP.
Special notes for your reviewer:
If applicable:
Signed-off-by: Ralf Van Dorsselaer [email protected]