-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjsonnetfile.jsonnet
48 lines (48 loc) · 1.19 KB
/
jsonnetfile.jsonnet
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
{
version: 1,
dependencies: std.prune([
{
source: {
git: {
remote: 'https://github.com/projectsyn/jsonnet-libs',
subdir: '',
},
},
version: 'main',
name: 'syn',
},
{
source: {
git: {
remote: 'https://github.com/openshift/cluster-monitoring-operator',
subdir: 'jsonnet',
},
},
version: std.extVar('cmo_version'),
name: 'cluster-monitoring-operator',
},
if std.extVar('kube_state_metrics_version') != null && std.extVar('kube_state_metrics_version') != '' then
{
source: {
git: {
remote: 'https://github.com/kubernetes/kube-state-metrics',
subdir: 'jsonnet',
},
},
version: std.extVar('kube_state_metrics_version'),
name: 'kube-state-metrics',
},
if std.extVar('etcd_version') != '' then
{
source: {
git: {
remote: 'https://github.com/openshift/cluster-etcd-operator',
subdir: 'jsonnet',
},
},
version: std.extVar('etcd_version'),
name: 'cluster-etcd-operator',
},
]),
legacyImports: true,
}