2018-08-29 11:27:03 +02:00

43 lines
1.0 KiB
YAML

kind: helm-release
apiVersion: 1.0
build:
context: ..\..\..\
dockerfile: Dockerfile
install:
chart: ../../../k8s/helm/webmvc
values:
- values.dev.yaml?
- secrets.dev.yaml?
- inf.yaml
- app.yaml
set:
replicaCount: 1
image:
tag: $(tag)
pullPolicy: Never
inf:
k8s:
dns: "$(spacePrefix)webmvc$(hostSuffix)"
ingress:
hosts:
# This expands to [space.s.]webmvc.<guid>.<region>.aksapp.io
- $(spacePrefix)webmvc$(hostSuffix)
configurations:
develop:
build:
dockerfile: Dockerfile.develop
useGitIgnore: true
args:
BUILD_CONFIGURATION: ${BUILD_CONFIGURATION:-Debug}
container:
sync:
- "**/Pages/**"
- "**/Views/**"
- "**/wwwroot/**"
- "!**/*.{sln,csproj}"
command: [dotnet, run, --no-restore, --no-build, --no-launch-profile, -c, "${BUILD_CONFIGURATION:-Debug}"]
iterate:
processesToKill: [dotnet, vsdbg]
buildCommands:
- [dotnet, build, --no-restore, -c, "${BUILD_CONFIGURATION:-Debug}"]