mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
MySQL: make it possible to add CA cert without using tlsAuth (#58226)
This commit is contained in:
@@ -128,10 +128,11 @@ export const ConfigurationEditor = (props: DataSourcePluginOptionsEditorProps<My
|
||||
</InlineField>
|
||||
</FieldSet>
|
||||
|
||||
{options.jsonData.tlsAuth ? (
|
||||
{jsonData.tlsAuth || jsonData.tlsAuthWithCACert ? (
|
||||
<FieldSet label="TLS/SSL Auth Details">
|
||||
<TLSSecretsConfig
|
||||
showCACert={jsonData.tlsAuthWithCACert}
|
||||
showKeyPair={jsonData.tlsAuth}
|
||||
editorProps={props}
|
||||
labelWidth={25}
|
||||
></TLSSecretsConfig>
|
||||
|
||||
Reference in New Issue
Block a user