@leverege/build-tools 2.23.5 → 2.23.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.23.5",
3
+ "version": "2.23.6",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -71,6 +71,6 @@
71
71
  "@babel/core": "^7.20.12",
72
72
  "@leverege/babel-preset-leverege-node": "^2.0.0",
73
73
  "@leverege/eslint-config-leverege": "^3.0.1",
74
- "npm": "^9.3.0"
74
+ "npm": "^9.3.1"
75
75
  }
76
76
  }
package/src/helmup CHANGED
@@ -669,7 +669,7 @@ function doInstall() {
669
669
  ;;
670
670
 
671
671
  "cert-manager")
672
- #installCertManager
672
+ installCertManager
673
673
  bootstrapLocalSetup cert-manager
674
674
  ;;
675
675
 
@@ -735,6 +735,10 @@ function doInstall() {
735
735
  installTraefikEnvironment
736
736
  bootstrapLocalSetup traefik
737
737
  ;;
738
+ "traefik-canary")
739
+ # only valid if traefik is already installed
740
+ bootstrapLocalSetup traefik-canary
741
+ ;;
738
742
 
739
743
  "velero")
740
744
  installVeleroEnvironment
package/src/pkgck CHANGED
@@ -134,7 +134,7 @@ check_repo() {
134
134
  local license=$(check_license)
135
135
  local scoped=$(check_scope)
136
136
  [ $(( $repos % 15)) -eq 0 ] && printf "\n%35s pkg git cln scop cir lic ESM bl7\n"
137
- printf "%32s: %-8s %-16s %s %8s %s %s %s %s %s\n" $dir $pkgver $(check_git_version $gitver $pkgver) $localmods $scoped $circle $license $esmlib $babel7 "$needspush"
137
+ printf "%32s: %-8s %-16s %s %8s %s %s %s %s %s\n" ${dir:0:32} $pkgver $(check_git_version $gitver $pkgver) $localmods $scoped $circle $license $esmlib $babel7 "$needspush"
138
138
  let "repos++"
139
139
  cd - &> /dev/null
140
140
  }
@@ -0,0 +1,14 @@
1
+ additionalArguments:
2
+ - "--accesslog=true"
3
+ - "--accesslog.format=json"
4
+ - "--api.debug=true"
5
+ - "--log.level=WARN"
6
+ - "--metrics.prometheus=true"
7
+ - "--api.dashboard=true"
8
+
9
+ deployment:
10
+ replicas: 1
11
+
12
+ #service:
13
+ # spec:
14
+ # loadBalancerIP: xx.xx.xx.xx
@@ -0,0 +1,16 @@
1
+ #!/bin/bash
2
+
3
+ showInstalling "Traefik Canary Load Balancer / Router"
4
+
5
+ TRAEFIK_CANARY="traefik-canary"
6
+
7
+ createNamespaceIfNeeded $TRAEFIK_CANARY
8
+
9
+ addHelmRepo traefik https://helm.traefik.io/traefik
10
+
11
+ [ -z "$TRAEFIK_HELM_CHART" ] && TRAEFIK_HELM_CHART="16"
12
+ helm upgrade --install $TRAEFIK_CANARY traefik/traefik --namespace $TRAEFIK_CANARY \
13
+ --values $TRAEFIK_CANARY/traefik-canary-local.yaml \
14
+ --version $TRAEFIK_HELM_CHART $HELM_WHAT
15
+
16
+ removeHelmRepo traefik
@@ -1,6 +1,7 @@
1
1
  additionalArguments:
2
2
  - "--accesslog=true"
3
3
  - "--accesslog.format=json"
4
+ - "--api.debug=true"
4
5
  - "--log.level=WARN"
5
6
  - "--metrics.prometheus=true"
6
7
  - "--api.dashboard=true"
@@ -10,4 +11,4 @@ deployment:
10
11
 
11
12
  #service:
12
13
  # spec:
13
- # loadBalancerIP: xx.xx.xx.xx
14
+ # loadBalancerIP: xx.xx.xx.xx
@@ -2,7 +2,6 @@
2
2
 
3
3
  showInstalling "Traefik Load Balancer / Router"
4
4
 
5
- #TRAEFIK_NAMESPACE="traefik-canary"
6
5
  TRAEFIK_NAMESPACE="traefik"
7
6
  createNamespaceIfNeeded $TRAEFIK_NAMESPACE
8
7
 
@@ -2,6 +2,8 @@
2
2
 
3
3
  addHelmRepo vmware-tanzu https://vmware-tanzu.github.io/helm-charts
4
4
 
5
+ createNamespaceIfNeeded
6
+
5
7
  [ -z "$VELERO_HELM_CHART" ] && VELERO_HELM_CHART="3"
6
8
  #
7
9
  # Build the bucket, region and SA email variables and use --set to mod the