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

--digest-source not working when skaffold run on remote cluster #9350

Open
fengye87 opened this issue Mar 20, 2024 · 1 comment
Open

--digest-source not working when skaffold run on remote cluster #9350

fengye87 opened this issue Mar 20, 2024 · 1 comment

Comments

@fengye87
Copy link
Contributor

Expected behavior

For remote clusters, skaffold run default to use remote digest-source, that's all right. But since it doesn't handle dirty file changes nicely, I was trying to change digest source to local, the default when skaffold run on local (minikube) clusters. But seems it has no effect and skaffold run behaves just like --digest-source=remote

Actual behavior

--digest-source=local should invoke docker build and use the result as the image digest

Information

  • Skaffold version: v2.10.1
  • Operating system: Rocky 9
  • Installed via: skaffold.dev
  • Contents of skaffold.yaml:
apiVersion: skaffold/v4beta9
kind: Config
metadata:
  name: foobar
build:
  artifacts:
    - image: foobar
      docker:
        dockerfile: Dockerfile
manifests:
  kustomize:
    paths:
      - deploy/

Steps to reproduce the behavior

  1. a clonable repository with the sample skaffold project
  2. skaffold run --digest-source=local
@fengye87
Copy link
Contributor Author

One note: it works in v2.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant