github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/porch/git-server.yaml (about) 1 apiVersion: v1 2 kind: Namespace 3 metadata: 4 name: test-git-namespace 5 --- 6 apiVersion: apps/v1 7 kind: Deployment 8 metadata: 9 name: git-server 10 namespace: test-git-namespace 11 spec: 12 replicas: 1 13 selector: 14 matchLabels: 15 app: git-server 16 template: 17 metadata: 18 labels: 19 app: git-server 20 spec: 21 containers: 22 - name: git-server 23 image: GIT_SERVER_IMAGE 24 ports: 25 - containerPort: 8080 26 protocol: TCP 27 --- 28 apiVersion: v1 29 kind: Service 30 metadata: 31 name: git-server 32 namespace: test-git-namespace 33 spec: 34 selector: 35 app: git-server 36 ports: 37 - protocol: TCP 38 port: 8080 39 targetPort: 8080