further changes to incorporate traefik
This commit is contained in:
Коммит
fd25d632a7
|
@ -55,7 +55,8 @@ export default function ({ tabValues, updateFn, featureFlag, invalidArray }) {
|
|||
{ key: 'appgw', text: 'Azure Application Gateway Ingress Controller add-on (https://azure.github.io/application-gateway-kubernetes-ingress)' },
|
||||
{ key: 'warNginx', text: 'AKS Web App Routing Solution, simple Nginx Ingress Controller (https://docs.microsoft.com/en-us/azure/aks/web-app-routing *preview)' },
|
||||
{ key: 'contour', text: 'Contour (https://projectcontour.io/)' },
|
||||
{ key: 'nginx', text: 'Nginx ingress controller' }
|
||||
{ key: 'nginx', text: 'Nginx ingress controller' },
|
||||
{ key: 'traefik', text: 'Traefik ingress controller' }
|
||||
]}
|
||||
onChange={(ev, { key }) => updateFn("ingress", key)}
|
||||
/>
|
||||
|
@ -153,7 +154,7 @@ export default function ({ tabValues, updateFn, featureFlag, invalidArray }) {
|
|||
</>)
|
||||
}
|
||||
|
||||
{(addons.ingress === "contour" || addons.ingress === "nginx" || addons.ingress === "appgw") &&
|
||||
{(addons.ingress === "contour" || addons.ingress === "nginx" || addons.ingress === "appgw" || addons.ingress === "traefik") &&
|
||||
<>
|
||||
<MessageBar messageBarType={MessageBarType.warning}>Using a in-cluster ingress option with Azure Firewall will require additional asymmetric routing configuration post-deployment, please see <Link target="_target" href="https://docs.microsoft.com/azure/aks/limit-egress-traffic#add-a-dnat-rule-to-azure-firewall">Add a DNAT rule to Azure Firewall </Link></MessageBar>
|
||||
<Checkbox inputProps={{ "data-testid": "addons-dns"}} checked={addons.dns} onChange={(ev, v) => updateFn("dns", v)} label={
|
||||
|
|
|
@ -137,7 +137,7 @@ export default function DeployTab({ defaults, updateFn, tabValues, invalidArray,
|
|||
...(addons.networkPolicy !== 'none' && addons.denydefaultNetworkPolicy && { denydefaultNetworkPolicy: addons.denydefaultNetworkPolicy}),
|
||||
...(addons.ingress !== "none" && {
|
||||
|
||||
...((addons.ingress === "contour" || addons.ingress === "nginx") && {
|
||||
...((addons.ingress === "contour" || addons.ingress === "nginx" || addons.ingress === "traefik") && {
|
||||
ingress: addons.ingress,
|
||||
...(addons.ingressEveryNode && { ingressEveryNode: addons.ingressEveryNode})
|
||||
}),
|
||||
|
@ -156,7 +156,7 @@ export default function DeployTab({ defaults, updateFn, tabValues, invalidArray,
|
|||
}),
|
||||
...(addons.monitor === "oss" && {
|
||||
monitor: addons.monitor,
|
||||
...(addons.ingress === "appgw" || addons.ingress === "contour" || addons.ingress === "nginx" && {
|
||||
...(addons.ingress === "appgw" || addons.ingress === "contour" || addons.ingress === "nginx" || addons.ingress === "traefik" && {
|
||||
ingress: addons.ingress,
|
||||
...(addons.enableMonitorIngress && { enableMonitorIngress: addons.enableMonitorIngress})
|
||||
})
|
||||
|
|
Загрузка…
Ссылка в новой задаче