skaffold init command to use the existing k8s files instead of creating new ones for docker-compose configuration #3371
Closed
Description
skaffold init with docker compose configuration uses "komopse convert" to generate the k8s manifest files. I want skaffold to use the existing k8s config files instead of creating new ones.
Please suggest me how I can do that using skaffold.
Expected behavior
skaffold should generate configuration file based on the existing k8s manifest files instead of creating new ones (without "kompose convert").
Actual behavior
Following is the log for skaffold init command:
+ skaffold init --compose-file docker-compose.yml --verbosity=info
time="2019-12-11T11:44:08Z" level=info msg="Skaffold &{Version:v0.37.0 ConfigVersion:skaffold/v1beta13 GitVersion: GitCommit:b3aa6b0a95ea1e87fd8420df195c3c2d35d8341a GitTreeState:clean BuildDate:2019-08-29T20:44:03Z GoVersion:go1.12.9 Compiler:gc Platform:linux/amd64}"
time="2019-12-11T11:44:08Z" level=info msg="running '**kompose convert**' for file docker-compose.yml"
Information
- Skaffold version: v0.37.0
- Operating system: RHEL
- Contents of skaffold.yaml: No skaffold.yaml