@leverege/build-tools 2.1.4 → 2.1.5
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/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/helmup +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## [2.1.5] - 2020-03-08
|
|
5
|
+
### Updated
|
|
6
|
+
- (Helmup) Simplified Timescale installation process
|
|
7
|
+
|
|
4
8
|
## [2.0.0] - 2020-02-12
|
|
5
9
|
### Added
|
|
6
10
|
- (encrypt/decrypt) Allow for external KMS (BREAKING!!!)
|
package/package.json
CHANGED
package/src/helmup
CHANGED
|
@@ -53,6 +53,13 @@ function setOrUnset() {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
function checkTimescalePassword(){
|
|
56
|
+
if [ -f values-databases.yaml ] || [ -d timescale-db ];
|
|
57
|
+
then
|
|
58
|
+
printf "\n\n`color r '*** Deleting old timescale files ***'`\n\n"
|
|
59
|
+
rm -rf values-databases.yaml timescale-db
|
|
60
|
+
git add -A
|
|
61
|
+
fi
|
|
62
|
+
|
|
56
63
|
kubectl get secret postgresql-password
|
|
57
64
|
if [[ $? -eq 1 ]]; then
|
|
58
65
|
printf "\n*** Autogenerating Timescale password ***\n\n"
|
|
@@ -63,7 +70,7 @@ function checkTimescalePassword(){
|
|
|
63
70
|
--from-literal=postgresql-password=${psql_pw} \
|
|
64
71
|
--from-literal=postgresql-replication-password=${psql_rep_pw}
|
|
65
72
|
|
|
66
|
-
printf "`color
|
|
73
|
+
printf "\n\n`color y '*** Save Timescale creds to Keeweb ***'`\n\n"
|
|
67
74
|
printf "`color g "postgresql-password / ${psql_pw}"`\n"
|
|
68
75
|
printf "`color g "postgresql-replication-password / ${psql_rep_pw}"`\n\n"
|
|
69
76
|
fi
|