This is how the flow of code will looke like
Right now the program will use the k8s api twice
{ | |
"clustername": "manifest-test", | |
"subject": [ | |
{ | |
"name": "system:kube-controller-manager", | |
"kind": "User", | |
"namespace": "", | |
"RoleBindingInfo": [ | |
{ | |
"rolename": "extension-apiserver-authentication-reader", |
import sys | |
from neomodel import ( | |
ArrayProperty, | |
DateTimeProperty, | |
RelationshipFrom, | |
RelationshipTo, | |
StringProperty, | |
StructuredNode, | |
StructuredRel, |