Skip to content

Stop tracking local environment secrets#1

Draft
sandeep-devarapalli wants to merge 1 commit into
masterfrom
agent/stop-tracking-datauno-secrets
Draft

Stop tracking local environment secrets#1
sandeep-devarapalli wants to merge 1 commit into
masterfrom
agent/stop-tracking-datauno-secrets

Conversation

@sandeep-devarapalli

Copy link
Copy Markdown
Contributor

What changed

  • stop tracking the root and OpenDataDiscovery .env files
  • ignore local .env variants while keeping .env.example files trackable
  • add value-free examples containing the same variable names as the local files

Why

The public repository tracked environment files containing password and secret fields. Local runtime configuration must stay outside Git, with only value-free templates committed.

Impact

Existing local .env files remain on disk and continue to drive local Docker Compose commands. New checkouts must copy the relevant .env.example and supply their own values.

Validation

  • both local .env files remain present with owner-only permissions
  • example variable-name sets exactly match their corresponding local files
  • examples contain zero non-empty values
  • git diff --check passes
  • Compose parsing passes for docker-compose.dev.yml, DataHub, Airflow/DataHub, and OpenDataDiscovery
  • root docker-compose.yml still has a pre-existing unrelated error: tabix depends on undefined service clickhouse

Security follow-up

This PR does not rewrite Git history or invalidate exposed credentials. Rotate the custom LIGHTDASH_SECRET, OpenDataDiscovery PostgreSQL password, and ClickHouse password before treating the exposure as resolved.

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