Added traefik to extra public ingress option

This commit is contained in:
Matthew Leach 2022-11-03 10:57:56 +00:00
Родитель a56ed623bc
Коммит 2a880cf3c1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -201,7 +201,7 @@ export default function ({ tabValues, updateFn, featureFlag, invalidArray }) {
/>
</Stack.Item>
{addons.monitor === 'oss' && (addons.ingress === "contour" || addons.ingress === "nginx" || addons.ingress === "appgw") && addons.dns && addons.certMan &&
{addons.monitor === 'oss' && (addons.ingress === "contour" || addons.ingress === "nginx" || addons.ingress === "appgw" || addons.ingress === "traefik") && addons.dns && addons.certMan &&
<Stack.Item align="center" styles={{ root: { maxWidth: '700px'}}}>
<MessageBar messageBarType={MessageBarType.warning}>This will expose your your grafana dashboards to the internet, please login and change the default credentials asap (admin/prom-operator)</MessageBar>
<Checkbox styles={{ root: { marginTop: '10px'}}} checked={addons.enableMonitorIngress} onChange={(ev, v) => updateFn("enableMonitorIngress", v)} label={`Enable Public Ingress for Grafana (https://grafana.${addons.dnsZoneId && addons.dnsZoneId.split('/')[8]})`} />