Loading cloud_dashboard/src/constant/entity_info_template/entity_info_template.ts +2 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ import K8S_JOB_TEMPLATE from 'constant/entity_info_template/k8s/job'; import K8S_SERVICE_TEMPLATE from 'constant/entity_info_template/k8s/service'; import K8S_ENDPOINT_TEMPLATE from 'constant/entity_info_template/k8s/endpoint'; import K8S_STATEFUL_SET_TEMPLATE from 'constant/entity_info_template/k8s/stateful_set'; import K8S_INGRESS_TEMPLATE from 'constant/entity_info_template/k8s/ingress'; import K8S_DAEMON_SET_TEMPLATE from 'constant/entity_info_template/k8s/daemon_set'; import K8S_HORIZONTAL_POD_AUTOSCALER_TEMPLATE from 'constant/entity_info_template/k8s/horizontal_pod_autoscaler'; Loading Loading @@ -74,6 +75,7 @@ const ENTITY_INFO_LIST = [ K8S_SERVICE_TEMPLATE, K8S_ENDPOINT_TEMPLATE, K8S_STATEFUL_SET_TEMPLATE, K8S_INGRESS_TEMPLATE, K8S_DAEMON_SET_TEMPLATE, K8S_HORIZONTAL_POD_AUTOSCALER_TEMPLATE, ]; Loading cloud_dashboard/src/constant/entity_info_template/k8s/ingress.ts 0 → 100644 +37 −0 Original line number Diff line number Diff line import EntityInfoTemplate from 'model/EntityInfoTemplate'; const K8S_INGRESS_TEMPLATE: EntityInfoTemplate = { cloudServiceProvider: 'k8s', entityName: 'ingress', entityRecords: [ { panelName: 'Ingress', tableRecordList: ['annotations', 'rules'], keyValueRecords: [ { labelName: 'Name', name: 'name', type: 'default' }, { labelName: 'Annotations', name: 'annotations', type: 'default' }, { labelName: 'Namespace', name: 'namespace', type: 'default' }, { labelName: 'Backend', name: 'backend', type: 'key-value' }, { labelName: 'Rules', name: 'rules', type: 'default' }, { labelName: 'TLS', name: 'tls', type: 'key-value' }, { labelName: 'Load Balancer', name: 'load_balancer', type: 'key-value' }, ] }, { 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_INGRESS_TEMPLATE; Loading
cloud_dashboard/src/constant/entity_info_template/entity_info_template.ts +2 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ import K8S_JOB_TEMPLATE from 'constant/entity_info_template/k8s/job'; import K8S_SERVICE_TEMPLATE from 'constant/entity_info_template/k8s/service'; import K8S_ENDPOINT_TEMPLATE from 'constant/entity_info_template/k8s/endpoint'; import K8S_STATEFUL_SET_TEMPLATE from 'constant/entity_info_template/k8s/stateful_set'; import K8S_INGRESS_TEMPLATE from 'constant/entity_info_template/k8s/ingress'; import K8S_DAEMON_SET_TEMPLATE from 'constant/entity_info_template/k8s/daemon_set'; import K8S_HORIZONTAL_POD_AUTOSCALER_TEMPLATE from 'constant/entity_info_template/k8s/horizontal_pod_autoscaler'; Loading Loading @@ -74,6 +75,7 @@ const ENTITY_INFO_LIST = [ K8S_SERVICE_TEMPLATE, K8S_ENDPOINT_TEMPLATE, K8S_STATEFUL_SET_TEMPLATE, K8S_INGRESS_TEMPLATE, K8S_DAEMON_SET_TEMPLATE, K8S_HORIZONTAL_POD_AUTOSCALER_TEMPLATE, ]; Loading
cloud_dashboard/src/constant/entity_info_template/k8s/ingress.ts 0 → 100644 +37 −0 Original line number Diff line number Diff line import EntityInfoTemplate from 'model/EntityInfoTemplate'; const K8S_INGRESS_TEMPLATE: EntityInfoTemplate = { cloudServiceProvider: 'k8s', entityName: 'ingress', entityRecords: [ { panelName: 'Ingress', tableRecordList: ['annotations', 'rules'], keyValueRecords: [ { labelName: 'Name', name: 'name', type: 'default' }, { labelName: 'Annotations', name: 'annotations', type: 'default' }, { labelName: 'Namespace', name: 'namespace', type: 'default' }, { labelName: 'Backend', name: 'backend', type: 'key-value' }, { labelName: 'Rules', name: 'rules', type: 'default' }, { labelName: 'TLS', name: 'tls', type: 'key-value' }, { labelName: 'Load Balancer', name: 'load_balancer', type: 'key-value' }, ] }, { 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_INGRESS_TEMPLATE;