Using the Release name in the k8s object names ensures that multiple installations of the chart in a single namespace cannot conflict, and also helps identify resources that belong together.
The default helm create template provides an example for this as a named template <CHART>.fullname, which also supports overriding either the entire 'fullname' or just the .Chart.Name aspect, and can then be used as the name or name prefix for objects created by the chart.
Helpfully, all resources currently created have "valheim-server" as a name or prefix, so this is a reasonably easy thing to change.
However, for continuity when upgrading, either the default for fullnameOverride would be "valheim-server", and that's stuck there forever, or at some point users upgrading need to know to add that setting to their config when upgrading. Either one is a pain. >_<
Using the Release name in the k8s object names ensures that multiple installations of the chart in a single namespace cannot conflict, and also helps identify resources that belong together.
The default
helm create
template provides an example for this as a named template<CHART>.fullname
, which also supports overriding either the entire 'fullname' or just the.Chart.Name
aspect, and can then be used as the name or name prefix for objects created by the chart.Helpfully, all resources currently created have "valheim-server" as a name or prefix, so this is a reasonably easy thing to change.
However, for continuity when upgrading, either the default for
fullnameOverride
would be "valheim-server", and that's stuck there forever, or at some point users upgrading need to know to add that setting to their config when upgrading. Either one is a pain. >_<