forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change aligns the istioctl client config merging logic with kubectl. kubectl uses an older version of github.com/imdario/mergo where the Merge() function overwrites existing values. istioctl uses a newer version which doesn't (see linked issues below). This manifests in the k8s client loading code with multiple config sources not being merged properly. Longer term fix would be to update kubectl and k8s.io/client-go to use the latest version of github.com/imdario/mergo. Fixes istio#4938 Related upstream kubernetes issues: - darccio/mergo#33 (comment) - kubernetes/kubernetes#27543 - kubernetes/kubernetes#23789
- Loading branch information
Showing
7 changed files
with
51 additions
and
195 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.