Skip to content

Add AGENTS.md with project overview and pod role documentation#60

Merged
souravbiswassanto merged 3 commits into
masterfrom
add-agents-md
Jun 16, 2026
Merged

Add AGENTS.md with project overview and pod role documentation#60
souravbiswassanto merged 3 commits into
masterfrom
add-agents-md

Conversation

@souravbiswassanto

Copy link
Copy Markdown
Member

Summary

  • Add AGENTS.md documenting the repo's role as the KubeDB Postgres init-container image
  • Explains how kubedb.dev/postgres/pkg/controller/petset.go deploys it (GetInitContainers, getEnforceFsGroupInitContainers)
  • Documents the two container slots (postgres-init-container, pg-fsgroup-init), embedded scripts, and env vars injected by the operator
  • Covers image lifecycle via PostgresVersion catalog resource

Test plan

  • Documentation-only change; no code changed

Document the repo's role as the postgres init-container image,
how petset.go deploys it, the scripts it provides, and the
env vars injected by the operator.

Signed-off-by: souravbiswassanto <saurov@appscode.com>
Detail how run.sh dispatches scripts by mode (standalone, remote-replica,
HA), the role_scripts layout (primary/standby per major version), and
the handoff to pg-coordinator's AddRoleBasedScripts for HA clusters.

Signed-off-by: souravbiswassanto <saurov@appscode.com>
@souravbiswassanto souravbiswassanto merged commit ffa44fb into master Jun 16, 2026
4 checks passed
@souravbiswassanto souravbiswassanto deleted the add-agents-md branch June 16, 2026 06:23
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.

1 participant