@leverege/build-tools 2.5.26 → 2.5.27
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/lib/server/overwhelm.js
CHANGED
|
@@ -275,7 +275,7 @@ ahoy.forEach(dir => {
|
|
|
275
275
|
}
|
|
276
276
|
}); // we can also apply replaceables to any top level .ovh files to support top level config maps
|
|
277
277
|
|
|
278
|
-
glob.sync('
|
|
278
|
+
glob.sync('**/*.ovh').forEach(cfgmap => {
|
|
279
279
|
const target = cfgmap.replace(/.ovh$/, '');
|
|
280
280
|
let valuesOut = fs.readFileSync(cfgmap, {
|
|
281
281
|
encoding: 'utf-8'
|
|
Binary file
|
package/lib/web/overwhelm.js
CHANGED
|
@@ -275,7 +275,7 @@ ahoy.forEach(dir => {
|
|
|
275
275
|
}
|
|
276
276
|
}); // we can also apply replaceables to any top level .ovh files to support top level config maps
|
|
277
277
|
|
|
278
|
-
glob.sync('
|
|
278
|
+
glob.sync('**/*.ovh').forEach(cfgmap => {
|
|
279
279
|
const target = cfgmap.replace(/.ovh$/, '');
|
|
280
280
|
let valuesOut = fs.readFileSync(cfgmap, {
|
|
281
281
|
encoding: 'utf-8'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.27",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -78,6 +78,6 @@
|
|
|
78
78
|
"@babel/node": "^7.12.13",
|
|
79
79
|
"@leverege/babel-preset-leverege-node": "^1.1.1",
|
|
80
80
|
"@leverege/eslint-config-leverege": "^2.2.0",
|
|
81
|
-
"npm": "^7.5.
|
|
81
|
+
"npm": "^7.5.3"
|
|
82
82
|
}
|
|
83
83
|
}
|
package/src/install-traefik
CHANGED
|
@@ -4,17 +4,18 @@ cat<<TRAEFIK_CERT
|
|
|
4
4
|
|
|
5
5
|
*** This is currently informational only ***
|
|
6
6
|
|
|
7
|
+
overwhelm
|
|
7
8
|
helm repo add traefik https://containous.github.io/traefik-helm-chart
|
|
8
9
|
helm repo add jetstack https://charts.jetstack.io
|
|
9
10
|
helm repo update
|
|
10
11
|
|
|
11
12
|
kubectl create namespace cert-manager
|
|
12
13
|
kubectl create secret generic cloudflare --namespace cert-manager \
|
|
13
|
-
--from-literal=dns-token=
|
|
14
|
+
--from-literal=dns-token="CLOUD FLARE API TOKEN KEEWEB"
|
|
14
15
|
|
|
15
16
|
kubectl create namespace traefik
|
|
16
17
|
kubectl create secret generic cloudflare --namespace traefik \
|
|
17
|
-
--from-literal=dns-token=
|
|
18
|
+
--from-literal=dns-token="CLOUD FLARE API TOKEN KEEWEB"
|
|
18
19
|
|
|
19
20
|
helm install --namespace traefik traefik traefik/traefik -f traefik/traefik-values.yaml
|
|
20
21
|
|
|
@@ -33,5 +34,5 @@ helm install \
|
|
|
33
34
|
# this token is a cox2m token
|
|
34
35
|
kubectl apply --namespace cert-manager -f cert-manager
|
|
35
36
|
|
|
36
|
-
kubectl describe certificate
|
|
37
|
+
kubectl describe certificate --namespace cert-manager
|
|
37
38
|
TRAEFIK_CERT
|
package/src/overwhelm.js
CHANGED
|
@@ -230,7 +230,7 @@ ahoy.forEach( ( dir ) => {
|
|
|
230
230
|
} )
|
|
231
231
|
|
|
232
232
|
// we can also apply replaceables to any top level .ovh files to support top level config maps
|
|
233
|
-
glob.sync( '
|
|
233
|
+
glob.sync( '**/*.ovh' ).forEach( ( cfgmap ) => {
|
|
234
234
|
const target = cfgmap.replace(/.ovh$/,'')
|
|
235
235
|
let valuesOut = fs.readFileSync( cfgmap, { encoding : 'utf-8' } )
|
|
236
236
|
valuesOut = doReplacements( valuesOut, over )
|