File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 41
41
type : string
42
42
- name : ENABLE_INDY_PROXY
43
43
type : string
44
+ - name : INDY_PROXY_CLIENT_ID
45
+ type : string
46
+ - name : INDY_PROXY_CLIENT_CREDENTIAL
47
+ type : string
44
48
- name : JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
45
49
type : string
46
50
- name : NOTIFICATION_CONTEXT
@@ -125,6 +129,10 @@ spec:
125
129
value : $(params.caTrustConfigMapName)
126
130
- name : ENABLE_INDY_PROXY
127
131
value : $(params.ENABLE_INDY_PROXY)
132
+ - name : INDY_PROXY_CLIENT_ID
133
+ value : $(params.INDY_PROXY_CLIENT_ID)
134
+ - name : INDY_PROXY_CLIENT_CREDENTIAL
135
+ value : $(params.INDY_PROXY_CLIENT_CREDENTIAL)
128
136
- name : BUILD_ARGS # TODO this should be baked in the OCI source image only a ACCESS_TOKEN should be passed
129
137
value :
130
138
- PROXY_URL=$(params.MVN_REPO_DEPENDENCIES_URL)
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ Adds Domain Proxy to the build:
18
18
19
19
### Indy Sidecar
20
20
Adds Indy configuration to the build:
21
- * https://github.com/redhat-appstudio/jvm-build-service/blob/main/deploy/tasks/buildah-oci-ta.yaml#L190-L193
22
- * https://github.com/redhat-appstudio/jvm-build-service/blob/main/deploy/tasks/buildah-oci-ta.yaml#L226-L236
23
- * https://github.com/redhat-appstudio/jvm-build-service/blob/main/deploy/tasks/buildah-oci-ta.yaml#L864-L884
21
+ * https://github.com/redhat-appstudio/jvm-build-service/blob/main/deploy/tasks/buildah-oci-ta.yaml#L190-L201
22
+ * https://github.com/redhat-appstudio/jvm-build-service/blob/main/deploy/tasks/buildah-oci-ta.yaml#L234-L244
23
+ * https://github.com/redhat-appstudio/jvm-build-service/blob/main/deploy/tasks/buildah-oci-ta.yaml#L872-L894
24
24
25
25
26
26
### Trusted CA
Original file line number Diff line number Diff line change @@ -191,6 +191,14 @@ spec:
191
191
type : string
192
192
description : Enable the indy generic proxy (true/false)
193
193
default : " false"
194
+ - name : INDY_PROXY_CLIENT_ID
195
+ type : string
196
+ description : The client ID used by indy proxy to communicate with Indy.
197
+ default : " "
198
+ - name : INDY_PROXY_CLIENT_CREDENTIAL
199
+ type : string
200
+ description : The client credential used by indy proxy to communicate with Indy.
201
+ default : " "
194
202
results :
195
203
- name : IMAGE_DIGEST
196
204
description : Digest of the image just built
@@ -880,5 +888,7 @@ spec:
880
888
memory : 512Mi
881
889
script : |
882
890
if [ "$(params.ENABLE_INDY_PROXY)" == "true" ]; then
883
- /usr/local/bin/dumb-init /deployment/start-service.sh
891
+ export QUARKUS_OIDC_CLIENT_CLIENT_ID="$(params.INDY_PROXY_CLIENT_ID)"
892
+ export QUARKUS_OIDC_CLIENT_CREDENTIALS_SECRET="$(params.INDY_PROXY_CLIENT_CREDENTIAL)"
893
+ /deployment/start-service.sh
884
894
fi
You can’t perform that action at this time.
0 commit comments