Skip to content

Commit

Permalink
feat: 初始化bkrepo可以修改httpSchema #10056
Browse files Browse the repository at this point in the history
  • Loading branch information
stubenhuang committed Mar 4, 2024
1 parent 2beeb7a commit 6bd61c2
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 6bd61c2

Please sign in to comment.