Skip to content

Commit bd037e9

Browse files
committed
Adjusted logging, ingress file ignore
1 parent e2251f9 commit bd037e9

File tree

3 files changed

+5
-51
lines changed

3 files changed

+5
-51
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,4 @@ static/
153153
# Generated manifests
154154
app/backend/manifests/azd-env-configmap.yml
155155
deploy/aks/easyauth/config-output.md
156+
deploy/aks/easyauth/easyauth-ingress.yaml

deploy/aks/easyauth/easyauth-ingress.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

deploy/aks/scripts/easyauth.ps1

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ $easyauthIngressYaml = @"
136136
apiVersion: networking.k8s.io/v1
137137
kind: Ingress
138138
metadata:
139-
name: easyauth-ingress-default
139+
name: easyauth-ingress-router
140140
annotations:
141141
nginx.ingress.kubernetes.io/auth-url: "https://`$host/easyauth/auth"
142142
nginx.ingress.kubernetes.io/auth-signin: "https://`$host/easyauth/login"
@@ -187,30 +187,17 @@ EasyAuth for AKS has been configured successfully.
187187
The application is now available at:${homePage}
188188
189189
Configuration AD details:
190+
- App Host Name: $appHostName
190191
- Azure AD Application: $adAppName
191-
- Azure AD Application ID: $appId
192+
- Azure AD Application ID / Client ID: $appId
192193
- Azure AD Tenant ID: $azureTenantId
193194
- Client Secret: $clientSecret
194195
195196
Configuration AKS details:
196-
- Ingress Host: $ingressHost
197-
- App Host Name: $appHostName
198197
- AKS Cluster: $clusterName
199198
- Ingress IP: $ingressIP
200199
- Public IP Name: $ipName
201200
- Public AKS Resource Group: $nodeRG
202-
- TLS Secret Name: $tlsSecretName
203201
"@
204202

205-
Write-Host $easyAuthConfig
206-
207-
Start-Process "${homePage}"
208-
209-
210-
# Add annotation to ALL ingress
211-
# kubectl annotate ingress azure-open-ai/cm-acme-http-solver-s9fkg
212-
# with class webapprouting.kubernetes.azure.com
213-
# spec-->ingressClassName: webapprouting.kubernetes.azure.com
214-
# --> investigate http applicaton routing
215-
# --> ingresses do not map to the host (are not exposed)
216-
203+
Write-Host $easyAuthConfig

0 commit comments

Comments
 (0)