kompose/script/test/fixtures/multiple-files/output-k8s.yaml
Lctrs 2ad5745d58
feat: migrate from libcompose to compose-go (#1547)
* feat: migrate from libcompose to compose-go

libcompose has been deprecated since summer 2021 in favor of https://github.com/compose-spec/compose-go.
Kompose should now be able to load all versions of compose.

* chore: replace golint with staticcheck

golint has been deprecated. Recommended replacement is staticcheck.
2023-01-12 15:17:22 -05:00

73 lines
1.4 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: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
creationTimestamp: null
name: multiple-files-default
spec:
ingress:
- from:
- podSelector:
matchLabels:
io.kompose.network/multiple-files-default: "true"
podSelector:
matchLabels:
io.kompose.network/multiple-files-default: "true"
---
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: {}