operator
operator copied to clipboard
refactor auth options for components
trafficstars
Unify auth options with HTTPAuth. Check the following:
- Check basicAuth correctly uses passwordFile option.
- OAuth2 - adds it for remote options
- bearerToken - add for remote options
@f41gh7 I'd like to divide this into following tasks:
- [x] unify
oauth2field tag with "oauth2" Will introduce breaking change in vmalert config, now using "OAuth2". - [x] modify
TokenFilePathunder BearerAuth with "bearerTokenFile", the same with others under scrape objects. Will introduce breaking change in vmalert config, now using "bearerTokenFilePath". - [ ] unify/implement HTTPAuth for vmagent.remoteWriteSpec, scrape objects... Shouldn't introduce any breaking change to user.
@Haleygo could you please update me on the state of this ticket?