File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ run_job:
20
20
-p CHES_CLIENT_SECRET=$(CHES_CLIENT_SECRET ) \
21
21
-p RECEPIENT=$(RECEPIENT ) \
22
22
-p NAME=$(NAME ) \
23
+ -p MAIL_SERVER=$(MAIL_SERVER ) \
24
+ -p CHES_TOKEN_URL=$(CHES_TOKEN_URL ) \
23
25
| oc -n $(NAMESPACE ) apply -f -
24
26
25
27
.PHONY : cleanup
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ if [ -d "$RESULTS_DIR" ]; then
20
20
if [ $? -eq 0 ]; then
21
21
echo " Folder '$RESULTS_DIR ' compressed successfully to '$ATTACHMENT_NAME '."
22
22
23
- echo " Getting access token from '$TOKEN_URL '."
23
+ echo " Getting access token from '$CHES_TOKEN_URL '."
24
24
25
25
# Get the access token
26
26
ACCESS_TOKEN=$( curl -X POST -H " Content-Type: application/x-www-form-urlencoded" -d " client_id=$CHES_CLIENT_ID " -d " client_secret=$CHES_CLIENT_SECRET " -d " grant_type=client_credentials" " $CHES_TOKEN_URL " | jq -r ' .access_token' )
Original file line number Diff line number Diff line change @@ -65,6 +65,12 @@ objects:
65
65
key : admin-password
66
66
- name : RECEPIENT
67
67
value : ${RECEPIENT}
68
+ - name : SCENARIO
69
+ value : ${SCENARIO}
70
+ - name : SERVER_URL
71
+ value : ${SERVER_URL}
72
+ - name : ADDITIONAL_CONFIG
73
+ value : ${ADDITIONAL_CONFIG}
68
74
restartPolicy : Never
69
75
metadata :
70
76
name : ${NAME}
You can’t perform that action at this time.
0 commit comments