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/mongodb] Fixed awk script to extract in order to be more st… #29824

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

manslaughter03
Copy link

Description of the change

Fixed awk script to extract in order to be more strict on primary property retrieve by db.runCommand("ismaster") command in setup.sh.

Benefits

This will avoid to match multiple time if "primary" word present in replicaset host, already explain in #29821.

Possible drawbacks

None noted

Applicable issues

Additional information

Checklist

  • Chart version bumped in Chart.yaml according to semver. This is not necessary when the changes only affect README.md files.
  • Variables are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • Title of the pull request follows this pattern [bitnami/<name_of_the_chart>] Descriptive title
  • All commits signed off and in agreement of Developer Certificate of Origin (DCO)

…ict on primary property retrieve by `db.runCommand("ismaster")` command in setup.sh.

Signed-off-by: b4nks <b4nks@protonmail.com>
Signed-off-by: Nicolas Bernard <n.bernard@ateme.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mongodb triage Triage is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bitnami/mongodb] MongoDB replicaset fails when "primary" is in the release name
3 participants