forked from LaconicNetwork/kompose
Added warning after PVC creation
Partially resolve #376 and #345 Added warning, such that PV should be created before PVC or if dynamic provision is there, no need to create PV.
This commit is contained in:
@@ -496,7 +496,7 @@ func (o *OpenShift) Deploy(komposeObject kobject.KomposeObject, opt kobject.Conv
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.Infof("Successfully created PersistentVolumeClaim: %s", t.Name)
|
||||
log.Infof("Successfully created PersistentVolumeClaim: %s of size %s. If your cluster has dynamic storage provisioning, you don't have to do anything. Otherwise you have to create PersistentVolume to make PVC work", t.Name, kubernetes.PVCRequestSize)
|
||||
case *routeapi.Route:
|
||||
_, err := oclient.Routes(namespace).Create(t)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user