@leverege/build-tools 2.21.13 → 2.22.0

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.
@@ -0,0 +1,15 @@
1
+ #!/bin/bash
2
+ #
3
+ showInstalling "Grafana"
4
+
5
+ createNamespaceIfNeeded monitoring
6
+
7
+ addHelmRepo grafana https://grafana.github.io/helm-charts
8
+
9
+ [ -z "$GRAFANA_HELM_CHART" ] && GRAFANA_HELM_CHART="6"
10
+ helm upgrade --install grafana grafana/grafana \
11
+ --namespace monitoring \
12
+ --values grafana/values-grafana.yaml \
13
+ --version $GRAFANA_HELM_CHART
14
+
15
+ removeHelmRepo grafana
@@ -0,0 +1,39 @@
1
+ postgresqlExtendedConf:
2
+ maxWorkerProcesses: 4
3
+ maxParallelWorkers: 4
4
+ maxConnections: 500
5
+ shared_buffers: 1GB
6
+ effectiveCacheSize: 4GB
7
+ maintenanceWorkMem: 1GB
8
+ workMem: 10MB
9
+
10
+ persistence:
11
+ storageClass: "ssd"
12
+
13
+ resources:
14
+ requests:
15
+ memory: 1Gi
16
+ cpu: 750m
17
+
18
+ postgresqlDatabase: authz
19
+ existingSecret: authz-postgres
20
+
21
+ metrics:
22
+ enabled: true
23
+
24
+ master:
25
+ tolerations:
26
+ - key: "database"
27
+ operator: "Equal"
28
+ value: "true"
29
+ effect: "NoSchedule"
30
+
31
+ affinity:
32
+ nodeAffinity:
33
+ requiredDuringSchedulingIgnoredDuringExecution:
34
+ nodeSelectorTerms:
35
+ - matchExpressions:
36
+ - key: target-env
37
+ operator: In
38
+ values:
39
+ - database
@@ -0,0 +1,11 @@
1
+ #!/bin/bash
2
+ #
3
+ showInstalling "PostgreSQL Database"
4
+
5
+ addBitnamiRepo
6
+
7
+ helm upgrade --install postgres bitnami/postgresql \
8
+ --values postgres/postgres-local.yaml \
9
+ --version 10
10
+
11
+ removeHelmRepo bitnami