Skip to content

Conversation

@rbren
Copy link
Contributor

@rbren rbren commented Aug 18, 2025

Description

Make the image used by the runtime-api create-db-user Helm hook job configurable and include imagePullSecrets in the pod spec.

Changes:

  • Template create-db-user job to use .Values.database.createJob.image with default postgres:14
  • Add default under charts/runtime-api/values.yaml
  • Include imagePullSecrets in the job pod spec for private registries
  • Bump charts/runtime-api/Chart.yaml version to 0.1.12

Helm Chart Checklist

  • I have updated the version field in Chart.yaml for each modified chart
  • I have tested the chart upgrade path from the previous version
  • I have verified backwards compatibility with existing values.yaml configurations
  • I have updated the chart's README.md if there are any breaking changes or new required values

Additional Notes

  • Backwards compatible: when no value is provided, it defaults to postgres:14 which was the previous hardcoded image.
  • Example override:
    • values.yaml
      database:
        createJob:
          image: "bitnami/postgresql:14"
    • CLI: --set database.createJob.image=bitnami/postgresql:14

@rbren can click here to continue refining the PR

…emplate uses .Values.database.createJob.image with default to postgres:14\n- Add default under charts/runtime-api/values.yaml (database.createJob.image)\n\nCo-authored-by: openhands <[email protected]>
…d spec for private registries\n\nCo-authored-by: openhands <[email protected]>
@rbren rbren added enhancement New feature or request chart runtime-api labels Aug 18, 2025 — with OpenHands AI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants