mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
K8s: enable insecure to skip server cert validation for now (#84038)
This commit is contained in:
parent
6c5e94095d
commit
da327ce807
@ -146,7 +146,10 @@ func CreateAggregatorConfig(commandOptions *options.Options, sharedConfig generi
|
|||||||
}
|
}
|
||||||
|
|
||||||
remoteServicesConfig := &RemoteServicesConfig{
|
remoteServicesConfig := &RemoteServicesConfig{
|
||||||
InsecureSkipTLSVerify: commandOptions.ExtraOptions.DevMode,
|
// TODO: in practice, we should only use the insecure flag when commandOptions.ExtraOptions.DevMode == true
|
||||||
|
// But given the bug in K8s, we are forced to set it to true until the below PR is merged and available
|
||||||
|
// https://github.com/kubernetes/kubernetes/pull/123808
|
||||||
|
InsecureSkipTLSVerify: true,
|
||||||
ExternalNamesNamespace: externalNamesNamespace,
|
ExternalNamesNamespace: externalNamesNamespace,
|
||||||
CABundle: caBundlePEM,
|
CABundle: caBundlePEM,
|
||||||
Services: remoteServices,
|
Services: remoteServices,
|
||||||
|
Loading…
Reference in New Issue
Block a user