Skip to content

Commit

Permalink
Merge pull request #38 from kubero-dev/feature/improve-OLM-installation
Browse files Browse the repository at this point in the history
 Update ingress controller version to "v1.10.0" and provide a note on…
  • Loading branch information
mms-gianni authored May 2, 2024
2 parents 7071329 + 7ebd86a commit 3d78a14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/kuberoCli/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ var arg_portSecure string
var clusterType string
var arg_component string
var install_olm bool
var ingressControllerVersion = "v1.7.0" // https://github.com/kubernetes/ingress-nginx/tags -> controller-v1.5.1
var ingressControllerVersion = "v1.10.0" // https://github.com/kubernetes/ingress-nginx/tags -> controller-v1.5.1

// var clusterTypeSelection = "[scaleway,linode,gke,digitalocean,kind]"
var clusterTypeList = []string{"kind", "linode", "scaleway", "gke", "digitalocean"}
Expand Down Expand Up @@ -369,6 +369,7 @@ func installIngress() {
ingressProviderList := []string{"kind", "aws", "baremetal", "cloud", "do", "exoscale", "scw"}
ingressProvider := selectFromList("Provider [kind, aws, baremetal, cloud(Azure,Google,Oracle,Linode), do(digital ocean), exoscale, scw(scaleway)]", ingressProviderList, prefill)

// incressController verion can bot be loaded from github api, since the return is alphabetic
ingressSpinner := spinner.New("Install Ingress")
URL := "https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-" + ingressControllerVersion + "/deploy/static/provider/" + ingressProvider + "/deploy.yaml"
ingressSpinner.Start("run command : kubectl apply -f " + URL)
Expand Down

0 comments on commit 3d78a14

Please sign in to comment.