feat: configurable annotations for gitea StatefulSet (#315)

Fixes #314

Right now, the gitea StatefulSet does not allow any annotations to be configured via the helmchart - see https://gitea.com/gitea/helm-chart/src/tag/v5.0.4/templates/gitea/statefulset.yaml#L4-L6

My use case:

I am trying to use Reloader (https://github.com/stakater/Reloader) so that I can configure my values.yaml such that i can set some annotations on the StatefulSet and thus Reloader can rollout a restart of gitea StatefulSet whenever a watched secret or configmap is updated.

Co-authored-by: Tarun Gupta Akirala <tarugupta.92@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/315
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: takirala <takirala@noreply.gitea.io>
Co-committed-by: takirala <takirala@noreply.gitea.io>
This commit is contained in:
takirala
2022-04-21 23:55:53 +08:00
committed by techknowlogick
parent 46b190adda
commit a7bc46015e
3 changed files with 6 additions and 0 deletions

View File

@ -113,6 +113,7 @@ statefulset:
# value: my-value
terminationGracePeriodSeconds: 60
labels: {}
annotations: {}
persistence:
enabled: true