Skip to content

Replace load_kube_config() with config_check() #336

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

Closed
ChristianZaccaria opened this issue Sep 1, 2023 · 0 comments · Fixed by #351
Closed

Replace load_kube_config() with config_check() #336

ChristianZaccaria opened this issue Sep 1, 2023 · 0 comments · Fixed by #351
Assignees

Comments

@ChristianZaccaria
Copy link
Collaborator

Describe the Bug

Currently in generate_yaml.py config.load_kube_config() is called which can cause permission issues if someone authenticates with Token and server and lacks a config file.

Codeflare Stack Component Versions

Codeflare SDK: v0.7.0

Steps to Reproduce the Bug

  • Make sure you do not have a kube config file in ~/.kube
  • Follow the local interactive guided demo
  • When creating the yaml file you should get an error that a kube config file does not exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

2 participants