Backslashes (\) in volume's mount path are always replaced with forward slashes (/)

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      PodTemplateBuilder.normalizePath() will always overwrite backslashes ({}) with forward slashes (/). This can be an issue when dealing with Windows containers where some paths have to have backslashes in order to work. An example of such would be named pipes, with those it's possible to mount them into containers with the mount path \\.\pipe\<pipe_name>.

      However, this is not possible with the programmatic way of defining your pod using the podTemplate() builder because of the method mentioned above.

       

      So is that backslash replacement really necessary? Or could their be some option to disable it or specify a "literal" mount path?

            Assignee:
            Unassigned
            Reporter:
            Brian Krische
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: