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
-6
View File
@@ -2,7 +2,6 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
io.kompose.service: nginx
name: nginx
@@ -19,7 +18,6 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: nginx
name: nginx
@@ -28,10 +26,8 @@ spec:
selector:
matchLabels:
io.kompose.service: nginx
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/network-policies-web: "true"
io.kompose.service: nginx
@@ -43,7 +39,6 @@ spec:
- containerPort: 80
hostPort: 80
protocol: TCP
resources: {}
restartPolicy: Always
@@ -51,7 +46,6 @@ spec:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
creationTimestamp: null
name: network-policies-web
spec:
ingress: