-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathskaffold.yaml
More file actions
117 lines (117 loc) · 3.62 KB
/
skaffold.yaml
File metadata and controls
117 lines (117 loc) · 3.62 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# nonk8s
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: devbot
build:
artifacts:
- image: ghcr.io/arikkfir/devbot/apply-job
docker:
dockerfile: build/Dockerfile.apply-job
buildArgs:
VERSION: v0.0.0+local
- image: ghcr.io/arikkfir/devbot/bake-job
docker:
dockerfile: build/Dockerfile.bake-job
buildArgs:
VERSION: v0.0.0+local
- image: ghcr.io/arikkfir/devbot/clone-job
docker:
dockerfile: build/Dockerfile.clone-job
buildArgs:
VERSION: v0.0.0+local
- image: ghcr.io/arikkfir/devbot/controller
docker:
dockerfile: build/Dockerfile.controller
buildArgs:
VERSION: v0.0.0+local
requires:
- image: ghcr.io/arikkfir/devbot/apply-job
alias: APPLY_JOB
- image: ghcr.io/arikkfir/devbot/bake-job
alias: BAKE_JOB
- image: ghcr.io/arikkfir/devbot/clone-job
alias: CLONE_JOB
- image: ghcr.io/arikkfir/devbot/webhooks
docker:
dockerfile: build/Dockerfile.webhooks
buildArgs:
VERSION: v0.0.0+local
local:
push: false
useBuildkit: true
concurrency: 0
deploy:
kubeContext: kind-devbot
helm:
releases:
- name: local-devbot
chartPath: ./deploy/chart
namespace: devbot
createNamespace: true
wait: true
setValueTemplates:
commitSHA: local
controller:
image:
repository: "{{.IMAGE_REPO_ghcr_io_arikkfir_devbot_controller}}"
tag: "{{.IMAGE_TAG_ghcr_io_arikkfir_devbot_controller}}@{{.IMAGE_DIGEST_ghcr_io_arikkfir_devbot_controller}}"
pullPolicy: Never # These images are only present locally, not remotely
extraEnv:
- name: DISABLE_JSON_LOGGING
value: "T"
- name: LOG_LEVEL
value: "trace"
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "http://otel-gateway.observability.svc:4318"
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: "http/protobuf"
resources:
requests:
cpu: 1000m
memory: 128Mi
limits:
cpu: 2000m
memory: 1Gi
webhooks:
image:
repository: "{{.IMAGE_REPO_ghcr_io_arikkfir_devbot_webhooks}}"
tag: "{{.IMAGE_TAG_ghcr_io_arikkfir_devbot_webhooks}}@{{.IMAGE_DIGEST_ghcr_io_arikkfir_devbot_webhooks}}"
pullPolicy: Never # These images are only present locally, not remotely
extraEnv:
- name: DISABLE_JSON_LOGGING
value: "T"
- name: LOG_LEVEL
value: "trace"
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "http://otel-gateway.observability.svc:4318"
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: "http/protobuf"
resources:
requests:
cpu: 512m
memory: 128Mi
limits:
cpu: 1000m
memory: 512Mi
portForward:
- resourceType: service
resourceName: local-devbot-webhooks
namespace: devbot
port: http
localPort: 8081
- resourceType: service
resourceName: grafana
namespace: observability
port: service
localPort: 9000
- resourceType: service
resourceName: prometheus-server
namespace: observability
port: http
localPort: 9001
- resourceType: service
resourceName: jaeger-instance-query
namespace: observability
port: http-query
localPort: 9002