Skip to content

Add "-x" or "--clustername" flag to input cluster name when generating kubeconfig files#1423

Merged
devdattakulkarni merged 2 commits intocloud-ark:masterfrom
rahulkumar-choudhary:master
Mar 18, 2025
Merged

Add "-x" or "--clustername" flag to input cluster name when generating kubeconfig files#1423
devdattakulkarni merged 2 commits intocloud-ark:masterfrom
rahulkumar-choudhary:master

Conversation

@rahulkumar-choudhary
Copy link
Copy Markdown
Contributor

#1402
Add "-x" or "--clustername" flag in provider-kubeconfig.py file to input cluster name when generating kubeconfig files.

pip3 install -r requirements.txt
apiserver=`kubectl config view --minify -o jsonpath='{.clusters[0].cluster.server}'`
python3 provider-kubeconfig.py -s $apiserver create $KUBEPLUS_NS
python3 provider-kubeconfig.py -s $apiserver -x <cluster_name> create $KUBEPLUS_NS
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We don't need to change this line.

@devdattakulkarni devdattakulkarni merged commit 82674c5 into cloud-ark:master Mar 18, 2025
1 check passed
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.

2 participants