Skip to content

[vtadmin-web] Add vtadmin-web build flag for configuring fetch credentials#7414

Merged
rohit-nayak-ps merged 1 commit intovitessio:masterfrom
tinyspeck:sarabee-vtadmin-fetch-credentials
Feb 1, 2021
Merged

[vtadmin-web] Add vtadmin-web build flag for configuring fetch credentials#7414
rohit-nayak-ps merged 1 commit intovitessio:masterfrom
tinyspeck:sarabee-vtadmin-fetch-credentials

Conversation

@doeg
Copy link
Contributor

@doeg doeg commented Jan 30, 2021

Signed-off-by: Sara Bee 855595+doeg@users.noreply.github.com

Description

As the title says, this adds a build flag for vtadmin-web to configure the fetch credentials property when making requests against vtadmin-api. This is useful for VTAdmin deployments that use cookie-based authentication.

I tested this out by deploying it internally. 🎉 Exciting!

(This PR is identical to #7413 modulo a small comment change. 🤔 I can't seem to re-open that PR against this same (downstream) branch, hence a new PR. Sorry about that!)

Related Issue(s)

N/A

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

N/A

Impacted Areas in Vitess

Components that this PR will affect:

  • Query Serving
  • VReplication
  • Cluster Management
  • Build/CI
  • VTAdmin

Signed-off-by: Sara Bee <855595+doeg@users.noreply.github.com>
Copy link
Contributor

@ajm188 ajm188 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg2m!

@rohit-nayak-ps rohit-nayak-ps merged commit 23ade31 into vitessio:master Feb 1, 2021
@askdba askdba added the Component: VTAdmin VTadmin interface label Feb 8, 2021
@askdba askdba added this to the v10.0 milestone Feb 8, 2021
@doeg doeg changed the title Add vtadmin-web build flag for configuring fetch credentials [vtadmin-web] Add vtadmin-web build flag for configuring fetch credentials Mar 16, 2021
@doeg doeg deleted the sarabee-vtadmin-fetch-credentials branch November 1, 2021 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: VTAdmin VTadmin interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants