Skip to content

Commit 326063e

Browse files
committed
cx-dashboards: remove link to revision in flux
had an implicit assumption that ks lived in same repo as gitrepo Signed-off-by: clux <[email protected]>
1 parent 32a02da commit 326063e

File tree

4 files changed

+19
-73
lines changed

4 files changed

+19
-73
lines changed

charts/cx-dashboards/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: cx-dashboards
33
description: cx dashboard configmaps
44
type: application
5-
version: 0.2.2
5+
version: 0.2.3
66
dependencies: []

charts/cx-dashboards/templates/cxflux.yaml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -895,15 +895,6 @@ data:
895895
"options": "sha"
896896
},
897897
"properties": [
898-
{
899-
"id": "links",
900-
"value": [
901-
{
902-
"title": "Link to Revision",
903-
"url": "${__data.fields.cx_repo}/blob/${__data.fields.sha}/${__data.fields.cx_path}"
904-
}
905-
]
906-
},
907898
{
908899
"id": "custom.width",
909900
"value": 150
@@ -1180,12 +1171,7 @@ data:
11801171
"properties": [
11811172
{
11821173
"id": "links",
1183-
"value": [
1184-
{
1185-
"title": "Link to Revision",
1186-
"url": "${__data.fields.cx_repo}/blob/${__data.fields.sha}/${__data.fields.cx_path}"
1187-
}
1188-
]
1174+
"value": []
11891175
},
11901176
{
11911177
"id": "custom.width",
@@ -1955,8 +1941,7 @@ data:
19551941
"mode": "absolute",
19561942
"steps": [
19571943
{
1958-
"color": "green",
1959-
"value": null
1944+
"color": "green"
19601945
},
19611946
{
19621947
"color": "red",
@@ -2082,8 +2067,7 @@ data:
20822067
"mode": "absolute",
20832068
"steps": [
20842069
{
2085-
"color": "dark-red",
2086-
"value": null
2070+
"color": "dark-red"
20872071
},
20882072
{
20892073
"color": "red",
@@ -2194,8 +2178,7 @@ data:
21942178
"mode": "absolute",
21952179
"steps": [
21962180
{
2197-
"color": "green",
2198-
"value": null
2181+
"color": "green"
21992182
},
22002183
{
22012184
"color": "red",
@@ -2331,8 +2314,7 @@ data:
23312314
"mode": "absolute",
23322315
"steps": [
23332316
{
2334-
"color": "green",
2335-
"value": null
2317+
"color": "green"
23362318
},
23372319
{
23382320
"color": "red",
@@ -2467,7 +2449,7 @@ data:
24672449
"timezone": "",
24682450
"title": "CX / Flux",
24692451
"uid": "cx-flux",
2470-
"version": 7,
2452+
"version": 10,
24712453
"weekStart": ""
24722454
}
24732455

dashboards/flux.json

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -883,15 +883,6 @@
883883
"options": "sha"
884884
},
885885
"properties": [
886-
{
887-
"id": "links",
888-
"value": [
889-
{
890-
"title": "Link to Revision",
891-
"url": "${__data.fields.cx_repo}/blob/${__data.fields.sha}/${__data.fields.cx_path}"
892-
}
893-
]
894-
},
895886
{
896887
"id": "custom.width",
897888
"value": 150
@@ -1168,12 +1159,7 @@
11681159
"properties": [
11691160
{
11701161
"id": "links",
1171-
"value": [
1172-
{
1173-
"title": "Link to Revision",
1174-
"url": "${__data.fields.cx_repo}/blob/${__data.fields.sha}/${__data.fields.cx_path}"
1175-
}
1176-
]
1162+
"value": []
11771163
},
11781164
{
11791165
"id": "custom.width",
@@ -1943,8 +1929,7 @@
19431929
"mode": "absolute",
19441930
"steps": [
19451931
{
1946-
"color": "green",
1947-
"value": null
1932+
"color": "green"
19481933
},
19491934
{
19501935
"color": "red",
@@ -2070,8 +2055,7 @@
20702055
"mode": "absolute",
20712056
"steps": [
20722057
{
2073-
"color": "dark-red",
2074-
"value": null
2058+
"color": "dark-red"
20752059
},
20762060
{
20772061
"color": "red",
@@ -2182,8 +2166,7 @@
21822166
"mode": "absolute",
21832167
"steps": [
21842168
{
2185-
"color": "green",
2186-
"value": null
2169+
"color": "green"
21872170
},
21882171
{
21892172
"color": "red",
@@ -2319,8 +2302,7 @@
23192302
"mode": "absolute",
23202303
"steps": [
23212304
{
2322-
"color": "green",
2323-
"value": null
2305+
"color": "green"
23242306
},
23252307
{
23262308
"color": "red",
@@ -2455,6 +2437,6 @@
24552437
"timezone": "",
24562438
"title": "CX / Flux",
24572439
"uid": "cx-flux",
2458-
"version": 7,
2440+
"version": 10,
24592441
"weekStart": ""
24602442
}

deploy/dashboards/cxflux.yaml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -893,15 +893,6 @@ data:
893893
"options": "sha"
894894
},
895895
"properties": [
896-
{
897-
"id": "links",
898-
"value": [
899-
{
900-
"title": "Link to Revision",
901-
"url": "${__data.fields.cx_repo}/blob/${__data.fields.sha}/${__data.fields.cx_path}"
902-
}
903-
]
904-
},
905896
{
906897
"id": "custom.width",
907898
"value": 150
@@ -1178,12 +1169,7 @@ data:
11781169
"properties": [
11791170
{
11801171
"id": "links",
1181-
"value": [
1182-
{
1183-
"title": "Link to Revision",
1184-
"url": "${__data.fields.cx_repo}/blob/${__data.fields.sha}/${__data.fields.cx_path}"
1185-
}
1186-
]
1172+
"value": []
11871173
},
11881174
{
11891175
"id": "custom.width",
@@ -1953,8 +1939,7 @@ data:
19531939
"mode": "absolute",
19541940
"steps": [
19551941
{
1956-
"color": "green",
1957-
"value": null
1942+
"color": "green"
19581943
},
19591944
{
19601945
"color": "red",
@@ -2080,8 +2065,7 @@ data:
20802065
"mode": "absolute",
20812066
"steps": [
20822067
{
2083-
"color": "dark-red",
2084-
"value": null
2068+
"color": "dark-red"
20852069
},
20862070
{
20872071
"color": "red",
@@ -2192,8 +2176,7 @@ data:
21922176
"mode": "absolute",
21932177
"steps": [
21942178
{
2195-
"color": "green",
2196-
"value": null
2179+
"color": "green"
21972180
},
21982181
{
21992182
"color": "red",
@@ -2329,8 +2312,7 @@ data:
23292312
"mode": "absolute",
23302313
"steps": [
23312314
{
2332-
"color": "green",
2333-
"value": null
2315+
"color": "green"
23342316
},
23352317
{
23362318
"color": "red",
@@ -2465,6 +2447,6 @@ data:
24652447
"timezone": "",
24662448
"title": "CX / Flux",
24672449
"uid": "cx-flux",
2468-
"version": 7,
2450+
"version": 10,
24692451
"weekStart": ""
24702452
}

0 commit comments

Comments
 (0)