Skip to content

Commit ecda8fa

Browse files
fixes
1 parent ef6bae3 commit ecda8fa

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

installer/helm/templates/installer/job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
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 }}

installer/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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 \

installer/kustomize/csdp-installer.job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
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

installer/kustomize/csdp-installer.secret.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: csdp-installer
55
stringData:
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>

0 commit comments

Comments
 (0)