-- add kubernetes resource permission 
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('132', 'KUBECONFIGMAP_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('133', 'KUBECONFIGMAP_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('134', 'KUBECONFIGMAP_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('135', 'KUBECONFIGMAP_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('136', 'KUBEDAEMONSET_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('137', 'KUBEDAEMONSET_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('138', 'KUBEDAEMONSET_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('139', 'KUBEDAEMONSET_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('140', 'KUBEDEPLOYMENT_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('141', 'KUBEDEPLOYMENT_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('142', 'KUBEDEPLOYMENT_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('143', 'KUBEDEPLOYMENT_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('144', 'KUBEEVENT_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('145', 'KUBEEVENT_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('146', 'KUBEEVENT_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('147', 'KUBEEVENT_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('148', 'KUBEHORIZONTALPODAUTOSCALER_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('149', 'KUBEHORIZONTALPODAUTOSCALER_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('150', 'KUBEHORIZONTALPODAUTOSCALER_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('151', 'KUBEHORIZONTALPODAUTOSCALER_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('152', 'KUBEINGRESS_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('153', 'KUBEINGRESS_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('154', 'KUBEINGRESS_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('155', 'KUBEINGRESS_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('156', 'KUBEJOB_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('157', 'KUBEJOB_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('158', 'KUBEJOB_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('159', 'KUBEJOB_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('160', 'KUBECRONJOB_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('161', 'KUBECRONJOB_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('162', 'KUBECRONJOB_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('163', 'KUBECRONJOB_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('164', 'KUBENAMESPACE_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('165', 'KUBENAMESPACE_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('166', 'KUBENAMESPACE_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('167', 'KUBENAMESPACE_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('168', 'KUBENODE_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('169', 'KUBENODE_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('170', 'KUBENODE_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('171', 'KUBENODE_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('172', 'KUBEPERSISTENTVOLUMECLAIM_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('173', 'KUBEPERSISTENTVOLUMECLAIM_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('174', 'KUBEPERSISTENTVOLUMECLAIM_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('175', 'KUBEPERSISTENTVOLUMECLAIM_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('176', 'KUBEPERSISTENTVOLUME_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('177', 'KUBEPERSISTENTVOLUME_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('178', 'KUBEPERSISTENTVOLUME_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('179', 'KUBEPERSISTENTVOLUME_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('180', 'KUBEPOD_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('181', 'KUBEPOD_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('182', 'KUBEPOD_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('183', 'KUBEPOD_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('184', 'KUBEREPLICASET_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('185', 'KUBEREPLICASET_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('186', 'KUBEREPLICASET_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('187', 'KUBEREPLICASET_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('188', 'KUBESECRET_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('189', 'KUBESECRET_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('190', 'KUBESECRET_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('191', 'KUBESECRET_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('192', 'KUBESERVICE_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('193', 'KUBESERVICE_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('194', 'KUBESERVICE_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('195', 'KUBESERVICE_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('196', 'KUBESTATEFULSET_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('197', 'KUBESTATEFULSET_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('198', 'KUBESTATEFULSET_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('199', 'KUBESTATEFULSET_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('200', 'KUBEENDPOINTS_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('201', 'KUBEENDPOINTS_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('202', 'KUBEENDPOINTS_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('203', 'KUBEENDPOINTS_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('204', 'KUBESTORAGECLASS_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('205', 'KUBESTORAGECLASS_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('206', 'KUBESTORAGECLASS_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('207', 'KUBESTORAGECLASS_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('208', 'KUBEROLE_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('209', 'KUBEROLE_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('210', 'KUBEROLE_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('211', 'KUBEROLE_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('212', 'KUBEROLEBINDING_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('213', 'KUBEROLEBINDING_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('214', 'KUBEROLEBINDING_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('215', 'KUBEROLEBINDING_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('216', 'KUBECLUSTERROLE_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('217', 'KUBECLUSTERROLE_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('218', 'KUBECLUSTERROLE_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('219', 'KUBECLUSTERROLE_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('220', 'KUBECLUSTERROLEBINDING_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('221', 'KUBECLUSTERROLEBINDING_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('222', 'KUBECLUSTERROLEBINDING_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('223', 'KUBECLUSTERROLEBINDING_DELETE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('224', 'KUBESERVICEACCOUNT_CREATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('225', 'KUBESERVICEACCOUNT_UPDATE', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('226', 'KUBESERVICEACCOUNT_READ', '', now(), now())
INSERT INTO  permission  ( id,  name,  comment,  create_time,  update_time ) VALUES ('227', 'KUBESERVICEACCOUNT_DELETE', '', now(), now())

-- add permission-group

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '140');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '142');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '143');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '196');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '198');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '199');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '160');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '162');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '163');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '158');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '148');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '150');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '151');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '192');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '194');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '195');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '152');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '154');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '155');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '133');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '134');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '135');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '188');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '190');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '191');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '172');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '174');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '175');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '182');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('10', '183');
	
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '140');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '142');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '143');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '196');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '198');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '199');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '160');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '162');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '163');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '158');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '148');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '150');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '151');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '192');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '194');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '195');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '152');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '154');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '155');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '133');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '134');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '135');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '188');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '190');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '191');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '172');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '174');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '175');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '182');
INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('11', '183');


INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '142');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '198');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '162');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '158');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '150');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '194');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '154');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '134');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '190');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '174');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('12', '182');


INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '142');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '198');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '162');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '158');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '150');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '194');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '154');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '134');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '190');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '174');

INSERT INTO  group_permissions  ( group_id,  permission_id ) VALUES ('1', '182');
