Closed bjw-s closed 7 months ago
Is the idea to remove the built-in main
objects so we don't have to set controllers.main.enabled=false
if we want to use other names besides main
?
My issue is probably related to this, so I'm adding this as comment here. If I disable the main controller, it seems that it exposes a few suboptimal default statements which would need some fixing.
Warning error 26s helm-controller Helm install failed: template: app-template/templates/common.yaml:14:3: executing "app-template/templates/common.yaml" at <include "bjw-s.common.loader.generate" .>: error calling include: template: app-template/charts/common/templates/loader/_generate.tpl:8:6: executing "bjw-s.common.loader.generate" at <include "bjw-s.common.render.controllers" .>: error calling include: template: app-template/charts/common/templates/render/_controllers.tpl:37:12: executing "bjw-s.common.render.controllers" at <include "bjw-s.common.class.statefulset" (dict "rootContext" $ "object" $statefulsetObject)>: error calling include: template: app-template/charts/common/templates/classes/_statefulset.tpl:32:67: executing "bjw-s.common.class.statefulset" at <$statefulsetObject.statefulset.podManagementPolicy>: nil pointer evaluating interface {}.podManagementPolicy
Details
Describe the solution you'd like:
As a remnant from the old KaH library a number of objects are present in the
values.yaml
by default so thathelm-docs
would generate the value descriptions in the README:controllers.main.containers.main
container / controllerservice.main
Serviceingress.main
Ingresspersistence.config
itemThese should be removed and put in some form of documentation instead:
Anything else you would like to add:
Current thinking is to put this in a JSON schema and potentially have this render into the README
Relates to:
123
205