File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,10 @@ spec:
187187 description : The HTTP port to use for the domain proxy.
188188 type : string
189189 default : 8080
190+ - name : ENABLE_INDY_PROXY
191+ type : string
192+ description : Enable the indy generic proxy (true/false)
193+ default : " false"
190194 results :
191195 - name : IMAGE_DIGEST
192196 description : Digest of the image just built
@@ -219,6 +223,17 @@ spec:
219223 secretName : $(params.ENTITLEMENT_SECRET)
220224 - name : shared
221225 emptyDir : {}
226+ - name : indy-generic-proxy-stage-secrets
227+ secret :
228+ optional : true
229+ secretName : indy-generic-proxy-secrets
230+ - name : indy-generic-proxy-stage-config
231+ configMap :
232+ items :
233+ - key : application.yaml
234+ path : application.yaml
235+ name : indy-generic-proxy-stage-config
236+ optional : true
222237 - name : trusted-ca
223238 configMap :
224239 items :
@@ -840,3 +855,24 @@ spec:
840855 requests :
841856 cpu : 100m
842857 memory : 256Mi
858+ sidecars :
859+ - name : indy-generic-proxy
860+ image : quay.io/factory2/indy-generic-proxy-service:latest-stage-mpplus
861+ volumeMounts :
862+ - name : indy-generic-proxy-stage-secrets
863+ readOnly : true
864+ mountPath : /mnt/secrets-generic-proxy
865+ - name : indy-generic-proxy-stage-config
866+ readOnly : true
867+ mountPath : /deployment/config
868+ computeResources :
869+ limits :
870+ cpu : 1
871+ memory : 2Gi
872+ requests :
873+ cpu : 200m
874+ memory : 512Mi
875+ script : |
876+ if [ "$(params.ENABLE_INDY_PROXY)" == "true" ]; then
877+ /usr/local/bin/dumb-init /deployment/start-service.sh
878+ fi
You can’t perform that action at this time.
0 commit comments