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

add validation of memStorage and fileStorage #64

Conversation

friedrichwilken
Copy link
Contributor

@friedrichwilken friedrichwilken commented Jun 15, 2023

Description

Changes proposed in this pull request:

add validation of spec.jetStream.memStorage: memStorage can only be enabled if size is not 0.
add validation of spec.jetStream.fileStorage: fileStorage cannot be edited once it was set
also, refactored some of the existing tests.

Related issue(s)

@friedrichwilken friedrichwilken requested a review from a team as a code owner June 15, 2023 15:36
@kyma-bot kyma-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 15, 2023
@friedrichwilken friedrichwilken force-pushed the validate-fileStorage-and-memStorage-in-cr branch from 0c865ec to 93d0a31 Compare June 15, 2023 16:06
@friedrichwilken friedrichwilken changed the title Validate file storage and mem storage in cr Validate memStorage Jun 15, 2023
@kyma-project kyma-project deleted a comment from kyma-bot Jun 15, 2023
@friedrichwilken friedrichwilken linked an issue Jun 15, 2023 that may be closed by this pull request
9 tasks
@friedrichwilken friedrichwilken changed the title Validate memStorage add validation of memStorage Jun 15, 2023
fix typos and cleanup

rewrite test names
@friedrichwilken friedrichwilken force-pushed the validate-fileStorage-and-memStorage-in-cr branch from 5256d82 to d6ff516 Compare June 15, 2023 19:10
@friedrichwilken friedrichwilken changed the title add validation of memStorage add validation of memStorage and fileStorage Jun 15, 2023
mfaizanse
mfaizanse previously approved these changes Jun 16, 2023
@kyma-bot kyma-bot added the lgtm Looks good to me! label Jun 16, 2023
@mfaizanse mfaizanse removed the lgtm Looks good to me! label Jun 16, 2023
@kyma-bot kyma-bot added the lgtm Looks good to me! label Jun 16, 2023
@kyma-bot kyma-bot merged commit 76bb8c6 into kyma-project:main Jun 16, 2023
1 check passed
@friedrichwilken friedrichwilken deleted the validate-fileStorage-and-memStorage-in-cr branch June 16, 2023 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Looks good to me! size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initial CRD handling
4 participants