Skip to content

chore: bump api7 and gateway chart versions for v3.9.8#274

Merged
nic-6443 merged 1 commit intomainfrom
nic/3.9.8
Apr 7, 2026
Merged

chore: bump api7 and gateway chart versions for v3.9.8#274
nic-6443 merged 1 commit intomainfrom
nic/3.9.8

Conversation

@jarvis9443
Copy link
Copy Markdown
Contributor

@jarvis9443 jarvis9443 commented Apr 7, 2026

Changes

  • Bump api7 chart version: 0.17.48 → 0.17.49
  • Bump gateway chart version: 0.2.58 → 0.2.59
  • Update appVersion to 3.9.8 for both charts
  • Update image tags:
    • api7-ee-3-integrated: v3.9.7 → v3.9.8
    • api7-ee-dp-manager: v3.9.7 → v3.9.8
    • api7-ee-developer-portal: v3.9.7 → v3.9.8
    • api7-ee-3-gateway: 3.9.7 → 3.9.8
  • Add file-server component (3 new templates: configmap, deployment, service; disabled by default via file_server.enabled: false)
  • Add Vault role_type config (dynamic/static) to dashboard, dp_manager, and developer_portal database vault sections
  • Regenerated README.md via helm-docs

Test Plan

Summary by CodeRabbit

  • Chores
    • Bumped application version to 3.9.8 for API7 and Gateway components.
    • Updated associated container image versions (dashboard, developer portal, dp_manager, and gateway) to 3.9.8.
  • New Features
    • Added an optional File Server component with default configuration, deployable service, and health checks.
  • Documentation
    • Updated chart README and values docs to reflect version bumps and new File Server configuration keys.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 7, 2026

📝 Walkthrough

Walkthrough

Adds a new optional file-server component (ConfigMap, Deployment, Service) to the api7 chart and bumps chart/app versions and default image tags from 3.9.7 → 3.9.8 in both api7 and gateway charts and their documentation/values.

Changes

Cohort / File(s) Summary
API7 Chart metadata & docs
charts/api7/Chart.yaml, charts/api7/README.md, charts/api7/values.yaml
Bump chart version 0.17.48 → 0.17.49 and Chart.AppVersion 3.9.7 → 3.9.8; update README badges and default image tags (dashboard, developer_portal, dp_manager → v3.9.8); add file_server and file_server_service default configuration keys to values.
API7 templates (new file-server resources)
charts/api7/templates/file-server-configmap.yaml, charts/api7/templates/file-server-deploy.yaml, charts/api7/templates/file-server-service.yaml
Add conditional Helm templates to render a ConfigMap (config.yaml), Deployment, and Service for an optional file-server component when .Values.file_server.enabled is true; includes probes, image selection, volumes, pod scheduling, and selector labels.
Gateway Chart metadata & docs
charts/gateway/Chart.yaml, charts/gateway/README.md, charts/gateway/values.yaml
Bump chart version 0.2.58 → 0.2.59 and Chart.AppVersion 3.9.7 → 3.9.8; update apisix.image.tag default to 3.9.8 in values and README.

Sequence Diagram(s)

mermaid
sequenceDiagram
autonumber
participant Helm as Helm chart renderer
participant Kube as Kubernetes API
participant Deploy as Deployment (Pods)
participant CM as ConfigMap
Helm->>Kube: Render templates when file_server.enabled=true\napply ConfigMap, Deployment, Service manifests
Kube->>CM: Create ConfigMap (config.yaml)
Kube->>Deploy: Create Deployment & Pods (mount ConfigMap)
Deploy->>CM: Read mounted config (config.yaml) at /usr/local/api7/conf
Deploy->>Kube: HTTP health probes (/healthz) to report readiness/liveness

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • 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 describes the main purpose of the changeset: bumping API7 and gateway Helm chart versions to v3.9.8.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
E2e Test Quality Review ✅ Passed PR is a Helm chart infrastructure-as-code update with version bumps and image tags, not application-level code requiring E2E testing.

✏️ 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/3.9.8

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

- Bump api7 chart version: 0.17.48 -> 0.17.49
- Bump gateway chart version: 0.2.58 -> 0.2.59
- Update appVersion to 3.9.8 for both charts
- Update all image tags to v3.9.8
- Add file-server component (disabled by default)
- Add vault role_type config option to dashboard, dp_manager and developer_portal
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)

90-93: Avoid defaulting file_server to a mutable dev tag.

tag: "dev" on Line 93 bypasses the deployment fallback to chart appVersion (Line 41 in charts/api7/templates/file-server-deploy.yaml) and makes rollouts non-reproducible when this component is enabled.

♻️ Proposed change
 file_server:
   enabled: false
   replicaCount: 1
   image:
     repository: api7/api7-ee-file-server
-    pullPolicy: IfNotPresent
-    tag: "dev"
+    pullPolicy: Always
+    tag: ""
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@charts/api7/values.yaml` around lines 90 - 93, The values.yaml currently
hardcodes image.tag as "dev" which prevents the file-server deployment from
falling back to Chart.AppVersion; change the file_server image tag (image.tag)
to be empty/null or remove the hardcoded "dev" so the template
(file-server-deploy.yaml) can use the chart appVersion fallback
(Chart.AppVersion); ensure the values key referenced by the template (image.tag
for the file_server block) is not a non-empty literal "dev".
🤖 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`:
- Around line 90-93: The values.yaml currently hardcodes image.tag as "dev"
which prevents the file-server deployment from falling back to Chart.AppVersion;
change the file_server image tag (image.tag) to be empty/null or remove the
hardcoded "dev" so the template (file-server-deploy.yaml) can use the chart
appVersion fallback (Chart.AppVersion); ensure the values key referenced by the
template (image.tag for the file_server block) is not a non-empty literal "dev".

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b0636452-a81a-4789-bd6a-1db508ba7de3

📥 Commits

Reviewing files that changed from the base of the PR and between e857100 and 31f0655.

📒 Files selected for processing (9)
  • charts/api7/Chart.yaml
  • charts/api7/README.md
  • charts/api7/templates/file-server-configmap.yaml
  • charts/api7/templates/file-server-deploy.yaml
  • charts/api7/templates/file-server-service.yaml
  • charts/api7/values.yaml
  • charts/gateway/Chart.yaml
  • charts/gateway/README.md
  • charts/gateway/values.yaml
✅ Files skipped from review due to trivial changes (4)
  • charts/gateway/README.md
  • charts/gateway/values.yaml
  • charts/gateway/Chart.yaml
  • charts/api7/Chart.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • charts/api7/README.md

@nic-6443 nic-6443 merged commit d7557cf into main Apr 7, 2026
3 checks passed
@nic-6443 nic-6443 deleted the nic/3.9.8 branch April 7, 2026 14:11
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