File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3131 fieldPath : metadata.namespace
3232 - name : CSDP_URL
3333 value : {{ .Values.csdpInstaller.platform.url | quote }}
34- - name : CSDP_TOKEN
34+ - name : CSDP_RUNTIME_TOKEN
3535 valueFrom :
3636 secretKeyRef :
3737{{ .Values.csdpInstaller.platform.token.secretKeyRef | toYaml | indent 18 }}
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ create_codefresh_secret() {
8686
8787 RUNTIME_CREATE_RESPONSE=` curl " ${CSDP_URL} /2.0/api/graphql" \
8888 -SsfL \
89- -H " Authorization: ${CSDP_TOKEN } " \
89+ -H " Authorization: ${CSDP_RUNTIME_TOKEN } " \
9090 -H ' content-type: application/json' \
9191 --compressed \
9292 --insecure \
@@ -240,7 +240,7 @@ create_git_integration() {
240240
241241 GIT_INTEGRATION_CREATE_RESPONSE=` curl " ${CSDP_RUNTIME_INGRESS_URL} /app-proxy/api/graphql" \
242242 -SsfL \
243- -H " Authorization: ${CSDP_TOKEN } " \
243+ -H " Authorization: ${CSDP_RUNTIME_TOKEN } " \
244244 -H ' content-type: application/json' \
245245 --compressed \
246246 --insecure \
@@ -264,7 +264,7 @@ register_to_git_integration() {
264264
265265 GIT_INTEGRATION_REGISTER_RESPONSE=` curl " ${CSDP_RUNTIME_INGRESS_URL} /app-proxy/api/graphql" \
266266 -SsfL \
267- -H " Authorization: ${CSDP_TOKEN } " \
267+ -H " Authorization: ${CSDP_RUNTIME_TOKEN } " \
268268 -H ' content-type: application/json' \
269269 --compressed \
270270 --insecure \
@@ -296,7 +296,7 @@ create_default_git_source() {
296296
297297 GIT_SOURCE_CREATE_RESPONSE=` curl " ${CSDP_RUNTIME_INGRESS_URL} /app-proxy/api/graphql" \
298298 -SsfL \
299- -H " Authorization: ${CSDP_TOKEN } " \
299+ -H " Authorization: ${CSDP_RUNTIME_TOKEN } " \
300300 -H ' content-type: application/json' \
301301 --compressed \
302302 --insecure \
Original file line number Diff line number Diff line change 3131 secretKeyRef :
3232 name : csdp-installer
3333 key : csdp.url
34- - name : CSDP_TOKEN
34+ - name : CSDP_RUNTIME_TOKEN
3535 valueFrom :
3636 secretKeyRef :
3737 name : csdp-installer
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
44 name : csdp-installer
55stringData :
66 csdp.url : <CSDP_URL>
7- csdp.token : <CSDP_TOKEN >
7+ csdp.token : <CSDP_RUNTIME_TOKEN >
88 runtime.name : <RUNTIME_NAME>
99 runtime.repo : <RUNTIME_REPO>
1010 runtime.gitToken : <RUNTIME_GIT_TOKEN>
You can’t perform that action at this time.
0 commit comments