@leverege/build-tools 2.31.2 → 2.31.4

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.31.2",
3
+ "version": "2.31.4",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -70,9 +70,9 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@babel/cli": "^7.21.0",
73
- "@babel/core": "^7.21.3",
73
+ "@babel/core": "^7.21.4",
74
74
  "@leverege/babel-preset-leverege-node": "^2.0.0",
75
75
  "@leverege/eslint-config-leverege": "^3.0.1",
76
- "npm": "^9.6.2"
76
+ "npm": "^9.6.4"
77
77
  }
78
78
  }
@@ -4,7 +4,7 @@
4
4
  apiVersion: cert-manager.io/v1
5
5
  kind: ClusterIssuer
6
6
  metadata:
7
- name: letsencrypt-prd
7
+ name: letsencrypt
8
8
  spec:
9
9
  acme:
10
10
  # production
@@ -43,5 +43,5 @@ spec:
43
43
  dnsNames:
44
44
  - '*.OVH:<HOST>.com'
45
45
  issuerRef:
46
- name: letsencrypt-prd
46
+ name: letsencrypt
47
47
  kind: ClusterIssuer
@@ -31,8 +31,8 @@ fi
31
31
 
32
32
  cat<<HINTS
33
33
 
34
- fetch certs: `color g "kubectl -n cert-manager get certificate"`
35
- check certs: `color g "kubectl -n cert-manager describe certificate"`
34
+ fetch certs: `color g "kubectl get certificate"`
35
+ check certs: `color g "kubectl describe certificate"`
36
36
 
37
37
  HINTS
38
38
  removeHelmRepo jetstack
@@ -13,7 +13,7 @@ deployES() {
13
13
  printf "\n Deploying ES cluster component: `color y "$ES_TYPE"`\n"
14
14
  helm upgrade --install $ES_TYPE elastic/elasticsearch \
15
15
  --version $ES_VERSION \
16
- --values elastic-cluster/$ES_TYPE.yaml
16
+ --values elasticsearch-cluster/$ES_TYPE.yaml $HELM_WHAT
17
17
  }
18
18
 
19
19
  deployES "master"
@@ -2,13 +2,11 @@
2
2
  #
3
3
  showInstalling "Prometheus"
4
4
 
5
- createNamespaceIfNeeded monitoring
6
-
7
5
  addHelmRepo prometheus-community https://prometheus-community.github.io/helm-charts
8
6
 
9
7
  [ -z "$PROMETHEUS_CHART_VERSION" ] && PROMETHEUS_CHART_VERSION="15"
10
8
  helm upgrade --install prometheus prometheus-community/prometheus \
11
- --namespace monitoring \
9
+ --namespace monitoring --create-namespace \
12
10
  --values prometheus/values.yaml \
13
11
  --version $PROMETHEUS_CHART_VERSION $HELM_WHAT
14
12
 
@@ -6,7 +6,7 @@ TRAEFIK_NAMESPACE="traefik"
6
6
 
7
7
  addHelmRepo traefik https://helm.traefik.io/traefik
8
8
 
9
- [ -z "$TRAEFIK_CHART_VERSION" ] && TRAEFIK_CHART_VERSION="21"
9
+ [ -z "$TRAEFIK_CHART_VERSION" ] && TRAEFIK_CHART_VERSION="22"
10
10
  helm upgrade --install traefik traefik/traefik \
11
11
  --namespace $TRAEFIK_NAMESPACE --create-namespace \
12
12
  --values traefik/traefik-local.yaml \
@@ -1,7 +1,11 @@
1
- # This is the reserved static IP - see GCP -> VPC network -> IP addresses
1
+ # The service section controls the load balancer IP address for applying
2
+ # reserved static IPs and for creating a secondary LB for UDP traffic.
3
+ # See the *** UDP PORTS *** section below for more info.
4
+ #
2
5
  #service:
3
6
  # spec:
4
- # loadBalancerIP: xx.xx.xx.xx
7
+ # loadBalancerIP: "xx.xx.xx.xx"
8
+ # single: true # true by default, set to false for UDP support
5
9
 
6
10
  deployment:
7
11
  replicas: 3
@@ -14,3 +18,37 @@ logs:
14
18
  enabled: true
15
19
  format: json
16
20
  bufferingSize: 10
21
+
22
+ # Custom entry points may be added here - the first two are port definitions
23
+ # for both unsecured and secured MQTT ports used by connect. Note that the
24
+ # mqtts port has TLS termination performed by traefik and both ports are then
25
+ # forwarded to one open port (1883) on the target service. The vernemq service
26
+ # chart provides the IngressRouteTCP chart to make this happen.
27
+ #
28
+ #ports:
29
+ # mqtt:
30
+ # export: true
31
+ # port: 1883
32
+ # protocol: TCP
33
+ # mqtts:
34
+ # expose: true
35
+ # port: 8883
36
+ # protocol: TCP
37
+ #
38
+ # *** UDP PORTS ***
39
+ # Traefik is also capable of providing UDP routes. However, since a GKE service
40
+ # may not currently support mixed protocols on one load balancer we must split
41
+ # the protocols across two different load balancers. k8s v1.24 supports the
42
+ # MixedProtocolLBService feature but this is not yet GA in GKE. Setting the
43
+ # service.single to false will enable the dual LB approach.
44
+ #
45
+ #service: <-- this is just an example of how to set this
46
+ # single: false <-- because this should appear at the top
47
+ #
48
+ # See the siren marine udp service chart ingressroute for an example of how to
49
+ # setup a traefik IngressRouteUDP route.
50
+ #ports:
51
+ # siren-udp:
52
+ # port: 1993
53
+ # expose: true
54
+ # protocol: UDP
package/src/helmup CHANGED
@@ -25,7 +25,7 @@ PLATFORM=(
25
25
  )
26
26
 
27
27
  SYSTEM=(
28
- elastic
28
+ elasticsearch
29
29
  redis
30
30
  postgres
31
31
  timescale-db
@@ -660,7 +660,7 @@ function doInstall() {
660
660
  bootstrapLocalSetup $SERVICE
661
661
  ;;
662
662
 
663
- "elastic-cluster") # complex master/data/client ES cluster
663
+ "elasticsearch-cluster") # complex master/data/client ES cluster
664
664
  bootstrapLocalSetup $SERVICE
665
665
  ;;
666
666