File tree 7 files changed +8
-30
lines changed
common/infra/bicep/core/host
projects/nodejs-mongo-aks
7 files changed +8
-30
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ param location string = resourceGroup().location
12
12
param tags object = {}
13
13
14
14
@description ('Kubernetes Version' )
15
- param kubernetesVersion string
15
+ param kubernetesVersion string = '1.28'
16
16
17
17
@description ('The DNS prefix to associate with the AKS cluster' )
18
18
param dnsPrefix string = ''
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ param location string = resourceGroup().location
12
12
param tags object = {}
13
13
14
14
@description ('Kubernetes Version' )
15
- param kubernetesVersion string = '1.28.9 '
15
+ param kubernetesVersion string = '1.28'
16
16
17
17
@description ('Whether RBAC is enabled for local accounts' )
18
18
param enableRbac bool = true
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ param principalId string = ''
101
101
param principalType string = 'User'
102
102
103
103
@description ('Kubernetes Version' )
104
- param kubernetesVersion string = '1.28.9 '
104
+ param kubernetesVersion string = '1.28'
105
105
106
106
@description ('The Tenant ID associated to the Azure Active Directory' )
107
107
param aadTenantId string = tenant ().tenantId
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ services:
21
21
prebuild :
22
22
windows :
23
23
shell : pwsh
24
- run : ' echo "VITE_API_BASE_URL=""$env:API_BASE_URL """ > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=""$env:APPLICATIONINSIGHTS_CONNECTION_STRING""" >> .env.local'
24
+ run : ' echo "VITE_API_BASE_URL=""$env:SERVICE_API_ENDPOINT_URL """ > .env.local ; echo "VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=""$env:APPLICATIONINSIGHTS_CONNECTION_STRING""" >> .env.local'
25
25
posix :
26
26
shell : sh
27
- run : ' echo VITE_API_BASE_URL=\"$API_BASE_URL \" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local'
27
+ run : ' echo VITE_API_BASE_URL=\"$SERVICE_API_ENDPOINT_URL \" > .env.local && echo VITE_APPLICATIONINSIGHTS_CONNECTION_STRING=\"$APPLICATIONINSIGHTS_CONNECTION_STRING\" >> .env.local'
28
28
postbuild :
29
29
windows :
30
30
shell : pwsh
@@ -38,12 +38,4 @@ services:
38
38
host : aks
39
39
k8s :
40
40
ingress :
41
- relativePath : api
42
- hooks :
43
- postdeploy :
44
- windows :
45
- shell : pwsh
46
- run : azd env set API_BASE_URL $env:SERVICE_API_ENDPOINT_URL
47
- posix :
48
- shell : sh
49
- run : azd env set API_BASE_URL ${SERVICE_API_ENDPOINT_URL}
41
+ relativePath : api
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 17
17
image : {{.Env.SERVICE_WEB_IMAGE_NAME}}
18
18
ports :
19
19
- containerPort : 3000
20
- env :
21
- - name : VITE_API_BASE_URL
22
- value : /api
23
- - name : VITE_APPLICATIONINSIGHTS_CONNECTION_STRING
24
- valueFrom :
25
- configMapKeyRef :
26
- name : todo-web-config
27
- key : VITE_APPLICATIONINSIGHTS_CONNECTION_STRING
28
- optional : false
20
+
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " todo-vite-node-mongo-aca " ,
2
+ "name" : " todo-vite-node-mongo" ,
3
3
"private" : true ,
4
4
"version" : " 0.0.0" ,
5
5
"type" : " module" ,
You can’t perform that action at this time.
0 commit comments