Ability to add pod annotation to statefulset (#24)

ability to add pod annotation

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/24
Reviewed-by: luhahn <luhahn@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
mmuenster 2020-09-24 16:32:11 +00:00 committed by techknowlogick
parent 39d6d9b9d5
commit ffd6e5f92c
3 changed files with 14 additions and 0 deletions

View File

@ -175,6 +175,15 @@ Like the admin user the ldap settings can be updated but also disabled or delete
usernameAttribute: CN
```
### Pod Annotations
Annotations can be added to the Gitea pod.
```yaml
gitea:
podAnnotations: {}
```
## Configuration
### Others

View File

@ -14,6 +14,9 @@ spec:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/gitea/config.yaml") . | sha256sum }}
{{- with .Values.gitea.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "gitea.selectorLabels" . | nindent 8 }}
spec:

View File

@ -98,6 +98,8 @@ gitea:
# security:
# PASSWORD_COMPLEXITY: spec
podAnnotations: {}
database:
builtIn:
postgresql: