Open clayrosenthal opened 5 months ago
β±οΈ Estimated effort to review [1-5] | 2, because the changes are limited to a single file and involve simplifying the template by using a more dynamic YAML rendering approach. The logic is straightforward and the amount of changed code is small. |
π§ͺ Relevant tests | No |
β‘ Possible issues | Possible Bug: The change assumes that all necessary fields are present in `.spec` without null values. If `.spec` is incomplete or improperly formatted, this could lead to runtime errors or misconfigurations in the stateful set. |
π Security concerns | No |
Category | Suggestion | Score |
Best practice |
Adjust the indentation level for the
___
**Ensure that the | 5 |
User description
Changing the volumeRequestTemplate to pass the whole
.spec
in, rather than specific fields.Fixes #21
PR Type
Enhancement
Description
statefulset.yaml
to pass the entire.spec
object instead of specific fields.accessModes
andresources.requests.storage
.toYaml
function.Changes walkthrough π
statefulset.yaml
Update volume template to pass entire `.spec` object
charts/vespa/templates/statefulset.yaml
.spec
object.accessModes
andresources.requests.storage
.toYaml
function for better readability and maintainability.