File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ apiVersion: v1
22kind : ReplicationController
33metadata :
44 name : deis-builder
5+ namespace : deis
56 labels :
67 heritage : deis
78spec :
@@ -15,21 +16,22 @@ spec:
1516 spec :
1617 containers :
1718 - name : deis-builder
18- imagePullPolicy : Always
1919 image : quay.io/deisci/builder:v2-beta
20+ imagePullPolicy : Always
2021 ports :
2122 - containerPort : 2223
23+ name : ssh
2224 - containerPort : 3000
25+ name : fetcher
2326 env :
24- - name : BUILDER_FETCHER_PORT
25- value : " 3000"
26- - name : BUILDER_SSH_HOST_IP
27- value : " 0.0.0.0"
28- - name : BUILDER_SSH_HOST_PORT
29- value : " 2223"
3027 - name : " EXTERNAL_PORT"
3128 value : " 2223"
32- - name : POD_NAMESPACE
29+ # This var needs to be passed so that the minio client (https://github.com/minio/mc) will work in Alpine linux
30+ - name : " DOCKERIMAGE"
31+ value : " 1"
32+ - name : " DEBUG"
33+ value : " true"
34+ - name : " POD_NAMESPACE"
3335 valueFrom :
3436 fieldRef :
3537 fieldPath : metadata.namespace
@@ -40,18 +42,10 @@ spec:
4042 - name : builder-key-auth
4143 mountPath : /var/run/secrets/api/auth
4244 readOnly : true
43- # not currently running minio with SSL support. see https://github.com/deis/minio/pull/22 for more detail
44- # - name: minio-ssl
45- # mountPath: /var/run/secrets/object/ssl
46- # readOnly: true
4745 volumes :
4846 - name : minio-user
4947 secret :
5048 secretName : minio-user
5149 - name : builder-key-auth
5250 secret :
5351 secretName : builder-key-auth
54- # not currently running minio with SSL support. see https://github.com/deis/minio/pull/22 for more detail
55- # - name: minio-ssl
56- # secret:
57- # secretName: minio-ssl
Original file line number Diff line number Diff line change @@ -2,17 +2,13 @@ apiVersion: v1
22kind : Service
33metadata :
44 name : deis-builder
5+ namespace : deis
56 labels :
67 heritage : deis
7- release : 2.0.0
88spec :
99 ports :
10- - port : 2222
10+ - name : ssh
11+ port : 2222
1112 targetPort : 2223
12- name : ssh
13- protocol : TCP
14- - port : 3000
15- name : fetcher
16- protocol : TCP
1713 selector :
1814 app : deis-builder
You can’t perform that action at this time.
0 commit comments