big-spring-14945
07/24/2023, 2:06 PMsync.paths[].defaultFileMode
- sync.paths[].defaultDirectoryMode
- sync.paths[].defaultOwner
- sync.paths[].defaultGroup
In actions (https://docs.garden.io/reference/action-types/deploy/kubernetes#spec.sync.defaults.filemode)
we have now
- spec.sync.defaults.fileMode
- spec.sync.defaults.directoryMode
- spec.sync.defaults.owner
- spec.sync.defaults.group
- spec.sync.paths[].fileMode
- spec.sync.paths[].directoryMode
- spec.sync.paths[].owner
- spec.sync.paths[].group
- spec.sync.paths[].defaultFileMode
- spec.sync.paths[].defaultDirectoryMode
- spec.sync.paths[].defaultOwner
- spec.sync.paths[].defaultGroup
If I understand correctly, they all do the same thing. Why do we have so many options that do the same thing? Am I right and this is a mistake/ oversight or is there a reason for this? Can we remove (or hide) some of those to make the docs more clear?alert-helicopter-61082
07/25/2023, 2:07 PMspec.sync.paths[].default*
were to be aliases for the other spec.sync.paths[].*
keys. The spec.sync.defaults.*
keys are applied as defaults on each of spec.sync.paths[]
.spec.sync.paths[].default*
, and mapping them to the non-default named keys.big-spring-14945
07/25/2023, 2:34 PM