fix: use dyff to check that yaml files are equal

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
AhmedGrati
2023-10-14 18:24:19 +01:00
parent 115f3862fc
commit 4c203d941e
10 changed files with 125 additions and 15 deletions
@@ -5,3 +5,5 @@ services:
labels:
kompose.image-pull-policy: "${IMAGE_PULL_POLICY:-IfNotPresent}"
build: .
ports:
- 80:80
@@ -1,3 +1,23 @@
---
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.image-pull-policy: IfNotPresent
creationTimestamp: null
labels:
io.kompose.service: foo
name: foo
spec:
ports:
- name: "80"
port: 80
targetPort: 80
selector:
io.kompose.service: foo
status:
loadBalancer: {}
---
apiVersion: apps/v1
kind: Deployment
@@ -27,6 +47,11 @@ spec:
- image: foo
imagePullPolicy: IfNotPresent
name: foo
ports:
- containerPort: 80
hostPort: 80
protocol: TCP
resources: {}
restartPolicy: Always
status: {}