Ability to add pod annotation to statefulset (#24)
All checks were successful
continuous-integration/drone/push Build is passing

ability to add pod annotation Reviewed-on: gitea/helm-chart#24 Reviewed-by: luhahn <luhahn@noreply.gitea.io> Reviewed-by: techknowlogick <techknowlogick@gitea.io>
This commit was merged in pull request #24.
This commit is contained in:
mmuenster
2020-09-24 16:32:11 +00:00
committed by techknowlogick
parent 39d6d9b9d5
commit ffd6e5f92c

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: