-
Notifications
You must be signed in to change notification settings - Fork 84
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
Added name overwrite function to redis charts #168
Conversation
* fix redis-sentinel selector role value Signed-off-by: whzghb <[email protected]> * fix lints Signed-off-by: Shubham Gupta <[email protected]> * fix linl-2 Signed-off-by: Shubham Gupta <[email protected]> --------- Signed-off-by: whzghb <[email protected]> Signed-off-by: Shubham Gupta <[email protected]> Co-authored-by: Shubham Gupta <[email protected]> Signed-off-by: EStork09 <[email protected]>
Signed-off-by: EStork09 <[email protected]>
Signed-off-by: EStork09 <[email protected]>
charts/redis-cluster/values.yaml
Outdated
@@ -68,6 +68,9 @@ redisCluster: | |||
maxUnavailable: 1 | |||
minAvailable: 1 | |||
|
|||
# Overwite name for resources | |||
# name: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uncomment this field and move that to redisCluster
:
empty string don't have any effect it would fall back to default anyways
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do same with other charts.
Signed-off-by: EStork09 <[email protected]>
Signed-off-by: EStork09 <[email protected]>
Signed-off-by: EStork09 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fix redis-sentinel selector role value (OT-CONTAINER-KIT#164) * fix redis-sentinel selector role value Signed-off-by: whzghb <[email protected]> * fix lints Signed-off-by: Shubham Gupta <[email protected]> * fix linl-2 Signed-off-by: Shubham Gupta <[email protected]> --------- Signed-off-by: whzghb <[email protected]> Signed-off-by: Shubham Gupta <[email protected]> Co-authored-by: Shubham Gupta <[email protected]> Signed-off-by: EStork09 <[email protected]> * Added name overwrite function to redis charts Signed-off-by: EStork09 <[email protected]> * Bumpped versions Signed-off-by: EStork09 <[email protected]> * Moved fields for name under specific configuration Signed-off-by: EStork09 <[email protected]> * Adjusted values.yaml to address linting report Signed-off-by: EStork09 <[email protected]> * Addressed linting errors Signed-off-by: EStork09 <[email protected]> --------- Signed-off-by: whzghb <[email protected]> Signed-off-by: Shubham Gupta <[email protected]> Signed-off-by: EStork09 <[email protected]> Co-authored-by: whzghb <[email protected]> Co-authored-by: Shubham Gupta <[email protected]> Signed-off-by: Sébastien HO <[email protected]>
* fix redis-sentinel selector role value (OT-CONTAINER-KIT#164) * fix redis-sentinel selector role value Signed-off-by: whzghb <[email protected]> * fix lints Signed-off-by: Shubham Gupta <[email protected]> * fix linl-2 Signed-off-by: Shubham Gupta <[email protected]> --------- Signed-off-by: whzghb <[email protected]> Signed-off-by: Shubham Gupta <[email protected]> Co-authored-by: Shubham Gupta <[email protected]> Signed-off-by: EStork09 <[email protected]> * Added name overwrite function to redis charts Signed-off-by: EStork09 <[email protected]> * Bumpped versions Signed-off-by: EStork09 <[email protected]> * Moved fields for name under specific configuration Signed-off-by: EStork09 <[email protected]> * Adjusted values.yaml to address linting report Signed-off-by: EStork09 <[email protected]> * Addressed linting errors Signed-off-by: EStork09 <[email protected]> --------- Signed-off-by: whzghb <[email protected]> Signed-off-by: Shubham Gupta <[email protected]> Signed-off-by: EStork09 <[email protected]> Co-authored-by: whzghb <[email protected]> Co-authored-by: Shubham Gupta <[email protected]> Signed-off-by: Sébastien HO <[email protected]>
* fix redis-sentinel selector role value (OT-CONTAINER-KIT#164) * fix redis-sentinel selector role value Signed-off-by: whzghb <[email protected]> * fix lints Signed-off-by: Shubham Gupta <[email protected]> * fix linl-2 Signed-off-by: Shubham Gupta <[email protected]> --------- Signed-off-by: whzghb <[email protected]> Signed-off-by: Shubham Gupta <[email protected]> Co-authored-by: Shubham Gupta <[email protected]> Signed-off-by: EStork09 <[email protected]> * Added name overwrite function to redis charts Signed-off-by: EStork09 <[email protected]> * Bumpped versions Signed-off-by: EStork09 <[email protected]> * Moved fields for name under specific configuration Signed-off-by: EStork09 <[email protected]> * Adjusted values.yaml to address linting report Signed-off-by: EStork09 <[email protected]> * Addressed linting errors Signed-off-by: EStork09 <[email protected]> --------- Signed-off-by: whzghb <[email protected]> Signed-off-by: Shubham Gupta <[email protected]> Signed-off-by: EStork09 <[email protected]> Co-authored-by: whzghb <[email protected]> Co-authored-by: Shubham Gupta <[email protected]> Signed-off-by: Sébastien HO <[email protected]>
Addresses #116
I don't think this is exactly the end solution. Many other charts will use a helper function to handle the naming, but this will address the request for right now.
I also assume the chart version needs to be bumped