-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
README.md.gotmpl
85 lines (61 loc) · 2.23 KB
/
README.md.gotmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{{ template "chart.header" . }}
{{ template "chart.description" . }}
## TL;DR;
```console
helm repo add christianhuth https://charts.christianhuth.de
helm repo update
helm install passbolt-ha christianhuth/passbolt-ha
```
## Introduction
This chart bootstraps [Passbolt](https://github.com/passbolt), [MYSQL by Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/mysql) and [ProxySQL](https://github.com/flachesis/proxysql/tree/master/charts/proxysql) using the [Helm](https://helm.sh) package manager.
## Prerequisites
- Kubernetes 1.19+
## Installing the Chart
To install the chart with the release name `passbolt-ha`:
```console
helm repo add christianhuth https://charts.christianhuth.de
helm repo update
helm install passbolt-ha christianhuth/passbolt-ha
```
These commands deploy Skooner on the Kubernetes cluster in the default configuration. The [Values](#values) section lists the values that can be configured during installation.
> **Tip**: List all releases using `helm list`
## Uninstalling the Chart
To uninstall the `passbolt-ha` deployment:
```console
helm uninstall passbolt-ha
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
{{ template "chart.valuesSection" . }}
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
```console
helm install passbolt-ha -f values.yaml christianhuth/passbolt-ha
```
### Setting up the database connection
By default the passwords used to install MySQL are very weak. You should therefore create a Secret like the following:
```yaml
apiVersion: v1
kind: Secret
metadata:
name: passbolt-mysql
stringData:
mysql-password: 36X79oYHQBD5C8aGT1Gqzm2jLK4BWPC0
mysql-replication-password: UDWAZ2MHISu75YW34S08OB1POTvKoE69
mysql-root-password: 24D1FOHKvDLwt5MA087QUVO36IjY9rRY
username: passbolt
type: Opaque
```
Then update your values like this:
```yaml
mysql:
auth:
existingSecret: passbolt-mysql
proxysql:
proxysql:
mysql:
users:
- username: root
password: $NEW_PASSWORD
- username: passbolt
password: $NEW_PASSWORD
```