forked from LaconicNetwork/kompose
#### What type of PR is this? <!-- Add one of the following kinds: /kind bug /kind documentation /kind feature --> /kind cleanup #### What this PR does / why we need it: Removes the network policy annotation which is not needed (we are not generating network policy) #### Which issue(s) this PR fixes: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes https://github.com/kubernetes/kompose/issues/1759 #### Special notes for your reviewer:
47 lines
703 B
YAML
47 lines
703 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: bar
|
|
name: bar
|
|
spec:
|
|
replicas: 99
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: bar
|
|
template:
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: bar
|
|
spec:
|
|
containers:
|
|
- image: bar
|
|
name: bar
|
|
restartPolicy: Always
|
|
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: foo
|
|
name: foo
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: foo
|
|
template:
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: foo
|
|
spec:
|
|
containers:
|
|
- image: foo
|
|
name: foo
|
|
restartPolicy: Always
|
|
|
|
|