GoogleContainerTools / GoogleContainerTools/skaffold
`skaffold init --analyze --compose-file docker-compose.yaml` writes k8s yaml files
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
### Expected behavior
Typically, the `--analyze` flag does not actually commit anything to the filesystem. The same thing should occur here. The stdout output looks good and should remain the same.
### Actual behavior
kompose runs and outputs yaml files to the cwd in addition to outputting the correct stdout contents.

### Information
- Skaffold version: v1.27.0
- Operating system: MacOS Big Sur 11.4
- Installed via: Google Cloud SDK
- Contents of skaffold.yaml: n/a
### Steps to reproduce the behavior
1. Clone https://github.com/docker/awesome-compose/tree/master/nginx-flask-mongo
2. `skaffold init --analyze --compose-file docker-compose.yaml`
Contributor guide
Assessment
This issue has not been assessed yet.