-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[bitnami/redis-cluster] Remove Jobs #6160
Conversation
Signed-off-by: Miguel A. Cabrera Minagorri <[email protected]>
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files |
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 with minor question
@@ -113,19 +119,27 @@ spec: | |||
echo COPYING FILE | |||
cp /opt/bitnami/redis/etc/redis-default.conf /opt/bitnami/redis/etc/redis.conf | |||
fi | |||
{{- if .Values.cluster.init }} | |||
pod_index=($(echo "$POD_NAME" | tr "-" "\n")) |
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.
Is the extra bracket necessary?
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.
Yes, it will return an array, and the next line indexes that array to get the latest element
Signed-off-by: Bitnami Containers <[email protected]>
I have just updated the bitnami images with the latest known immutable tags:
|
Signed-off-by: Miguel A. Cabrera Minagorri [email protected]
Description of the change
This PR removes the Jobs in order o be able to install the chart with helm template + kubectl.
About the update cluster job, since it is a totally optional component that can be run or not to update the cluster nodes, I think it is not needed to remove it.
Benefits
Possible drawbacks
Applicable issues
Additional information
Checklist
Chart.yaml
according to semver.[bitnami/chart]
)