Add initial kubernetes services and configmap UI support (#2635)

* add initial kubernetes services and configmap support

* revert accidental change

* missed revert

* prettier
This commit is contained in:
Matthew Clarke
2020-09-28 14:16:41 +01:00
committed by GitHub
parent e7686833fd
commit 2fbca83156
11 changed files with 536 additions and 9 deletions
@@ -88,6 +88,26 @@ spec:
- protocol: TCP
port: 80
targetPort: 9376
name: port1
- protocol: TCP
port: 81
targetPort: 9377
name: port2
---
apiVersion: v1
kind: Service
metadata:
name: dice-roller-lb
labels:
'backstage.io/kubernetes-id': dice-roller
spec:
selector:
app: dice-roller
ports:
- port: 8765
targetPort: 9376
type: LoadBalancer
---
apiVersion: v1
@@ -34,7 +34,6 @@ const DEFAULT_OBJECTS = new Set<KubernetesObjectTypes>([
'pods',
'services',
'configmaps',
'secrets',
'deployments',
'replicasets',
]);