forked from LaconicNetwork/kompose
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.
This commit is contained in:
@@ -43,6 +43,7 @@ spec:
|
||||
kompose.service.expose.ingress-class-name: nginx
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/single-file-output-default: "true"
|
||||
io.kompose.service: front-end
|
||||
spec:
|
||||
containers:
|
||||
@@ -83,3 +84,20 @@ spec:
|
||||
pathType: Prefix
|
||||
status:
|
||||
loadBalancer: {}
|
||||
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: single-file-output-default
|
||||
spec:
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
io.kompose.network/single-file-output-default: "true"
|
||||
podSelector:
|
||||
matchLabels:
|
||||
io.kompose.network/single-file-output-default: "true"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user