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

Added plugin for Cloud Providers Auth #220

Merged
merged 3 commits into from
May 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/kubedb/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"os"

"github.com/kubedb/cli/pkg/cmds"
_ "k8s.io/client-go/plugin/pkg/client/auth"
)

func main() {
Expand Down
77 changes: 60 additions & 17 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import:
version: master
- package: github.com/spf13/cobra
version: master
- package: github.com/spf13/pflag
version: master
- package: github.com/yudai/gojsondiff
version: 1.0.0
- package: k8s.io/api
Expand Down
8 changes: 4 additions & 4 deletions pkg/describer/k8sdb_describer.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (d *humanReadableDescriber) describePostgres(item *api.Postgres, describerS

describeInitialization(item.Spec.Init, out)

describeStorage(item.Spec.Storage, out)
describeStorage(&item.Spec.Storage, out)

d.showWorkload(item.Namespace, labelSelector, describerSettings.ShowWorkload, out)

Expand Down Expand Up @@ -236,7 +236,7 @@ func (d *humanReadableDescriber) describeMySQL(item *api.MySQL, describerSetting
fmt.Fprintf(out, "Reason:\t%s\n", item.Status.Reason)
}

describeStorage(item.Spec.Storage, out)
describeStorage(&item.Spec.Storage, out)

d.showWorkload(item.Namespace, labelSelector, describerSettings.ShowWorkload, out)

Expand Down Expand Up @@ -309,7 +309,7 @@ func (d *humanReadableDescriber) describeMongoDB(item *api.MongoDB, describerSet
fmt.Fprintf(out, "Reason:\t%s\n", item.Status.Reason)
}

describeStorage(item.Spec.Storage, out)
describeStorage(&item.Spec.Storage, out)

d.showWorkload(item.Namespace, labelSelector, describerSettings.ShowWorkload, out)

Expand Down Expand Up @@ -373,7 +373,7 @@ func (d *humanReadableDescriber) describeRedis(item *api.Redis, describerSetting
fmt.Fprintf(out, "Reason:\t%s\n", item.Status.Reason)
}

describeStorage(item.Spec.Storage, out)
describeStorage(&item.Spec.Storage, out)

d.showWorkload(item.Namespace, labelSelector, describerSettings.ShowWorkload, out)

Expand Down
Loading