picked from upstream - https://gitea.com/gitea/helm-chart/pulls/401 Co-authored-by: podain77 <podain77@noreply.gitea.io> Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/97
This commit is contained in:
parent
888cdc75af
commit
7f59f2b36e
3 changed files with 10 additions and 0 deletions
|
@ -593,6 +593,7 @@ gitea:
|
||||||
| `global.imageRegistry` | global image registry override | `""` |
|
| `global.imageRegistry` | global image registry override | `""` |
|
||||||
| `global.imagePullSecrets` | global image pull secrets override; can be extended by `imagePullSecrets` | `[]` |
|
| `global.imagePullSecrets` | global image pull secrets override; can be extended by `imagePullSecrets` | `[]` |
|
||||||
| `global.storageClass` | global storage class override | `""` |
|
| `global.storageClass` | global storage class override | `""` |
|
||||||
|
| `global.hostAliases` | global hostAliases which will be added to the pod's hosts files | `[]` |
|
||||||
| `replicaCount` | number of replicas for the statefulset | `1` |
|
| `replicaCount` | number of replicas for the statefulset | `1` |
|
||||||
| `clusterDomain` | cluster domain | `cluster.local` |
|
| `clusterDomain` | cluster domain | `cluster.local` |
|
||||||
|
|
||||||
|
|
|
@ -302,6 +302,10 @@ spec:
|
||||||
subPath: {{ .Values.persistence.subPath }}
|
subPath: {{ .Values.persistence.subPath }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- include "gitea.container-additional-mounts" . | nindent 12 }}
|
{{- include "gitea.container-additional-mounts" . | nindent 12 }}
|
||||||
|
{{- with .Values.global.hostAliases }}
|
||||||
|
hostAliases:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
## @param global.imageRegistry global image registry override
|
## @param global.imageRegistry global image registry override
|
||||||
## @param global.imagePullSecrets global image pull secrets override; can be extended by `imagePullSecrets`
|
## @param global.imagePullSecrets global image pull secrets override; can be extended by `imagePullSecrets`
|
||||||
## @param global.storageClass global storage class override
|
## @param global.storageClass global storage class override
|
||||||
|
## @param global.hostAliases global hostAliases which will be added to the pod's hosts files
|
||||||
global:
|
global:
|
||||||
imageRegistry: ""
|
imageRegistry: ""
|
||||||
## E.g.
|
## E.g.
|
||||||
|
@ -14,6 +15,10 @@ global:
|
||||||
##
|
##
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
|
hostAliases: []
|
||||||
|
# - ip: 192.168.137.2
|
||||||
|
# hostnames:
|
||||||
|
# - example.com
|
||||||
|
|
||||||
## @param replicaCount number of replicas for the statefulset
|
## @param replicaCount number of replicas for the statefulset
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
Loading…
Reference in a new issue