Skip to content

Conversation

nayihz
Copy link
Contributor

@nayihz nayihz commented Mar 7, 2025

What this PR does / why we need it

Which issue(s) this PR fixes

Fixes #292

Special notes for your reviewer

Does this PR introduce a user-facing change?


@InftyAI-Agent InftyAI-Agent added needs-triage Indicates an issue or PR lacks a label and requires one. needs-priority Indicates a PR lacks a label and requires one. do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Mar 7, 2025
@nayihz
Copy link
Contributor Author

nayihz commented Mar 7, 2025

/assign @kerthcet

})
}

func spreadEnvToInitContainer(containerEnv []corev1.EnvVar, initContainer *corev1.Container) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test to make sure only the envs we set in the Playground or BackendRuntime will be spread to the initContainers?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added. PTAL.
/kind feature

@nayihz nayihz force-pushed the feat_spread_env branch 2 times, most recently from 694c2c8 to 771cadd Compare March 10, 2025 07:04
@nayihz
Copy link
Contributor Author

nayihz commented Mar 10, 2025

/kind feature

@InftyAI-Agent InftyAI-Agent added feature Categorizes issue or PR as related to a new feature. and removed do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Mar 10, 2025
@kerthcet
Copy link
Member

I think integration test makes more sense here, we set the env in playground and validate the envs in the pod initContainer, but unit tests also looks good to me.

/lgtm
/approve
Thanks!

@InftyAI-Agent InftyAI-Agent added lgtm Looks good to me, indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 10, 2025
@InftyAI-Agent InftyAI-Agent merged commit a3a05fd into InftyAI:main Mar 10, 2025
29 checks passed
@nayihz nayihz deleted the feat_spread_env branch March 12, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. feature Categorizes issue or PR as related to a new feature. lgtm Looks good to me, indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a label and requires one. needs-triage Indicates an issue or PR lacks a label and requires one.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

download model from modelhub via http_proxy
3 participants