Loading cloud_dashboard/src/constant/entity_info_template/entity_info_template.ts +2 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import K8S_PRIORITY_CLASS_TEMPLATE from 'constant/entity_info_template/k8s/prior import K8S_CONFIG_MAP_TEMPLATE from 'constant/entity_info_template/k8s/config_map'; import K8S_ROLE_TEMPLATE from 'constant/entity_info_template/k8s/role'; import K8S_CLUSTER_ROLE_TEMPLATE from 'constant/entity_info_template/k8s/cluster_role'; import K8S_CLUSTER_ROLE_BINDING_TEMPLATE from 'constant/entity_info_template/k8s/cluster_role_binding'; const ENTITY_INFO_LIST = [ AWS_CLOUD_INSTANCE_TEMPLATE, Loading Loading @@ -52,6 +53,7 @@ const ENTITY_INFO_LIST = [ K8S_CONFIG_MAP_TEMPLATE, K8S_ROLE_TEMPLATE, K8S_CLUSTER_ROLE_TEMPLATE, K8S_CLUSTER_ROLE_BINDING_TEMPLATE, ]; export const UPPERCASE_WORD_SET = new Set([ Loading cloud_dashboard/src/constant/entity_info_template/k8s/cluster_role_binding.ts 0 → 100644 +37 −0 Original line number Diff line number Diff line import EntityInfoTemplate from 'model/EntityInfoTemplate'; // Template for displaying detailed information about entities in K8s. const K8S_CLUSTER_ROLE_BINDING_TEMPLATE: EntityInfoTemplate = { cloudServiceProvider: 'k8s', entityName: 'cluster_role_binding', entityRecords: [ { panelName: 'Cluster Role Binding', tableRecordList: ['labels', 'annotations', 'subjects'], keyValueRecords: [ { labelName: 'Name', name: 'name', type: 'default' }, { labelName: 'Created', name: 'created', type: 'datetime' }, { labelName: 'Labels', name: 'labels', type: 'default' }, { labelName: 'Annotations', name: 'annotations', type: 'default' }, { labelName: 'Subjects', name: 'subjects', type: 'default' }, { labelName: 'Role', name: 'role_ref', type: 'default' }, ] }, { panelName: 'Detail', tableRecordList: [], keyValueRecords: [ { labelName: 'Detail', name: 'detail', type: 'default' }, ] }, { panelName: 'Other', tableRecordList: [], keyValueRecords: [ { labelName: 'Cloud Service Provider ID', name: 'cloud_context', type: 'default' }, ] }, ] }; export default K8S_CLUSTER_ROLE_BINDING_TEMPLATE; Loading
cloud_dashboard/src/constant/entity_info_template/entity_info_template.ts +2 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import K8S_PRIORITY_CLASS_TEMPLATE from 'constant/entity_info_template/k8s/prior import K8S_CONFIG_MAP_TEMPLATE from 'constant/entity_info_template/k8s/config_map'; import K8S_ROLE_TEMPLATE from 'constant/entity_info_template/k8s/role'; import K8S_CLUSTER_ROLE_TEMPLATE from 'constant/entity_info_template/k8s/cluster_role'; import K8S_CLUSTER_ROLE_BINDING_TEMPLATE from 'constant/entity_info_template/k8s/cluster_role_binding'; const ENTITY_INFO_LIST = [ AWS_CLOUD_INSTANCE_TEMPLATE, Loading Loading @@ -52,6 +53,7 @@ const ENTITY_INFO_LIST = [ K8S_CONFIG_MAP_TEMPLATE, K8S_ROLE_TEMPLATE, K8S_CLUSTER_ROLE_TEMPLATE, K8S_CLUSTER_ROLE_BINDING_TEMPLATE, ]; export const UPPERCASE_WORD_SET = new Set([ Loading
cloud_dashboard/src/constant/entity_info_template/k8s/cluster_role_binding.ts 0 → 100644 +37 −0 Original line number Diff line number Diff line import EntityInfoTemplate from 'model/EntityInfoTemplate'; // Template for displaying detailed information about entities in K8s. const K8S_CLUSTER_ROLE_BINDING_TEMPLATE: EntityInfoTemplate = { cloudServiceProvider: 'k8s', entityName: 'cluster_role_binding', entityRecords: [ { panelName: 'Cluster Role Binding', tableRecordList: ['labels', 'annotations', 'subjects'], keyValueRecords: [ { labelName: 'Name', name: 'name', type: 'default' }, { labelName: 'Created', name: 'created', type: 'datetime' }, { labelName: 'Labels', name: 'labels', type: 'default' }, { labelName: 'Annotations', name: 'annotations', type: 'default' }, { labelName: 'Subjects', name: 'subjects', type: 'default' }, { labelName: 'Role', name: 'role_ref', type: 'default' }, ] }, { panelName: 'Detail', tableRecordList: [], keyValueRecords: [ { labelName: 'Detail', name: 'detail', type: 'default' }, ] }, { panelName: 'Other', tableRecordList: [], keyValueRecords: [ { labelName: 'Cloud Service Provider ID', name: 'cloud_context', type: 'default' }, ] }, ] }; export default K8S_CLUSTER_ROLE_BINDING_TEMPLATE;