Skip to content

Commit 0e22503

Browse files
p4blockBrutus5000
authored andcommitted
Test test theme for argo
1 parent 045a5a2 commit 0e22503

3 files changed

Lines changed: 31 additions & 10 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
apiVersion: v1
3+
kind: ConfigMap
4+
metadata:
5+
name: argocd-styles-cm
6+
data:
7+
production-theme.css: |
8+
.sidebar {
9+
background: linear-gradient(to bottom, #660f0f, #100403);
10+
}
11+
12+
.ui-banner {
13+
background: linear-gradient(to right, #660f0f, #100403);
14+
color: #fff;
15+
}
16+
17+
test-theme.css: |
18+
.sidebar {
19+
background: linear-gradient(to bottom, #0f660f, #100403);
20+
}
21+
22+
.ui-banner {
23+
background: linear-gradient(to right, #0f660f, #100403);
24+
color: #fff;
25+
}

cluster/argocd/values-test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ argo-cd:
2222
# -- Timeout to discover if a new manifests version got published to the repository
2323
timeout.reconciliation: 180s
2424

25+
# Custom theme
26+
ui.cssurl: "./custom/test-theme.css"
27+
# ui.bannercontent: "Production FAF cluster. Be careful."
28+
# ui.bannerpermanent: true
29+
2530
dex.config: |
2631
connectors:
2732
- type: github

cluster/argocd/values.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,7 @@ argo-cd:
1616
networkPolicy:
1717
create: true
1818

19-
server:
20-
21-
config:
22-
resource.customizations: |-
23-
networking.k8s.io/Ingress:
24-
health.lua: |
25-
hs = {}
26-
hs.status = "Healthy"
27-
return hs
28-
19+
server:
2920
# Avoids a permanent out of sync situation with Ingress resources
3021
metrics:
3122
enabled: true

0 commit comments

Comments
 (0)