2018-10-01 17:32:53 +02:00

42 lines
1.0 KiB
YAML

kind: helm-release
apiVersion: 1.0
build:
context: ..\..\..\..
dockerfile: Dockerfile
install:
chart: ../../../../k8s/helm/apigwms
values:
- values.dev.yaml?
- secrets.dev.yaml?
- ..\..\..\..\k8s\helm\app.yaml
- ..\..\..\..\k8s\helm\inf.yaml
set:
image:
tag: $(tag)
pullPolicy: Never
inf:
k8s:
dns: "$(spacePrefix)apigwms$(hostSuffix)"
disableProbes: true
ingress:
hosts:
# This expands to [space.s.]apigwms.<guid>.<region>.aksapp.io
- $(spacePrefix)apigwms$(hostSuffix)
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, vsdbg]
buildCommands:
- [dotnet, build, --no-restore, -c, "${Configuration:-Debug}"]