Skip to content

Commit

Permalink
Merge pull request #10057 from stubenhuang/release-2.0-10056
Browse files Browse the repository at this point in the history
feat: 初始化bkrepo可以修改httpSchema #10056
  • Loading branch information
mingshewhe authored Mar 4, 2024
2 parents 2beeb7a + 6bd61c2 commit 1c211c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/init/init.bkrepo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ spec:
done
echo "{{ include "bkci.names.fullname" . }}-$service is available";
done
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'X-DEVOPS-UID: admin' -d '{"showProjectList": true,"showNav": true,"status": "ok","deleted": false,"iframeUrl": "http://{{ .Values.config.bkRepoHost }}/ui/"}' "http://{{ include "bkci.names.fullname" . }}-project.{{ .Release.Namespace }}/api/op/services/update/Repo"
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'X-DEVOPS-UID: admin' -d '{"showProjectList": true,"showNav": true,"status": "ok","deleted": false,"iframeUrl": "{{ .Values.config.bkHttpSchema }}://{{ .Values.config.bkRepoHost }}/ui/"}' "http://{{ include "bkci.names.fullname" . }}-project.{{ .Release.Namespace }}/api/op/services/update/Repo"
restartPolicy: Never
{{- end -}}
{{- end -}}

0 comments on commit 1c211c0

Please sign in to comment.