-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevspace.yaml
More file actions
75 lines (73 loc) · 2.01 KB
/
devspace.yaml
File metadata and controls
75 lines (73 loc) · 2.01 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
version: v2beta1
name: vcluster-prom-operator-plugin
hooks:
- name: Install Dependencies
events: ["after:deploy"]
command: |-
# Install dependencies
if [ ! -d "vendor" ]; then
echo "Executing 'go mod vendor'..."
go mod vendor
fi
deployments:
prometheus-operator-crds:
helm:
chart:
name: prometheus-operator-crds
repo: https://prometheus-community.github.io/helm-charts
version: 18.0.1
vcluster:
helm:
chart:
name: vcluster
repo: https://charts.loft.sh
version: v0.30.0
values:
controlPlane:
advanced:
serviceAccount:
enabled: false
name: default
statefulSet:
probes:
livenessProbe:
enabled: false
readinessProbe:
enabled: false
resources:
limits:
memory: 4Gi
requests:
memory: 4Gi
distro:
k3s:
enabled: true
rbac:
clusterRole:
enabled: true
plugin:
prometheus-operator-resources:
version: v2
rbac:
role:
extraRules:
- apiGroups: ["monitoring.coreos.com"]
resources: ["servicemonitors","podmonitors"]
verbs: ["create", "delete", "patch", "update", "get", "list", "watch"]
clusterRole:
extraRules:
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch"]
dev:
vcluster:
imageSelector: "ghcr.io/loft-sh/vcluster-pro"
devImage: golang:1.25.3
workingDir: /plugins/prometheus-operator-resources
container: syncer
terminal:
command: "./devspace_start.sh"
sync:
- path: "./:/plugins/prometheus-operator-resources"
excludePaths:
- /plugin