diff --git a/build/cd/deploy.go b/build/cd/deploy.go index 094be0a2ada6cea114ec4bb56fef67c2c3e66583..a888d956d5a0a7e4c2017e3689616d52120559f0 100644 --- a/build/cd/deploy.go +++ b/build/cd/deploy.go @@ -43,15 +43,6 @@ func main() { tag = os.Getenv("CI_COMMIT_SHA") } - switch os.Getenv("CI_NIGHTLY") { - case "mainline": - tag = "nightly" - case "develop": - tag = "nightly-develop" - default: - tag = os.Getenv("CI_COMMIT_SHA") - } - switch os.Getenv("K8S_OP") { case "create": if err := create(clientset, tag); err != nil { @@ -246,7 +237,7 @@ func createService(environment string) *corev1.Service { }, }, Selector: map[string]string{"run": environment}, - Type: "Loadbalncer", + Type: "LoadBalancer", }, } }