-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazds.yaml
More file actions
40 lines (40 loc) · 1.03 KB
/
azds.yaml
File metadata and controls
40 lines (40 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
kind: helm-release
apiVersion: 1.0
build:
context: .
dockerfile: Dockerfile
install:
chart: charts/mywebapi
values:
- values.dev.yaml?
- secrets.dev.yaml?
set:
image:
tag: $(tag)
pullPolicy: Never
disableProbes: true
# This ingress section specifies whether AZDS should expose
# an endpoint like http://mywebapi.<guid>.<region>.aksapp.io
ingress:
enabled: true
hosts:
- $(spacePrefix)mywebapi$(hostSuffix)
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
configurations:
develop:
build:
dockerfile: Dockerfile.develop
useGitIgnore: true
container:
syncTarget: /src
sync:
- "**/Pages/**"
- "**/Views/**"
- "**/wwwroot/**"
- "!**/*.{sln,csproj}"
command: [dotnet, run, --no-restore, --no-build, --no-launch-profile, -c, "${Configuration:-Debug}"]
iterate:
processesToKill: [dotnet]
buildCommands:
- [dotnet, build, --no-restore, -c, "${Configuration:-Debug}"]