forked from LaconicNetwork/kompose
fix: disable annotations when flag is specified
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.service.expose: lb
|
||||
kompose.service.expose.ingress-class-name: nginx
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: front-end
|
||||
@@ -17,14 +14,10 @@ spec:
|
||||
selector:
|
||||
io.kompose.service: front-end
|
||||
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.service.expose: lb
|
||||
kompose.service.expose.ingress-class-name: nginx
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: front-end
|
||||
@@ -37,9 +30,6 @@ spec:
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.service.expose: lb
|
||||
kompose.service.expose.ingress-class-name: nginx
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/single-file-output-default: "true"
|
||||
@@ -58,14 +48,10 @@ spec:
|
||||
resources: {}
|
||||
restartPolicy: Always
|
||||
|
||||
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.service.expose: lb
|
||||
kompose.service.expose.ingress-class-name: nginx
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: front-end
|
||||
@@ -84,4 +70,3 @@ spec:
|
||||
path: /
|
||||
pathType: Prefix
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user