Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow storageclass to be empty #304

Merged
merged 1 commit into from Sep 5, 2019
Merged

Conversation

sseago
Copy link
Contributor

@sseago sseago commented Sep 4, 2019

  1. change validation for empty storageclass from Error to Warn
  2. Modify warning message for empty storageclass validation

@@ -83,7 +83,7 @@ const (
PvNoSupportedActionMessage = "PV in `persistentVolumes` [] with no `SupportedActions`."
PvInvalidStorageClassMessage = "PV in `persistentVolumes` [] has an unsupported `storageClass`."
PvInvalidAccessModeMessage = "PV in `persistentVolumes` [] has an invalid `accessMode`."
PvNoStorageClassSelectionMessage = "PV in `persistentVolumes` [] has no `Selected.StorageClass`."
PvNoStorageClassSelectionMessage = "PV in `persistentVolumes` [] has no `Selected.StorageClass` Make sure that the necessary static persistent volumes exist in the destination cluster."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing period? . Make sure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Copy link
Contributor

@jortel jortel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

1) change validation for empty storageclass from Error to Warn
2) Modify warning message for empty storageclass validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants