Skip to content

feat: add .env.example for easier contributor onboarding#192

Open
adarshkumar23 wants to merge 1 commit intokubeflow:mainfrom
adarshkumar23:feat/add-env-example
Open

feat: add .env.example for easier contributor onboarding#192
adarshkumar23 wants to merge 1 commit intokubeflow:mainfrom
adarshkumar23:feat/add-env-example

Conversation

@adarshkumar23
Copy link
Copy Markdown

Summary

Add a documented .env.example file listing all environment variables used by both servers, with default values and descriptions. Also ensure .env is gitignored.

Problem

New contributors need to read through server/app.py and server-https/app.py source code to discover required environment variables (KSERVE_URL, MILVUS_HOST, MILVUS_PORT, etc). This slows down onboarding and local development setup.

Changes

  • .env.example — documented template with all 8 env vars grouped by category
  • .gitignore — added .env to prevent accidental credential commits

Contributors currently need to read through server/app.py and
server-https/app.py source code to discover required environment
variables. Add a documented .env.example listing all configuration
options with default values and descriptions.

Also ensure .env is gitignored to prevent credential leaks.

Signed-off-by: Adarsh Kumar <adarsh23072005@gmail.com>
Signed-off-by: adarshkumar23 <131923092+adarshkumar23@users.noreply.github.com>
@google-oss-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign franciscojavierarceo for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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.

1 participant