kompose/script/test/fixtures/multiple-files/output-k8s.yaml
AhmedGrati f7bee839ce
feat: disable network policies generation by default (#1629)
* feat: disable network policies default generation

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* docs: add the generate-network-policies flag to user guide

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* test: add unit tests of the network policies generation

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-05 11:26:37 +01:00

57 lines
1.0 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: bar
name: bar
spec:
replicas: 99
selector:
matchLabels:
io.kompose.service: bar
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/multiple-files-default: "true"
io.kompose.service: bar
spec:
containers:
- image: bar
name: bar
resources: {}
restartPolicy: Always
status: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: foo
name: foo
spec:
replicas: 3
selector:
matchLabels:
io.kompose.service: foo
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/multiple-files-default: "true"
io.kompose.service: foo
spec:
containers:
- image: foo
name: foo
resources: {}
restartPolicy: Always
status: {}