forked from Azure-Samples/cargotracker-liberty-aks
-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure.yaml
42 lines (40 loc) · 1.41 KB
/
azure.yaml
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
41
42
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: cargotracker-liberty-aks-demo
metadata:
template: [email protected]
hooks:
preprovision:
posix:
shell: sh
continueOnError: false
interactive: true
run: azd-hooks/preprovision.sh
postprovision:
posix:
shell: sh
continueOnError: false
interactive: true
run: azd-hooks/postprovision.sh
predeploy: # This hook is executed before the deployment of the application to create the custom-values.yaml file
posix:
shell: sh
continueOnError: false
interactive: true
run: azd-hooks/predeploy.sh
postdeploy: # This hook is executed after the deployment of the application to create the custom-values.yaml file
posix:
shell: sh
continueOnError: false
interactive: true
run: azd-hooks/postdeploy.sh
services:
demo:
host: aks
k8s:
namespace: default
helm:
releases:
- name: demo
chart: cargotracker-liberty-aks/cargotracker-liberty-aks-chart
version: 1.0.8
values: custom-values.yaml # This file is created by the predeploy hook