mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Remove secure socks proxy feature toggle (#66611)
This commit is contained in:
committed by
GitHub
parent
743fdc159b
commit
255d8f3326
@@ -216,6 +216,7 @@ export interface GrafanaConfig {
|
||||
feedbackLinksEnabled: boolean;
|
||||
secretsManagerPluginEnabled: boolean;
|
||||
supportBundlesEnabled: boolean;
|
||||
secureSocksDSProxyEnabled: boolean;
|
||||
googleAnalyticsId: string | undefined;
|
||||
googleAnalytics4Id: string | undefined;
|
||||
googleAnalytics4SendManualPageViews: boolean;
|
||||
|
||||
@@ -64,7 +64,6 @@ export interface FeatureToggles {
|
||||
showTraceId?: boolean;
|
||||
datasourceOnboarding?: boolean;
|
||||
emptyDashboardPage?: boolean;
|
||||
secureSocksDatasourceProxy?: boolean;
|
||||
authnService?: boolean;
|
||||
disablePrometheusExemplarSampling?: boolean;
|
||||
alertingBacktesting?: boolean;
|
||||
|
||||
@@ -67,6 +67,7 @@ export class GrafanaBootConfig implements GrafanaConfig {
|
||||
jwtUrlLogin = false;
|
||||
sigV4AuthEnabled = false;
|
||||
azureAuthEnabled = false;
|
||||
secureSocksDSProxyEnabled = false;
|
||||
samlEnabled = false;
|
||||
samlName = '';
|
||||
autoAssignOrg = true;
|
||||
|
||||
@@ -17,6 +17,7 @@ import { TagsInput } from '../TagsInput/TagsInput';
|
||||
import { BasicAuthSettings } from './BasicAuthSettings';
|
||||
import { CustomHeadersSettings } from './CustomHeadersSettings';
|
||||
import { HttpProxySettings } from './HttpProxySettings';
|
||||
import { SecureSocksProxySettings } from './SecureSocksProxySettings';
|
||||
import { TLSAuthSettings } from './TLSAuthSettings';
|
||||
import { HttpSettingsProps } from './types';
|
||||
|
||||
@@ -71,6 +72,7 @@ export const DataSourceHttpSettings = (props: HttpSettingsProps) => {
|
||||
showForwardOAuthIdentityOption,
|
||||
azureAuthSettings,
|
||||
renderSigV4Editor,
|
||||
secureSocksDSProxyEnabled,
|
||||
} = props;
|
||||
let urlTooltip;
|
||||
const [isAccessHelpVisible, setIsAccessHelpVisible] = useState(false);
|
||||
@@ -308,6 +310,7 @@ export const DataSourceHttpSettings = (props: HttpSettingsProps) => {
|
||||
<CustomHeadersSettings dataSourceConfig={dataSourceConfig} onChange={onChange} />
|
||||
)}
|
||||
</>
|
||||
{secureSocksDSProxyEnabled && <SecureSocksProxySettings options={dataSourceConfig} onOptionsChange={onChange} />}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -39,4 +39,6 @@ export interface HttpSettingsProps extends HttpSettingsBaseProps {
|
||||
azureAuthSettings?: AzureAuthSettings;
|
||||
/** If SIGV4 is enabled, provide an editor for SIGV4 connection config **/
|
||||
renderSigV4Editor?: React.ReactNode;
|
||||
/** Show the Secure Socks Datasource Proxy toggle option */
|
||||
secureSocksDSProxyEnabled?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user