forked from LaconicNetwork/kompose
fix: use dyff to check that yaml files are equal
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
@@ -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: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user