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 31
31
fieldPath : metadata.namespace
32
32
- name : CSDP_URL
33
33
value : {{ .Values.csdpInstaller.platform.url | quote }}
34
- - name : CSDP_TOKEN
34
+ - name : CSDP_RUNTIME_TOKEN
35
35
valueFrom :
36
36
secretKeyRef :
37
37
{{ .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() {
86
86
87
87
RUNTIME_CREATE_RESPONSE=` curl " ${CSDP_URL} /2.0/api/graphql" \
88
88
-SsfL \
89
- -H " Authorization: ${CSDP_TOKEN } " \
89
+ -H " Authorization: ${CSDP_RUNTIME_TOKEN } " \
90
90
-H ' content-type: application/json' \
91
91
--compressed \
92
92
--insecure \
@@ -240,7 +240,7 @@ create_git_integration() {
240
240
241
241
GIT_INTEGRATION_CREATE_RESPONSE=` curl " ${CSDP_RUNTIME_INGRESS_URL} /app-proxy/api/graphql" \
242
242
-SsfL \
243
- -H " Authorization: ${CSDP_TOKEN } " \
243
+ -H " Authorization: ${CSDP_RUNTIME_TOKEN } " \
244
244
-H ' content-type: application/json' \
245
245
--compressed \
246
246
--insecure \
@@ -264,7 +264,7 @@ register_to_git_integration() {
264
264
265
265
GIT_INTEGRATION_REGISTER_RESPONSE=` curl " ${CSDP_RUNTIME_INGRESS_URL} /app-proxy/api/graphql" \
266
266
-SsfL \
267
- -H " Authorization: ${CSDP_TOKEN } " \
267
+ -H " Authorization: ${CSDP_RUNTIME_TOKEN } " \
268
268
-H ' content-type: application/json' \
269
269
--compressed \
270
270
--insecure \
@@ -296,7 +296,7 @@ create_default_git_source() {
296
296
297
297
GIT_SOURCE_CREATE_RESPONSE=` curl " ${CSDP_RUNTIME_INGRESS_URL} /app-proxy/api/graphql" \
298
298
-SsfL \
299
- -H " Authorization: ${CSDP_TOKEN } " \
299
+ -H " Authorization: ${CSDP_RUNTIME_TOKEN } " \
300
300
-H ' content-type: application/json' \
301
301
--compressed \
302
302
--insecure \
Original file line number Diff line number Diff line change 31
31
secretKeyRef :
32
32
name : csdp-installer
33
33
key : csdp.url
34
- - name : CSDP_TOKEN
34
+ - name : CSDP_RUNTIME_TOKEN
35
35
valueFrom :
36
36
secretKeyRef :
37
37
name : csdp-installer
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : csdp-installer
5
5
stringData :
6
6
csdp.url : <CSDP_URL>
7
- csdp.token : <CSDP_TOKEN >
7
+ csdp.token : <CSDP_RUNTIME_TOKEN >
8
8
runtime.name : <RUNTIME_NAME>
9
9
runtime.repo : <RUNTIME_REPO>
10
10
runtime.gitToken : <RUNTIME_GIT_TOKEN>
You can’t perform that action at this time.
0 commit comments