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
Running kubectl kustomize works fine (no kind: Route objects in the result).
Running skaffold dev starts everything up, however fails to watch the remote file:
$ skaffold dev
Generating tags...
- email-api -> email-api:60a36c8
Checking cache...
- email-api: Found Locally
Tags used in deployment:
- email-api -> email-api:4401fa0b3bbb28bc94141a66e9b2ccf25d85703c713048d0ed28b6c9084da34a
Starting deploy...
- configmap/email-api-config created
- configmap/env-config created
- secret/email-api-secrets created
- service/email-api-service created
- deployment.apps/email-api created
Waiting for deployments to stabilize...
- deployment/email-api: waiting for rollout to finish: 0 of 1 updated replicas are available...
- deployment/email-api is ready.
Deployments stabilized in 6.984 seconds
Port forwarding service/email-api-service in namespace default, remote port 80 -> http://127.0.0.1:80
Listing files to watch...
- email-api
Cleaning up...
- configmap "email-api-config" deleted
- configmap "env-config" deleted
- secret "email-api-secrets" deleted
[email-api] [11:08:58 INF] Now listening on: http://[::]:8000
[email-api] [11:08:58 INF] Application started. Press Ctrl+C to shut down.
[email-api] [11:08:58 INF] Hosting environment: Development
[email-api] [11:08:58 INF] Content root path: /app/
- service "email-api-service" deleted
- deployment.apps "email-api" deleted
unable to stat file "C:\\repos\\EmailApi\\Kubernetes\\Overlays\\Development\\https:\\<my-remote-url>\\delete-object.yaml": CreateFile C:\repos\EmailApi\Kubernetes\Overlays\Development\https:\<my-remote-url>\delete-object.yaml: The filename, directory name, or volume label syntax is incorrect.
Expected behavior
Remote patch file is ignored in the watch process and skaffold dev does not automatically close after deploying
Actual behavior
Skaffold tries to watch the remote file, fails and ends the skaffold dev
Information
Skaffold version: v2.6.0
Operating system: Windows 10
Installed via: downloaded standalone binary from skaffold.dev
The change will be in skaffold v2.7.0, but the release date has not been determined yet. To test the change, you can install edge version https://skaffold.dev/docs/install/#standalone-binary which is built from the latest commit.
Hi! I'm trying to use Skaffold alongside Kustomize. I have a remote patch called
delete-object.yaml
and in my project I have the
kustomization.yaml
where I do:Running
kubectl kustomize
works fine (nokind: Route
objects in the result).Running
skaffold dev
starts everything up, however fails to watch the remote file:Expected behavior
Remote patch file is ignored in the watch process and
skaffold dev
does not automatically close after deployingActual behavior
Skaffold tries to watch the remote file, fails and ends the
skaffold dev
Information
Steps to reproduce the behavior
Sorry, can't present a repository at this time, however, should be straightforward to reproduce following the description at the top.https://github.com/BenasB/skaffold-kustomize-remote-patch-repro
The text was updated successfully, but these errors were encountered: