Skip to content

fix(helm): fix helm chart#141

Merged
GatewayJ merged 1 commit into
rustfs:mainfrom
GatewayJ:helm
Jun 15, 2026
Merged

fix(helm): fix helm chart#141
GatewayJ merged 1 commit into
rustfs:mainfrom
GatewayJ:helm

Conversation

@GatewayJ

Copy link
Copy Markdown
Member

Type of Change

  • New Feature
  • Bug Fix
  • Documentation
  • Performance Improvement
  • Test/CI
  • Refactor
  • Other:

Related Issues

Summary of Changes

Checklist

  • I have read and followed the CONTRIBUTING.md guidelines
  • Passed make pre-commit (fmt-check + clippy + test + console-lint + console-fmt-check)
  • Added/updated necessary tests
  • Documentation updated (if needed)
  • CHANGELOG.md updated under [Unreleased] (if user-visible change)
  • CI/CD passed (if applicable)

Impact

  • Breaking change (CRD/API compatibility)
  • Requires doc/config/deployment update
  • Other impact:

Verification

make pre-commit

Additional Notes


Thank you for your contribution! Please ensure your PR follows the community standards (CODE_OF_CONDUCT.md) and sign the CLA if this is your first contribution.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3270f71cf2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +50 to +52
{{- if $leaderElect }}
args:
- --leader-elect={{ ternary "true" "false" $leaderElect }}
- --leader-elect

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep args set when leader election is disabled

In the default chart path (operator.replicas: 1 with operator.leaderElect unset) and when users force operator.leaderElect=false, this conditional suppresses the entire args field. Kubernetes uses the image CMD when container args are absent, and this image declares CMD ["-h"] in Dockerfile:60; combined with the template's command: ["./operator", "server"], the pod runs ./operator server -h, prints help, and exits instead of starting the controller. Keep args present for the disabled case so the image CMD is not appended.

Useful? React with 👍 / 👎.

@GatewayJ GatewayJ added this pull request to the merge queue Jun 15, 2026
Merged via the queue into rustfs:main with commit fbcf5da Jun 15, 2026
2 checks passed
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.

1 participant