Added sidecar #386

Closed
JSchlarb wants to merge 1 commits from sidecar into main
3 changed files with 11 additions and 0 deletions

View File

@ -726,6 +726,7 @@ gitea:
| `gitea.startupProbe.periodSeconds` | Period for startup probe | `10` |
| `gitea.startupProbe.successThreshold` | Success threshold for startup probe | `1` |
| `gitea.startupProbe.failureThreshold` | Failure threshold for startup probe | `10` |
| `gitea.sidecars` | Add sidecars to the Gitea pod | `[]` |
### Memcached

View File

@ -268,6 +268,13 @@ spec:
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- include "gitea.container-additional-mounts" . | nindent 12 }}
{{- with .Values.gitea.sidecars }}
{{- if typeIs "string" . }}
{{- tpl . $ | nindent 8 }}
{{- else }}
{{- tpl ( . | toYaml ) $ | nindent 8 }}
{{- end }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View File

@ -395,6 +395,9 @@ gitea:
successThreshold: 1
failureThreshold: 10
## @param gitea.sidecars Add sidecars to the gitea pod
sidecars: []
## @section Memcached
#
## @param memcached.enabled Memcached is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/memcached) if enabled in the values. Complete Configuration can be taken from their website.