Closed cartermckinnon closed 2 months ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: torredil
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/retest
Is this a bug fix or adding new feature?
Feature
What is this PR about? / Why do we need it?
This adds a command-line flag,
--kubeconfig
, that allows an alternative torest.InClusterConfig()
. This is useful when running the CSI driver outside of a Pod.If
--kubeconfig
is empty, the behavior is unchanged.What testing is done?
I see the k8s client instantiated successfully: