Skip to content

Commit d3a0177

Browse files
committed
fix(hot): removed token and username and password from kubeconfig output
1 parent 24fbe78 commit d3a0177

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/k8s/kubeconfig.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ type KubeConfig struct {
4444
type User struct {
4545
ClientCertificateData string `yaml:"client-certificate-data"`
4646
ClientKeyData string `yaml:"client-key-data"`
47-
Token string `yaml:"token"`
48-
Username string `yaml:"username"`
49-
Password string `yaml:"password"`
50-
Exec struct {
47+
// Token string `yaml:"token"`
48+
// Username string `yaml:"username"`
49+
// Password string `yaml:"password"`
50+
Exec struct {
5151
ApiVersion string `yaml:"apiVersion"`
5252
Args []string `yaml:"args"`
5353
Command string `yaml:"command"`

0 commit comments

Comments
 (0)