Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.13: [Bug]: devMode syncs in windows throwing errors #5031

Closed
kroher opened this issue Sep 5, 2023 · 1 comment · Fixed by #5363
Closed

0.13: [Bug]: devMode syncs in windows throwing errors #5031

kroher opened this issue Sep 5, 2023 · 1 comment · Fixed by #5363
Assignees
Labels
0.13 bug os/windows regression A return to a previous and less advanced or worse state

Comments

@kroher
Copy link

kroher commented Sep 5, 2023

Garden Bonsai (0.13) Bug

Current Behavior

using 0.13 on windows we get errors about the devMode relative sync paths that we have in our config files.

this works fine on 0.12 with the same project, as well as on macOs/linux on 0.12 and 0.13

Error validating spec for Deploy type=kubernetes name=backend(from module backend): key .sync.paths[0][sourcePath] must be a POSIX-style path, key .sync.paths[1][sourcePath] must be a POSIX-style path, key .sync.paths[2][sourcePath] must be a POSIX-style path. Available keys: files, kustomize, manifests, namespace, portForwards, timeout, waitForJobs, defaultTarget, sync, localMode)

example:

kind: Module
type: kubernetes
name: backend
description: >
  The main backend service
devMode:
  sync:
    - source: backend
      target: /var/code/backend
      exclude:
        [
          backend/dir1,
          backend/dir2,
        ]
      mode: one-way-replica
    - source: backend/dir1
      target: /var/code/backend/dir1
      mode: one-way-replica
    - target: /var/code/backend/dir2
      source: backend/dir2
      mode: two-way

Expected behavior

that it should work with these configs since it does in 12, and on other os's

Workaround

use garden 12 on windows

Your environment

  • OS: win 11
  • How I'm running Kubernetes: gke

0.13.13

@kroher kroher added the 0.13 label Sep 5, 2023
@vvagaytsev vvagaytsev added bug regression A return to a previous and less advanced or worse state labels Sep 6, 2023
@vvagaytsev
Copy link
Collaborator

Thanks for reporting this, @kroher!
This is a possible duplicate of #4982. We'll take a closer look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.13 bug os/windows regression A return to a previous and less advanced or worse state
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants