github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/test/integration/config/prow/cluster/fakegcsserver.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 namespace: default 5 name: fakegcsserver 6 labels: 7 app: fakegcsserver 8 spec: 9 selector: 10 matchLabels: 11 app: fakegcsserver 12 replicas: 1 13 template: 14 metadata: 15 labels: 16 app: fakegcsserver 17 spec: 18 containers: 19 - name: fakegcsserver 20 image: localhost:5001/fakegcsserver 21 args: 22 - --config-path=/etc/config/config.yaml 23 ports: 24 - containerPort: 8888 25 volumeMounts: 26 - name: config 27 mountPath: /etc/config 28 readOnly: true 29 volumes: 30 - name: config 31 configMap: 32 name: config 33 --- 34 apiVersion: v1 35 kind: Service 36 metadata: 37 labels: 38 app: fakegcsserver 39 namespace: default 40 name: fakegcsserver 41 spec: 42 ports: 43 - name: main 44 port: 80 45 targetPort: 8888 46 protocol: TCP 47 selector: 48 app: fakegcsserver 49 type: ClusterIP