forked from LaconicNetwork/kompose
fix: disable annotations when flag is specified
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.image-pull-policy: IfNotPresent
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: foo
|
||||
@@ -16,13 +14,10 @@ spec:
|
||||
selector:
|
||||
io.kompose.service: foo
|
||||
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.image-pull-policy: IfNotPresent
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: foo
|
||||
@@ -35,8 +30,6 @@ spec:
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.image-pull-policy: IfNotPresent
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/compose-env-interpolation-default: "true"
|
||||
@@ -53,4 +46,3 @@ spec:
|
||||
resources: {}
|
||||
restartPolicy: Always
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user