Skip to content

Replace load_kube_config() with config_check() #336

Closed
@ChristianZaccaria

Description

@ChristianZaccaria

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions