Skip to content

Commit

Permalink
Merge pull request #9 from holyhope/dev/feat-ovhcloud-provider
Browse files Browse the repository at this point in the history
feat(provider) Add OVHcloud provider
  • Loading branch information
mhausenblas committed Apr 21, 2020
2 parents 76c0b8f + 4e6a0b0 commit 383601f
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 383601f

Please sign in to comment.