-
Notifications
You must be signed in to change notification settings - Fork 1.7k
skaffold fails to sync with helm #1691
Copy link
Copy link
Closed
Labels
Description
Expected behavior
static files sync to container without a rebuild when updated on disk
Actual behavior
skaffold fails to sync files, prints warn log
Information
- Skaffold version: v0.23.0
- Operating system: macOS 10.14 (18A391)
- Contents of skaffold.yaml:
apiVersion: skaffold/v1beta3
kind: Config
build:
artifacts:
- image: cflynnus/blog
context: .
sync:
'**/*.html': "/root"
'**/*.md': "/root"
'**/*.css': "/root"
'**/*.png': "/root"
deploy:
helm:
releases:
- name: "blog"
chartPath: "helm"- error message from skaffold dev -v debug:
INFO[0309] files modified: [templates/home.html]
DEBU[0310] Checking base image golang:1.11.5-alpine3.8 for ONBUILD triggers.
DEBU[0310] Checking base image alpine:latest for ONBUILD triggers.
DEBU[0310] Found dependencies for dockerfile: [.]
DEBU[0310] Skipping excluded path: node_modules
DEBU[0310] Skipping excluded path: README.md
DEBU[0310] Skipping excluded path: kubernetes
Syncing 1 files for cflynnus/blog:392e972d392cdd136404b52ae4e31ce490cabace4ade88c485dc2debc8dc9b9b
INFO[0310] Copying files: map[templates/home.html:/root/templates/home.html] to cflynnus/blog:392e972d392cdd136404b52ae4e31ce490cabace4ade88c485dc2debc8dc9b9b
WARN[0310] Skipping deploy due to sync error: copying files: didn't sync any files
Watching for changes every 1s...
- complete repository with helm chart/templates and skaffold.yaml
https://github.com/cflynn07/myblog/tree/dc5115181f030e769ae192f9ecf6aecb8dcec8d2
Steps to reproduce the behavior
skaffold dev -v debug- update static template file
/templates/home.htmlwith trivial change
Reactions are currently unavailable