cloud-barista / cb-operator

The Operator for Cloud-Barista system
Apache License 2.0
6 stars 6 forks source link

Restore file parameter for Docker-compose #65

Closed seokho-son closed 4 years ago

seokho-son commented 4 years ago
    switch common.CB_OPERATOR_MODE {
    case common.Mode_DockerCompose:
        pf.StringVarP(&common.FileStr, "file", "f", "../docker-compose-mode-files/docker-compose.yaml", "Path to Cloud-Barista Docker Compose YAML file")
    case common.Mode_Kubernetes:
        pf.StringVarP(&common.FileStr, "file", "f", "../helm-chart/values.yaml", "Path to Cloud-Barista Helm chart file")
    default:
    }
seokho-son commented 4 years ago

@jihoon-seo 개선 완료하였습니다. (명령어 실행 시점에 -f 에 의한 config 를 모드에 따라 지정하도록 처리)