Skip to content

Commit

Permalink
local dev setup
Browse files Browse the repository at this point in the history
also cx dashboards should install dashboards by default

opt-out less likely less work for most people

Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Sep 10, 2024
1 parent d610cc1 commit e266aad
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/cx-dashboards/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: cx-dashboards
description: cx dashboard configmaps
type: application
version: 0.1.5
version: 0.1.6
dependencies: []
7 changes: 7 additions & 0 deletions charts/cx-dashboards/local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
urls:
prometheus: http://0.0.0.0:8080
alertmanager: http://0.0.0.0:8080

dashboards:
flux:
enabled: false
10 changes: 5 additions & 5 deletions charts/cx-dashboards/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ urls:

dashboards:
home:
enabled: false
enabled: true
machine:
enabled: false
enabled: true
prometheus:
enabled: false
enabled: true
alertmanager:
enabled: false
enabled: true
flux:
enabled: false
enabled: true
5 changes: 3 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ gen-dashboards:
# local testing methods

[private] # locally apply prometheus into a local cluster
local-prom: (gen-prom-raw "./charts/promstack/local.yaml") crds
kubectl apply -f deploy/promstack/ -R -n monitoring
local-prom:
helm install promstack clux/promstack -f charts/promstack/local.yaml
helm install dashboards clux/cx-dashboards -f charts/cx-dashboards/local.yaml

[private] # forward prometheus default port to check metrics ui
forward-prom:
Expand Down

0 comments on commit e266aad

Please sign in to comment.