feat(1765): update tests, move unit test to proper file, improve removeEmptyInterfaces algo

Signed-off-by: Martin Jirku <martin@jirku.sk>
This commit is contained in:
Martin Jirku
2024-01-01 12:07:44 +01:00
parent 3a818f4b01
commit f80ad97307
56 changed files with 83 additions and 692 deletions
@@ -2,7 +2,6 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
io.kompose.service: foo
name: foo
@@ -18,7 +17,6 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: foo
name: foo
@@ -27,10 +25,8 @@ spec:
selector:
matchLabels:
io.kompose.service: foo
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/compose-env-interpolation-default: "true"
io.kompose.service: foo
@@ -43,6 +39,5 @@ spec:
- containerPort: 80
hostPort: 80
protocol: TCP
resources: {}
restartPolicy: Always