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

Added name overwrite function to redis charts #168

Merged
merged 7 commits into from
Oct 18, 2023

Conversation

EStork09
Copy link
Contributor

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

whzghb and others added 2 commits October 18, 2023 11:30
* 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]>
@@ -68,6 +68,9 @@ redisCluster:
maxUnavailable: 1
minAvailable: 1

# Overwite name for resources
# name: ""
Copy link
Member

@shubham-cmyk shubham-cmyk Oct 18, 2023

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

Copy link
Member

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.

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

@shubham-cmyk shubham-cmyk merged commit cfe2734 into OT-CONTAINER-KIT:main Oct 18, 2023
5 checks passed
mrhovunping pushed a commit to mrhovunping/bug-165 that referenced this pull request Nov 28, 2023
* 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]>
mrhovunping pushed a commit to mrhovunping/bug-165 that referenced this pull request Nov 28, 2023
* 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]>
mrhovunping pushed a commit to mrhovunping/bug-165 that referenced this pull request Nov 28, 2023
* 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]>
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.

3 participants