Skip to content

Commit

Permalink
hotfix: do not create default storageclass in posthooks
Browse files Browse the repository at this point in the history
it was pke/aws only, but recent pketools already create one
  • Loading branch information
Mate Ory authored and stoader committed May 16, 2019
1 parent 3ab8b8d commit a6cf0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func CreateDefaultStorageclass(commonCluster CommonCluster) error {
distro := commonCluster.GetDistribution()
provider := commonCluster.GetCloud()

if distro != pkgCluster.PKE || provider == pkgCluster.Azure {
if true {
log.Infof("Not creating storageclass for %s on %s ", distro, provider)
return nil
}
Expand Down

0 comments on commit a6cf0cc

Please sign in to comment.