kompose/script/test/fixtures/namespace/output-k8s.yaml
shubhindia 9d3dfeab41 drop status field from test yamls
Signed-off-by: shubhindia <shubhindia123@gmail.com>
2023-10-29 12:08:59 +05:30

62 lines
979 B
YAML

---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
io.kompose.service: web
name: web
namespace: web
spec:
ports:
- name: "80"
port: 80
targetPort: 80
selector:
io.kompose.service: web
---
apiVersion: v1
kind: Namespace
metadata:
creationTimestamp: null
name: web
namespace: web
spec: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: web
name: web
namespace: web
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: web
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/namespace-default: "true"
io.kompose.service: web
spec:
containers:
- image: nginx
name: web
ports:
- containerPort: 80
hostPort: 80
protocol: TCP
resources: {}
restartPolicy: Always