Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s2i build image token issue #168

Open
KevinLiangX opened this issue Apr 22, 2022 · 0 comments
Open

s2i build image token issue #168

KevinLiangX opened this issue Apr 22, 2022 · 0 comments

Comments

@KevinLiangX
Copy link

hello all

start to set the s2i to build the image and ,set the token in this process. and we see it just add the path url in the remote webhook url.as below:
http://s2ioperator-trigger-service.kubesphere-devops-system.svc:8081/s2itrigger/v1alpha1/general/namespaces/gitlab/s2ibuilders/s21-python-latest-jpx/?secretCode=123456789

and in the gitlab we also find in the webhook , it also has the secret token in the page
image

however , maybe it not same function . gitlab will put the secret in the X-Gitlab-Token HTTP header. not in the url path 。
so , if it will be update to match the gitlab secret token function .

use the token in the process. it just put the token in the url and gitlab also need to add the full url in the webhook with token .
it‘not different without token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant