Add configurable ingress, rename all files to .yaml for conformity.

This commit is contained in:
Shane Lindsay
2024-09-29 23:22:54 -07:00
parent c62e37d16f
commit 005d53cce7
9 changed files with 81 additions and 10 deletions
+25 -5
View File
@@ -50,6 +50,13 @@ The following table lists the configurable parameters of the Postiz chart and th
| `postgresql.auth.database` | PostgreSQL database | `postiz` |
| `redis.enabled` | Deploy Redis | `true` |
| `redis.auth.password` | Redis password | `postiz-redis-password` |
| `ingress.enabled` | Enable ingress controller resource | `false` |
| `ingress.className` | IngressClass that will be be used | `""` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.hosts` | Ingress hostnames | `[]` |
| `ingress.tls` | Ingress TLS configuration | `[]` |
| `ingress.path` | Path within the host | `/` |
| `ingress.pathType` | Ingress path type | `ImplementationSpecific` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
@@ -61,13 +68,26 @@ $ helm install postiz-app \
The above command sets the PostgreSQL password to `secretpassword`.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
Alternatively, you can use a YAML file to specify the values while installing the chart. Create a file called `custom-values.yaml` (or any name you prefer) and specify your values:
```bash
$ helm install postiz-app -f values.yaml postiz/postiz
```yaml
postgresql:
auth:
password: secretpassword
ingress:
enabled: true
hosts:
- host: postiz.example.com
```
> **Tip**: You can use the default [values.yaml](values.yaml)
Then, you can install the chart using the `-f` flag:
```bash
$ helm install postiz-app -f custom-values.yaml postiz/postiz
```
> **Tip**: You can use the default [values.yaml](values.yaml) as a starting point for your custom configuration.
## Persistence
@@ -95,4 +115,4 @@ We welcome contributions to this chart. Please read our [Contributing Guide](CON
## License
This chart is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.
This chart is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.