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:
187
187
description : The HTTP port to use for the domain proxy.
188
188
type : string
189
189
default : 8080
190
+ - name : ENABLE_INDY_PROXY
191
+ type : string
192
+ description : Enable the indy generic proxy (true/false)
193
+ default : " false"
190
194
results :
191
195
- name : IMAGE_DIGEST
192
196
description : Digest of the image just built
@@ -219,6 +223,17 @@ spec:
219
223
secretName : $(params.ENTITLEMENT_SECRET)
220
224
- name : shared
221
225
emptyDir : {}
226
+ - name : indy-generic-proxy-secrets
227
+ secret :
228
+ optional : true
229
+ secretName : indy-generic-proxy-secrets
230
+ - name : indy-generic-proxy-config
231
+ configMap :
232
+ items :
233
+ - key : application.yaml
234
+ path : application.yaml
235
+ name : indy-generic-proxy-config
236
+ optional : true
222
237
- name : trusted-ca
223
238
configMap :
224
239
items :
@@ -840,3 +855,24 @@ spec:
840
855
requests :
841
856
cpu : 100m
842
857
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-secrets
863
+ readOnly : true
864
+ mountPath : /mnt/secrets-generic-proxy
865
+ - name : indy-generic-proxy-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