-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.garden.yml
40 lines (39 loc) · 922 Bytes
/
project.garden.yml
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: Project
name: project-0
dotIgnoreFiles:
- .gardenignore
modules:
include:
- app.garden.yml
- backend.Dockerfile
- test.js
environments:
- name: dev
variables:
targetImage: development
dockerfileName: backend.Dockerfile
providers:
- name: kubernetes
namespace: my-namespace
environments: [dev]
buildMode: cluster-buildkit
clusterBuildkit:
cache:
- type: registry
registry:
hostname: registry.azurecr.io
namespace: buildcache${slice(kebabCase(replace(git.branch, "/", "")), "0", "10")}
resources:
builder:
limits:
memory: 2000
cpu: 2000
context: my-context
setupIngressController: nginx
deploymentRegistry:
hostname: registry.azurecr.io
namespace: my-namespace
imagePullSecrets:
- name: secret
namespace: default
defaultEnvironment: dev