-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
106 lines (94 loc) · 2.48 KB
/
Copy pathvalues.yaml
File metadata and controls
106 lines (94 loc) · 2.48 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
# Gradle Build Cache Configuration
# Enable/disable the entire cache deployment
enabled: true
# Docker image
image:
repository: ghcr.io/ls1intum/theia-shared-cache/gradle-cache
tag: "main"
pullPolicy: IfNotPresent
# Authentication credentials
auth:
enabled: true
username: "gradle"
# IMPORTANT: Change this password in production!
password: "changeme"
# Storage configuration
storage:
# Persistent volume size for cache data
size: 50Gi
# Storage class for persistent volume
storageClass: "csi-rbd-sc"
# Resource limits
resources:
cacheServer:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "500m"
minio:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "2Gi"
cpu: "1000m"
tls:
# Enable TLS for the cache server
enabled: false
# TLS secret name (if TLS is enabled)
secretName: ""
# Reposilite - Maven/Gradle dependency proxy
reposilite:
enabled: true
# Persistence for cached artifacts (stored on Ceph)
persistence:
enabled: true
size: 20Gi
storageClass: "csi-rbd-sc"
# Resource limits (Reposilite is lightweight - ~20-30MB RAM)
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "256Mi"
cpu: "500m"
# JVM and Reposilite startup settings
env:
- name: JAVA_OPTS
value: "-Xmx128M"
- name: REPOSILITE_OPTS
value: "--token admin:changeme --shared-configuration=/etc/reposilite/configuration.shared.json"
- name: REPOSILITE_PROMETHEUS_USER
value: "admin"
- name: REPOSILITE_PROMETHEUS_PASSWORD
value: "changeme"
# Mount shared configuration + plugins into Reposilite pod
deployment:
initContainers:
- name: download-prometheus-plugin
image: busybox:1.36
command:
- sh
- -c
- |
wget -O /plugins/prometheus-plugin.jar \
"https://maven.reposilite.com/releases/com/reposilite/plugin/prometheus-plugin/3.5.26/prometheus-plugin-3.5.26-all.jar"
volumeMounts:
- name: plugins
mountPath: /plugins
additionalVolumes:
- name: shared-config
configMap:
name: reposilite-shared-config
- name: plugins
emptyDir: {}
additionalVolumeMounts:
- name: shared-config
mountPath: /etc/reposilite/configuration.shared.json
subPath: configuration.shared.json
readOnly: true
- name: plugins
mountPath: /app/data/plugins