As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit e62ca9cd authored by Igor Drozdov's avatar Igor Drozdov
Browse files

Remove Gitlab-Shared-Secret reference that is no longer used

parent c81ce7d5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -258,12 +258,6 @@ func buildRequests(t *testing.T, relativeURLRoot string) []testserver.TestReques
fmt.Fprint(w, "Echo: "+string(b))
},
},
{
Path: "/api/v4/internal/auth",
Handler: func(w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, r.Header.Get(secretHeaderName))
},
},
{
Path: "/api/v4/internal/jwt_auth",
Handler: func(w http.ResponseWriter, r *http.Request) {
Loading
Loading
Loading
Loading
@@ -16,7 +16,6 @@ import (
const (
internalApiPath = "/api/v4/internal"
secretHeaderName = "Gitlab-Shared-Secret"
apiSecretHeaderName = "Gitlab-Shell-Api-Request"
defaultUserAgent = "GitLab-Shell"
jwtTTL = time.Minute
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment