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

[bitnami/redis-cluster] Remove Jobs #6160

Merged
merged 3 commits into from
Apr 23, 2021
Merged

Conversation

miguelaeh
Copy link
Contributor

@miguelaeh miguelaeh commented Apr 20, 2021

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 version bumped in Chart.yaml according to semver.
  • Variables are documented in the README.md
  • Title of the PR starts with chart name (e.g. [bitnami/chart])

⚠️ Keep in mind that if you want to make changes to the kubeapps chart, please implement them in the kubeapps repository. This is only a synchronized mirror.

Signed-off-by: Miguel A. Cabrera Minagorri <[email protected]>
@miguelaeh miguelaeh requested a review from javsalgar April 20, 2021 16:02
@github-actions
Copy link

github-actions bot commented Apr 20, 2021

Great PR! Please pay attention to the following items before merging:

Files matching bitnami/*/values.yaml:

  • Is the PR adding a new container? Please reviewer, add it to the models (internal process)
  • Is the PR adding a new parameter? Please, ensure it’s documented in the README.md

This is an automatically generated QA checklist based on modified files

Copy link
Contributor

@javsalgar javsalgar left a 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"))
Copy link
Contributor

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?

Copy link
Contributor Author

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

@bitnami-bot
Copy link
Contributor

I have just updated the bitnami images with the latest known immutable tags:

  • "docker.io/bitnami/redis-cluster:6.2.2-debian-10-r4"
  • "docker.io/bitnami/redis-exporter:1.22.0-debian-10-r0"
  • "docker.io/bitnami/bitnami-shell:10"
  • "docker.io/bitnami/bitnami-shell:10"

@bitnami-bot bitnami-bot merged commit d1e367b into bitnami:master Apr 23, 2021
@miguelaeh miguelaeh deleted the removeHooks branch April 23, 2021 11:57
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