Skip to content

Instantly share code, notes, and snippets.

Tech Spec

This is how the flow of code will looke like

image

Getting the data (Query)

Right now the program will use the k8s api twice

@Shreyas220
Shreyas220 / parser.py
Last active May 24, 2024 02:34
Python script to upload data in neo4j
import sys
from neomodel import (
ArrayProperty,
DateTimeProperty,
RelationshipFrom,
RelationshipTo,
StringProperty,
StructuredNode,
StructuredRel,
@Shreyas220
Shreyas220 / kiem.json
Created May 23, 2024 00:36
kiem.json
{
"clustername": "manifest-test",
"subject": [
{
"name": "system:kube-controller-manager",
"kind": "User",
"namespace": "",
"RoleBindingInfo": [
{
"rolename": "extension-apiserver-authentication-reader",