Skip to content

Commit

Permalink
feat(provider) Add OVHcloud provider
Browse files Browse the repository at this point in the history
See https://www.ovh.com/fr/public-cloud/kubernetes/

Signed-off-by: Pierre Péronnet <pierre.peronnet@ovhcloud.com>
  • Loading branch information
holyhope committed Apr 21, 2020
1 parent 76c0b8f commit 4e6a0b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/fleet/overview.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ func getProvider(cfg api.Config, contextName string) string {
return "Digital Ocean"
case strings.Contains(apiServerEndpoint, "azmk8s.io"):
return "Microsoft AKS"
case strings.HasSuffix(apiServerEndpoint, "k8s.ovh.net"):
return "OVHcloud"
default:
provider, err := getProviderFromNodeMetadata(cfg, contextName)
if err != nil {
Expand Down

0 comments on commit 4e6a0b0

Please sign in to comment.