@leverege/build-tools 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/helmup +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "A package for development build tools.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/helmup CHANGED
@@ -159,7 +159,12 @@ function monitoringHelp(){
159
159
  export POD_NAME=\$(kubectl get pods --namespace monitoring -l 'app=prometheus,component=alertmanager' -o jsonpath='{.items[0].metadata.name}')
160
160
  kubectl --namespace monitoring port-forward \$POD_NAME 9093
161
161
 
162
- `color toast "Save monitoring password to Keeweb"` => `color r $MONPASS`
162
+ `color g "Proxy to Grafana (the charts you're looking for):"`
163
+ export GRAFANA_POD=\$(kubectl --namespace monitoring get pods -l 'app.kubernetes.io/instance=grafana' -o jsonpath='{.items[0].metadata.name}')
164
+ kubectl --namespace monitoring port-forward \$GRAFANA_POD 3000 &
165
+ sleep 2; open http://localhost:3000/d/stackdriver/stackdriver?orgId=1
166
+
167
+ `color toast "Save monitoring login to Keeweb"` => `color r "admin / $MONPASS"`
163
168
 
164
169
  `color g "Show this helpful message again with"` => `color r "helmup monitoring-wtf"`
165
170