fix: disable annotations when flag is specified

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
AhmedGrati
2023-11-05 19:31:58 +01:00
parent 032b61a656
commit a8183a22f7
23 changed files with 4 additions and 379 deletions
@@ -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