Add example for Kubernetes secret as additional source (#294)

As discussed in #286, an example for using Kubernetes secrets as additional configuration source was missing. This adds it.

Co-authored-by: techknowlogick <[email protected]>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/294
Reviewed-by: techknowlogick <[email protected]>
Reviewed-by: luhahn <[email protected]>
Co-authored-by: justusbunsi <[email protected]>
Co-committed-by: justusbunsi <[email protected]>
This commit is contained in:
justusbunsiandtechknowlogick authored and luhahn committed 2022-02-14 16:00:47 +08:00
1 parent f2948646ba
commit 7bdf742e81
1 file changed
+15
+15
View File
@@ -341,6 +341,21 @@ data:
ENABLED=true
```
Or when using a Kubernetes secret, having the same data structure:
```yaml
apiVersion: v1
kind: Secret
metadata:
name: gitea-security-related-configuration
type: Opaque
stringData:
security: |
PASSWORD_COMPLEXITY=off
session: |
SAME_SITE=strict
```
### External Database
An external Database can be used instead of builtIn PostgreSQL or MySQL.