forked from porter-dev/porter-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
porter.yaml
126 lines (123 loc) · 2.44 KB
/
porter.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
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
118
119
120
121
122
123
124
125
126
version: v2beta1
builds:
- name: porter
method: docker
dockerfile: ./docker/Dockerfile
env:
import_from:
- default/base-env
- name: job
method: docker
context: ./services/preview_env_setup_job
dockerfile: ./services/preview_env_setup_job/Dockerfile
env:
import_from:
- default/base-env
- name: ccp
method: docker
dockerfile: ./external/ccp/zarf/docker/Dockerfile
context: ./external/ccp
env:
import_from:
- default/ccp-base-env
apps:
- name: setup-job
depends_on:
- porter-dashboard
run_once: true
helm_chart:
name: job
build_ref: job
- name: porter-ccp
depends_on:
- postgres
- nats
helm_chart:
name: web
build_ref: ccp
helm_values:
ingress:
enabled: false
service:
port: 7833
container:
port: 7833
command: ccp
args: "start --server --all-consumers"
- name: porter-dashboard
depends_on:
- postgres
helm_chart:
name: web
build_ref: porter
helm_values:
ingress:
enabled: true
container:
port: 8080
resources:
requests:
cpu: 400m
memory: 512Mi
addons:
- name: postgres
helm_chart:
name: postgresql
helm_values:
image:
tag: 15-debian-11
postgresqlUsername: postgres
postgresqlPassword: postgres
postgresqlDatabase: postgres
- name: opentelemetry-collector
helm_chart:
name: opentelemetry-collector
url: https://open-telemetry.github.io/opentelemetry-helm-charts
helm_values:
mode: daemonset
config:
exporters:
otlp/honeycomb:
endpoint: api.honeycomb.io:443
headers:
x-honeycomb-team: p4Xkp5DeAOoDvwDCM7uJNH
receivers:
jaeger: null
otlp:
protocols:
http: null
prometheus: null
zipkin: null
service:
pipelines:
logs: null
metrics: null
traces:
exporters:
- otlp/honeycomb
processors:
- batch
receivers:
- otlp
- name: nats
helm_chart:
name: nats
url: https://nats-io.github.io/k8s/helm/charts
helm_values:
cluster:
enabled: true
replicas: 3
nats:
jetstream:
enabled: true
memStorage:
enabled: true
size: 2Gi
fileStorage:
enabled: false
websocket:
enabled: true
port: 4223
noTLS: true
natsbox:
enabled: true