@leverege/build-tools 2.5.16 → 2.5.17

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.
package/README.md CHANGED
@@ -24,6 +24,7 @@ npm install -g @leverege/build-tools
24
24
  * **helmify**: DESCRIPTION
25
25
  * **helmup**: A context safe helm deployment tool
26
26
  * **helmdn**: A destroyer of helm deployments (danger zone)
27
+ * **helm-repos-reload** : Reloads the commonly used helm repositories
27
28
 
28
29
  ### Kubernetes Helpers:
29
30
  * **k8x**: A script to help run commands on active pods in a k8s cluster.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.5.16",
3
+ "version": "2.5.17",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -27,11 +27,12 @@
27
27
  "getfbcfg": "src/getfbcfg.js",
28
28
  "getjson": "src/getjson.js",
29
29
  "git-tar": "src/git-tar",
30
+ "helm-repos-reload": "src/helm-repos-reload",
30
31
  "helmdn": "src/helmdn",
31
32
  "helmify": "lib/server/helmify/index.js",
32
- "helminit-svc": "src/helminit-svc",
33
33
  "helminit-dp": "src/helminit-dp",
34
34
  "helminit-scaler": "src/helminit-scaler",
35
+ "helminit-svc": "src/helminit-svc",
35
36
  "helmup": "src/helmup",
36
37
  "k8scale": "src/k8scale",
37
38
  "k8x": "src/k8x",
@@ -0,0 +1,21 @@
1
+ #!/bin/bash
2
+
3
+ function reloadRepo()
4
+ {
5
+ local NAME=$1
6
+ local URL=$2
7
+
8
+ printf "Reloading => %-10s %s\n" $NAME $URL
9
+ helm repo remove $NAME &> /dev/null
10
+ helm repo add $NAME $URL &> /dev/null
11
+ }
12
+
13
+ reloadRepo leverege https://chartmuseum.leverege.com
14
+ reloadRepo elastic https://helm.elastic.co
15
+ reloadRepo bitnami https://charts.bitnami.com/bitnami
16
+ reloadRepo traefik https://containous.github.io/traefik-helm-chart
17
+ reloadRepo vmware-tanzu https://vmware-tanzu.github.io/helm-charts
18
+
19
+ printf "\n"
20
+ helm repo ls
21
+ printf "\n"