You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default.
So I'm omitting defaultMode field here. However, the pod created has a script volume with wrong permission (which doesn't contain "x" bit).
I suspect the following code causes this inconsistency:
kb version: release-0.9 branch latest commit
Describe the bug
I'm writing an addon here. In componentdefinition, I'm using
scripts
field to create a script volume:The doc says:
So I'm omitting
defaultMode
field here. However, the pod created has a script volume with wrong permission (which doesn't contain "x" bit).I suspect the following code causes this inconsistency:
kubeblocks/pkg/controllerutil/volume_util.go
Lines 109 to 117 in 7dd0c54
The text was updated successfully, but these errors were encountered: