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

feat: add environment to customize data pvc prefix #742

Merged
merged 7 commits into from
Jan 10, 2024

Conversation

drivebyer
Copy link
Collaborator

@drivebyer drivebyer commented Jan 9, 2024

Description

  1. user can customize redis pvc prefix by operator environment

Fixes #438

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • Tests have been added/modified and all tests pass.
  • Functionality/bugs have been confirmed to be unchanged or fixed.
  • I have performed a self-review of my own code.
  • Documentation has been updated or added where necessary.

Additional Context

Signed-off-by: drivebyer <[email protected]>
Copy link

codecov bot commented Jan 9, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (c8fd3bd) 28.75% compared to head (ab6d6bd) 28.81%.

Files Patch % Lines
k8sutils/statefulset.go 25.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #742      +/-   ##
==========================================
+ Coverage   28.75%   28.81%   +0.05%     
==========================================
  Files          19       19              
  Lines        3269     3273       +4     
==========================================
+ Hits          940      943       +3     
- Misses       2295     2296       +1     
  Partials       34       34              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: drivebyer <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: drivebyer <[email protected]>
@drivebyer drivebyer requested a review from shubham-cmyk January 9, 2024 16:08
@drivebyer drivebyer added the enhancement New feature or request label Jan 9, 2024
@drivebyer drivebyer enabled auto-merge (squash) January 9, 2024 16:08
@drivebyer
Copy link
Collaborator Author

@shubham-cmyk PTAL

Copy link
Member

@shubham-cmyk shubham-cmyk left a comment

Choose a reason for hiding this comment

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

LGTM

@drivebyer drivebyer merged commit ef99c4d into OT-CONTAINER-KIT:master Jan 10, 2024
29 checks passed
@drivebyer drivebyer deleted the sts-pvc-name branch January 10, 2024 09:13
mattrobinsonsre pushed a commit to mattrobinsonsre/redis-operator that referenced this pull request Jul 11, 2024
)

* support customize pvc template name

Signed-off-by: drivebyer <[email protected]>

* add test case

Signed-off-by: drivebyer <[email protected]>

* kubectl

Signed-off-by: drivebyer <[email protected]>

* wait operator ready

Signed-off-by: drivebyer <[email protected]>

* fix sleep

Signed-off-by: drivebyer <[email protected]>

* fix sleep

Signed-off-by: drivebyer <[email protected]>

* remove debug

Signed-off-by: drivebyer <[email protected]>

---------

Signed-off-by: drivebyer <[email protected]>
Signed-off-by: Matt Robinson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PVC name repeated too long
2 participants