Skip to content

fix: add driveSharing.ssdProxy.imageOverride helm value for ssdProxy containers#2465

Open
kristina-solovyova wants to merge 1 commit into03-27-fix_include_ssdproxy_unaccounted_dpdk_memory_on_ssd_proxy_includes_dpdk_memory_feature_flag_op-272_from
04-16-fix_add_drivesharing.ssdproxy.imageoverride_helm_value_for_ssdproxy_containers
Open

fix: add driveSharing.ssdProxy.imageOverride helm value for ssdProxy containers#2465
kristina-solovyova wants to merge 1 commit into03-27-fix_include_ssdproxy_unaccounted_dpdk_memory_on_ssd_proxy_includes_dpdk_memory_feature_flag_op-272_from
04-16-fix_add_drivesharing.ssdproxy.imageoverride_helm_value_for_ssdproxy_containers

Conversation

@kristina-solovyova
Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 16, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copy link
Copy Markdown
Collaborator Author

kristina-solovyova commented Apr 16, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add the label main-merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@claude
Copy link
Copy Markdown

claude bot commented Apr 16, 2026

Claude finished @kristina-solovyova's task in 1m 12s —— View job


PR Review


The PR adds a driveSharing.ssdProxy.imageOverride Helm value that lets users supply a custom image for ssdProxy containers instead of inheriting cluster.Spec.Image. The change is small, well-scoped, and follows existing patterns. One minor nit below.

charts/weka-operator/templates/manager.yaml:412-413

- name: SSD_PROXY_IMAGE_OVERRIDE
  value: "{{ .Values.driveSharing.ssdProxy.imageOverride | default "" }}"

| default "" is redundant — imageOverride is already initialized to "" in values.yaml, so the filter never fires. Compare to SSD_PROXY_HUGEPAGES_OFFSET_MIB above it which uses a {{- if }} guard because its default is ~ (null). Not a bug, just noise.
Fix this →

Everything else looks good:

  • env.go — field placement and getEnvOrDefault usage are consistent with the neighbouring SsdProxyHugepagesOffsetMiB entry.
  • funcs_proxy.go:120-135 — image selection logic is clear; the != "" guard means the empty-string default is a safe no-op.
  • values.yaml — comment accurately describes the semantics.

No functional bugs, no security concerns.

@graphite-app graphite-app bot requested review from assafgi and tigrawap April 16, 2026 10:14
@graphite-app
Copy link
Copy Markdown

graphite-app bot commented Apr 16, 2026

Graphite Automations

"Add anton/matt/sergey/kristina as reviwers on operator PRs" took an action on this PR • (04/16/26)

2 reviewers were added to this PR based on Anton Bykov's automation.

@kristina-solovyova kristina-solovyova force-pushed the 04-16-fix_add_drivesharing.ssdproxy.imageoverride_helm_value_for_ssdproxy_containers branch from a8f7b1f to 3f8116d Compare April 16, 2026 10:22
@kristina-solovyova kristina-solovyova force-pushed the 03-27-fix_include_ssdproxy_unaccounted_dpdk_memory_on_ssd_proxy_includes_dpdk_memory_feature_flag_op-272_ branch from 829112d to 0736bc1 Compare April 16, 2026 10:22
@claude
Copy link
Copy Markdown

claude bot commented Apr 16, 2026

Claude finished @kristina-solovyova's task in 39s —— View job


PR Review

  • Check what changed since last review
  • Review current diff against base branch
  • Provide updated feedback

No functional changes since the previous review. The one outstanding nit remains:

charts/weka-operator/templates/manager.yaml

- name: SSD_PROXY_IMAGE_OVERRIDE
  value: "{{ .Values.driveSharing.ssdProxy.imageOverride | default "" }}"

| default "" is redundant — imageOverride is already initialized to "" in values.yaml, so the filter never fires. It's just noise; the line can be simplified to:

  value: "{{ .Values.driveSharing.ssdProxy.imageOverride }}"

Fix this →

Everything else (env.go field placement, funcs_proxy.go image-selection logic, values.yaml comment) looks good. No bugs, no security concerns.

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