-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat: add new inspect namespaces list command to skaffold #8309
feat: add new inspect namespaces list command to skaffold #8309
Conversation
4564147
to
5b7c494
Compare
Codecov Report
@@ Coverage Diff @@
## main #8309 +/- ##
==========================================
- Coverage 70.48% 66.08% -4.41%
==========================================
Files 515 605 +90
Lines 23150 29654 +6504
==========================================
+ Hits 16317 19596 +3279
- Misses 5776 8590 +2814
- Partials 1057 1468 +411
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
5b7c494
to
46ca4ce
Compare
9e1ef67
to
b2f12f2
Compare
|
||
func cmdNamespaces() *cobra.Command { | ||
return NewCmd("namespaces"). | ||
WithDescription("View skaffold test information"). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is the description from skaffold inspect tests
, do we need to change it for skaffold inspect namespaces
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch thanks, updated now
a8eba58
to
fb9ef23
Compare
description: "print all deployment namespaces where no namespace is set in manifest(s) or deploy config", | ||
manifest: manifest, | ||
expected: `{"resourceToInfoMap":{"apps/v1, Kind=Deployment":[{"name":"leeroy-app","namespace":"default"}]}}` + "\n", | ||
// expected: `` + "\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah good catch sorry. Removed now
fb9ef23
to
436da8d
Compare
fixes #8191