Skip to content
Snippets Groups Projects
Commit 0783cfc9 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

change service to loadbalancer

parent 401c5ea7
Branches
No related tags found
1 merge request!159Resolve "Integration Tests Fail"
...@@ -43,15 +43,6 @@ func main() { ...@@ -43,15 +43,6 @@ func main() {
tag = os.Getenv("CI_COMMIT_SHA") 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") { switch os.Getenv("K8S_OP") {
case "create": case "create":
if err := create(clientset, tag); err != nil { if err := create(clientset, tag); err != nil {
...@@ -246,7 +237,7 @@ func createService(environment string) *corev1.Service { ...@@ -246,7 +237,7 @@ func createService(environment string) *corev1.Service {
}, },
}, },
Selector: map[string]string{"run": environment}, Selector: map[string]string{"run": environment},
Type: "Loadbalncer", Type: "LoadBalancer",
}, },
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment