Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ database:
# -- Deploy a single-pod PostgreSQL instance
enabled: true
# -- PostgreSQL container image
image: docker.io/library/postgres:14.2
image: docker.io/library/postgres:14.22

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

πŸ› οΈ Refactor suggestion | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Search for stale references to postgres:14.2 in docs and templates
rg 'postgres:14\.2' charts/

Repository: openshift-hyperfleet/hyperfleet-api

Length of output: 1308


🏁 Script executed:

#!/bin/bash
# Check if README is auto-generated and look for related tooling
cd charts
ls -la | grep -i readme
cat README.md | head -20

Repository: openshift-hyperfleet/hyperfleet-api

Length of output: 915


🏁 Script executed:

#!/bin/bash
# Search for helm-docs or similar documentation generation in Makefile
grep -r "helm-docs\|README" Makefile* .github/ 2>/dev/null || echo "No helm-docs found in standard locations"

Repository: openshift-hyperfleet/hyperfleet-api

Length of output: 647


🏁 Script executed:

#!/bin/bash
# Check the actual content of README.md around the database.postgresql.image section
sed -n '140,160p' charts/README.md

Repository: openshift-hyperfleet/hyperfleet-api

Length of output: 3393


Run make helm-docs to regenerate charts/README.md.

The chart README is auto-generated from values.yaml and README.md.gotmpl using helm-docs. The current README.md still documents postgres:14.2 in three places (database table, database.postgresql table, and database.postgresql.image row), but values.yaml now specifies 14.22. Run make helm-docs to regenerate the documentation, then commit the result. The make test-helm target includes a verify-helm-docs check that will fail until README.md is in sync with values.yaml.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@charts/values.yaml` at line 308, The charts/README.md file is out of sync
with the updated values.yaml file. The postgres image version has been changed
to 14.22 in values.yaml, but README.md still references the old version 14.2 in
three places (database table, database.postgresql table, and
database.postgresql.image row). Run the make helm-docs command to regenerate the
charts/README.md file from values.yaml and the helm template, then commit the
updated README.md file. This will ensure the documentation stays in sync and the
make test-helm target's verify-helm-docs check will pass.

# -- Database name
database: hyperfleet
# -- Database user
Expand Down