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

Modify the default path of kube system #3020

Closed
wants to merge 1 commit into from
Closed

Modify the default path of kube system #3020

wants to merge 1 commit into from

Conversation

caicancai
Copy link
Member

@caicancai caicancai commented Sep 4, 2023

What changes were proposed in this pull request

Issue Number: close #xxx

Brief change log

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).
Modify the default path of kube system

(or)

This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

  • Dependencies (does it add or upgrade a dependency): (yes / no)

@github-actions github-actions bot added the FLINK label Sep 4, 2023
@@ -177,6 +177,6 @@ trait KubernetesNativeClientTrait extends FlinkClientTrait {
def getDefaultKubernetesConf(k8sConf: String): String = {
val homePath: String = System.getProperty("user.home")
if (k8sConf != null) k8sConf.replace("~", homePath)
else homePath.concat("/.kube/config")
else homePath.concat("~/.kube/config")
Copy link
Member

Choose a reason for hiding this comment

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

homePath.concat("~/.kube/config") ? My intuition tells me that this path is wrong

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm sorry, it seems that my judgment was wrong

@caicancai caicancai closed this Sep 4, 2023
@caicancai caicancai deleted the kube_config branch September 11, 2023 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants