Skip to content

Commit

Permalink
fix(proxy): do not pass unused credentials upstream (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Jun 4, 2024
1 parent 374c576 commit 0832d98
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,9 @@ func NewOpenShiftAuthProxyContainer(cr *model.CryostatInstance, specs *ServiceSp
}

args := []string{
"--pass-access-token=false",
"--pass-user-bearer-token=false",
"--pass-basic-auth=false",
fmt.Sprintf("--upstream=http://localhost:%d/", constants.CryostatHTTPContainerPort),
fmt.Sprintf("--upstream=http://localhost:%d/grafana/", constants.GrafanaContainerPort),
fmt.Sprintf("--upstream=http://localhost:%d/storage/", constants.StoragePort),
Expand Down

0 comments on commit 0832d98

Please sign in to comment.