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

Add missing env variables to start_ssh.py #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hSATAC
Copy link

@hSATAC hSATAC commented Aug 4, 2020

We need to pass these variables to update_authorized_keys.py

  1. SSH_TARGET_PUBLICKEY_API_PORT to override the API port
  2. Kubernetes info so the config.load_incluster_config() can work

References:

Signed-off-by: Ash Wu hSATAC@infuseai.io
Signed-off-by: Timothy Lee ctiml@infuseai.io

What kind of change does this PR introduce?

  • Bugfix
  • New Feature
  • Feature Improvment
  • Refactoring
  • Documentation
  • Other, please describe:

Description:

Checklist:

  • I have read the CONTRIBUTING document.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

We need to pass these variables to `update_authorized_keys.py`
1. `SSH_TARGET_PUBLICKEY_API_PORT` to override the API port
2. Kubernetes info so the `config.load_incluster_config()` can work

Signed-off-by: Ash Wu <hSATAC@infuseai.io>
Signed-off-by: Timothy Lee <ctiml@infuseai.io>
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