/
values.yaml
195 lines (178 loc) · 4.45 KB
/
values.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
front:
enabled: true
type: frontend
name: r2devops-front
image: docker.io/r2devopsio/frontend
tag: v1.33.3
replicaCount: 1
port: 3000
livenessEndpoint: "/"
readinesspoint: "/"
extraEnv: []
# - name: xxx
# value: "yyyy"
host: ""
tls:
secretName: ""
resources: {}
# limits:
# cpu: 200m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 64Mi
jobs:
enabled: true
type: backend
name: r2devops-jobs
image: docker.io/r2devopsio/jobs
tag: v1.37.0
replicaCount: 1
port: 3000
livenessEndpoint: "/api/health/alive"
readinesspoint: "/api/health/ready"
host: ""
tls:
secretName: ""
# Duration of users' session
sessionTTL: "168h"
resources: {}
# Not using secret for R2devops secrets (comment if you use secret)
extraEnv:
- name: LICENSE
value: "<license-key>"
- name: SECRET_KEY
value: "<secret-key>"
- name: GITLAB_OAUTH2_CLIENT_ID
value: "<gitlab-oauth2-client-id>"
- name: GITLAB_OAUTH2_CLIENT_SECRET
value: "<gitlab-oauth2-client-secret>"
# Using existing secret for R2Devops secrets (uncomment if you use secret)
# extraEnv:
# - name: LICENSE
# valueFrom:
# secretKeyRef:
# name: "r2devops-secret"
# key: "license-key"
# - name: SECRET_KEY
# valueFrom:
# secretKeyRef:
# name: "r2devops-secret"
# key: "secret-key"
# - name: GITLAB_OAUTH2_CLIENT_ID
# valueFrom:
# secretKeyRef:
# name: "r2devops-secret"
# key: "gitlab-oauth2-client-id"
# - name: GITLAB_OAUTH2_CLIENT_SECRET
# valueFrom:
# secretKeyRef:
# name: "r2devops-secret"
# key: "gitlab-oauth2-client-secret"
gitlab:
domain: "https://gitlab.com"
organization: ""
worker:
enabled: true
type: backend
name: r2devops-worker
image: docker.io/r2devopsio/jobs
tag: v1.37.0
replicaCount: 20
args:
- "./app"
- "--worker"
livenessEndpoint: "/job/health/alive"
readinesspoint: "/job/health/ready"
extraEnv: []
addJobsExtraEnv: true
host: ""
tls: {}
resources: {}
ingress:
enabled: false
className: ""
annotations: {}
# cert-manager.io/cluster-issuer: letsencrypt-prod
# Custom certificates
customCertificateAuthority:
configMapName: "r2devops-ca-certificates"
certificates: []
# - name: rootCA.crt # Must have the .crt extension
# value: |
# -----BEGIN CERTIFICATE-----
# (SNIPPED FOR BREVITY)
# -----END CERTIFICATE-----
# ref. https://github.com/minio/minio/blob/master/helm/minio/values.yaml
minio:
dependency:
enabled: false
custom:
bucketName: "jobfiles"
disableSSL: "true"
forcePathStyle: "true"
host: ""
region: "us-east-1"
resources:
requests:
memory: 512Mi
replicas: 1
mode: standalone
persistence:
enabled: true
size: 10Gi
defaultBuckets: jobfiles
# Not using secret for auth (comment if you use secret)
auth:
rootUser: r2devops
rootPassword: secretpassword
# Using existing secret for auth (uncomment if you use secret)
# auth:
# existingSecret: "minio-secret"
# ref. https://github.com/bitnami/charts/blob/main/bitnami/postgresql/values.yaml
postgresql:
dependency:
enabled: false
custom:
host: ""
dbName: "r2devops"
sslmode: "disable"
port: 5432
primary:
initdb:
scripts:
# creates the database (ref. https://artifacthub.io/packages/helm/bitnami/postgresql#initialize-a-fresh-instance)
init.sql: |
CREATE DATABASE r2devops;
global:
postgresql:
# Not using secret for auth (comment if you use secret)
auth:
username: r2devops
password: secretpassword
postgresPassword: secretpassword
# Using existing secret for auth password (uncomment if you use secret)
# auth:
# username: r2devops
# existingSecret: "postgresql-secret"
# secretKeys:
# adminPasswordKey: "password"
# userPasswordKey: "password"
# ref. https://github.com/bitnami/charts/blob/main/bitnami/redis/values.yaml
redis:
dependency:
enabled: false
custom:
host: ""
user: "default"
port: 6379
cert: ""
replica:
replicaCount: 0
# Not using secret for auth (comment if you use secret)
auth:
password: secretpassword
# Using existing secret for auth (uncomment if you use secret)
# auth:
# existingSecret: "redis-secret"
# existingSecretPasswordKey: "password"