Could not set OWNCLOUD_SKIP_CHOWN from values#77
Conversation
Could not set OWNCLOUD_SKIP_CHOWN from values
DeepDiver1975
left a comment
There was a problem hiding this comment.
This fixes a real bug: OWNCLOUD_SKIP_CHOWN was hardcoded to "true" in the ConfigMap template, making it impossible to configure from values.yaml. The fix correctly wires it to {{ .Values.owncloud.skipChown | quote }}, matching the pattern used for all surrounding env vars (e.g. OWNCLOUD_SKIP_CHMOD).
One thing to verify: ensure owncloud.skipChown has a default defined in values.yaml. If it defaults to an empty string, the env var would be set to "" rather than "false", which may or may not behave the same depending on how the container interprets it. If the intent is that chown runs by default (i.e. skipChown: false), confirm values.yaml has skipChown: false explicitly so existing deployments aren't surprised by a behaviour change after upgrade.
Fixto set OWNCLOUD_SKIP_CHOWN from values