40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
kind: helm-release
|
|
apiVersion: 1.0
|
|
build:
|
|
context: ../../../../
|
|
dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
|
|
install:
|
|
chart: ../../../../k8s/helm/marketing-api
|
|
values:
|
|
- values.dev.yaml?
|
|
- secrets.dev.yaml?
|
|
- ../../../../k8s/helm/app.yaml?
|
|
- ../../../../k8s/helm/inf.yaml?
|
|
set:
|
|
replicaCount: 1
|
|
image:
|
|
tag: $(tag)
|
|
pullPolicy: Never
|
|
ingress:
|
|
hosts:
|
|
# This expands to [space.s.]marketingapi.<guid>.<region>.aksapp.io
|
|
- $(spacePrefix)marketingapi$(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}"]
|