Skip to content

fix(api7): correct file-server image tag and pullPolicy#275

Merged
nic-6443 merged 1 commit intomainfrom
nic/fix-file-server-tag
Apr 7, 2026
Merged

fix(api7): correct file-server image tag and pullPolicy#275
nic-6443 merged 1 commit intomainfrom
nic/fix-file-server-tag

Conversation

@jarvis9443
Copy link
Copy Markdown
Contributor

@jarvis9443 jarvis9443 commented Apr 7, 2026

Changes

Fix file-server image configuration introduced in #274:

  • file_server.image.tag: devv3.9.8 (file-server is released with v3.9.8)
  • file_server.image.pullPolicy: IfNotPresentAlways (consistent with dashboard, dp_manager, developer_portal)
  • Bump api7 chart version: 0.17.49 → 0.17.50
  • Regenerated README.md via helm-docs

Summary by CodeRabbit

  • Chores
    • File server container now uses an Always pull policy and is pinned to image version v3.9.8.
  • Documentation
    • Defaults updated in the chart docs and the chart version badge bumped to 0.17.50 to reflect current configuration.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 7, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bc74f239-96ff-4098-bb6a-5f1b6f040ab4

📥 Commits

Reviewing files that changed from the base of the PR and between 5e46dbf and 7cd137c.

📒 Files selected for processing (3)
  • charts/api7/Chart.yaml
  • charts/api7/README.md
  • charts/api7/values.yaml
✅ Files skipped from review due to trivial changes (1)
  • charts/api7/Chart.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • charts/api7/README.md

📝 Walkthrough

Walkthrough

The PR increments the api7 Helm chart version and updates the file_server image defaults: file_server.image.pullPolicy changes from IfNotPresent to Always, and file_server.image.tag changes from dev to v3.9.8 (in values.yaml and documented in README.md).

Changes

Cohort / File(s) Summary
Helm chart metadata
charts/api7/Chart.yaml
Bumped Helm chart version from 0.17.49 to 0.17.50.
file_server image defaults
charts/api7/values.yaml, charts/api7/README.md
Changed file_server.image.pullPolicy from IfNotPresentAlways and file_server.image.tag from devv3.9.8 (docs updated to match values).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • nic-6443
  • AlinsRan
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main changes in the pull request: updating the file-server image tag from 'dev' to 'v3.9.8' and changing pullPolicy from 'IfNotPresent' to 'Always'.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
E2e Test Quality Review ✅ Passed This PR is not applicable to E2E test quality review criteria. It is a Helm charts repository with no application code or tests, only configuration changes to Chart.yaml, values.yaml, and README.md.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch nic/fix-file-server-tag

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
charts/api7/values.yaml (1)

92-92: Optional: Consider pullPolicy: IfNotPresent for pinned versions.

Using pullPolicy: Always with a pinned version tag like "v3.9.8" means Kubernetes will attempt to pull the image on every pod start, even though the tag won't change. This can increase startup time and may cause issues if the registry is temporarily unavailable.

Since this pattern is used consistently across all components (dashboard, dp_manager, developer_portal), this is a broader architectural question rather than an issue specific to this PR. If frequent image pulls aren't needed for operational reasons (e.g., ensuring registry availability, detecting image corruption), consider evaluating IfNotPresent for all pinned-version deployments as a future optimization.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@charts/api7/values.yaml` at line 92, The current image pullPolicy is set to
Always (pullPolicy: Always) for pinned version tags; update the values in
charts/api7/values.yaml (and the matching entries for dashboard, dp_manager,
developer_portal) to use pullPolicy: IfNotPresent for pinned tags like "v3.9.8"
so Kubernetes will use local images when present and avoid unnecessary registry
pulls; keep Always only for tags that are mutable (e.g., :latest) or when you
explicitly need to force pulls.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@charts/api7/values.yaml`:
- Line 92: The current image pullPolicy is set to Always (pullPolicy: Always)
for pinned version tags; update the values in charts/api7/values.yaml (and the
matching entries for dashboard, dp_manager, developer_portal) to use pullPolicy:
IfNotPresent for pinned tags like "v3.9.8" so Kubernetes will use local images
when present and avoid unnecessary registry pulls; keep Always only for tags
that are mutable (e.g., :latest) or when you explicitly need to force pulls.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: daa01513-a338-4634-8908-b779afd05c9b

📥 Commits

Reviewing files that changed from the base of the PR and between d7557cf and 5e46dbf.

📒 Files selected for processing (2)
  • charts/api7/README.md
  • charts/api7/values.yaml

- Change file_server.image.tag from 'dev' to 'v3.9.8'
- Change file_server.image.pullPolicy from 'IfNotPresent' to 'Always' (consistent with other components)
- Bump api7 chart version: 0.17.49 -> 0.17.50
@jarvis9443 jarvis9443 force-pushed the nic/fix-file-server-tag branch from 5e46dbf to 7cd137c Compare April 7, 2026 14:19
@nic-6443 nic-6443 merged commit 79143f6 into main Apr 7, 2026
3 checks passed
@nic-6443 nic-6443 deleted the nic/fix-file-server-tag branch April 7, 2026 14:27
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.

2 participants