tilt-dev / tilt-dev/tilt

Changes to PostgresVersion image don't propagate to Postgres resource

Open
#1,903 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
10.1k
Forks
413
Avg merge
1d 10h
Merged PRs (30d)
6

Description

for example, while trying to integrate with KubeDB custom PostgresVersion

apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
  name: postgis-2.5.2
spec:
  version: 9.6
  db:
    image: "localhost:32001/postgres:postgis-2.5.2"
  exporter:
    image: "kubedb/postgres_exporter:v0.4.7"
  tools:
    image: "kubedb/postgres-tools:9.6-v3"

The image name is mistakenly determined as "postgis-2.5.2" instead of "postgres:postgis-2.5.2"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the PostgresVersion manifest in the report, then trace how its db.image value is transferred to the Postgres resource. Done means the resulting resource preserves the complete image value, including the registry and postgres: prefix, rather than using only the PostgresVersion name.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.