Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Python client handling of env from #1845

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

blublinsky
Copy link
Contributor

Why are these changes needed?

After creating a cluster by setting environment variable valueFrom configMap, the cluster gets created correctly and the environment variables are set correctly in the cluster. However, when getting the cluster using the python client, kuberay.get_cluster()

Related issue number

Closes #1804

Checks

  • [ x] I've made sure the tests are passing.
  • Testing Strategy
    • [x ] Unit tests
    • [ x] Manual tests
    • This PR is not tested :(

@blublinsky
Copy link
Contributor Author

The main issue was that CONFIGMAP type was equal to 0, which is getting dropped when data is returned

@blublinsky
Copy link
Contributor Author

Copy link
Contributor

@z103cb z103cb left a comment

Choose a reason for hiding this comment

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

LGTM

@blublinsky
Copy link
Contributor Author

@kevin85421 - all yours

@kevin85421 kevin85421 merged commit 91361e3 into ray-project:master Jan 18, 2024
24 checks passed
@blublinsky blublinsky deleted the configmap_envar branch January 18, 2024 19:04
ryanaoleary pushed a commit to ryanaoleary/kuberay that referenced this pull request Feb 13, 2024
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.

[Bug] [API Server] Get Cluster does not receive source for environment valuesFrom
3 participants