-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add the option to display the output in yaml/json format #24
Comments
flags should follow kubectl standards e.g. |
Assign this one to me if you want 😀 |
How would you want it to look? Something like this or flatter? ServiceAccounts:
sa-under-test:
namespace: test-namespace
ClusterRoleBindings:
cluster-roles:
ClusterRoles:
cluster-level-role:
apis:
apps:
deployments:
verbs:
- get
- watch
- list
replicasets:
verbs:
- get
- watch
- list
RoleBindings: ... |
yeah, I like that. or... serviceAccount: sa-under-test
namespace: test-namespace
clusterRoleBindings:
- name: cluster-roles
clusterRoles:
- name: cluster-level-roles
permissions:
- apiGroups: apps
resources:
- deployments
- replicasets
verbs:
- get
- watch
- list
- apiGroups: core.k8s.io
resources:
- configmaps
- pods
- pods/log
- services
verbs:
- get
- watch
- list
- apiGroups: networking.k8s.io
resources:
- ingresses
verbs:
- get |
Am wondering if we could reuse the existing k8s types to generate the output (or slightly modified versions) |
Yeah, that would be nicer... just didn't know if you wanted the original names etc. But I'd prefer the k8s native output 👌 |
this would allow this plugin to used in script
The text was updated successfully, but these errors were encountered: