mirror of
https://gitea.com/gitea/helm-chart.git
synced 2024-06-01 18:01:24 +05:30
allow for additional container environment variables (#16)
Co-authored-by: Jasper Orschulko <Jasper.Orschulko@irisgmbh.de> Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/16 Reviewed-by: luhahn <luhahn@noreply.gitea.io> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
9d25bc75d5
commit
8060d080db
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: gitea
|
name: gitea
|
||||||
description: Gitea Helm chart for Kubernetes
|
description: Gitea Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 1.4.4
|
version: 1.4.5
|
||||||
appVersion: 1.12.4
|
appVersion: 1.12.4
|
||||||
icon: https://docs.gitea.io/images/gitea.png
|
icon: https://docs.gitea.io/images/gitea.png
|
||||||
|
|
||||||
|
|
|
@ -182,6 +182,7 @@ Like the admin user the ldap settings can be updated but also disabled or delete
|
||||||
| Parameter | Description | Default |
|
| Parameter | Description | Default |
|
||||||
|---------------------|-----------------------------------|------------------------------|
|
|---------------------|-----------------------------------|------------------------------|
|
||||||
|statefulset.terminationGracePeriodSeconds| Image to start for this pod | gitea/gitea |
|
|statefulset.terminationGracePeriodSeconds| Image to start for this pod | gitea/gitea |
|
||||||
|
|statefulset.env | Additional environment variables to pass to containers | [] |
|
||||||
|
|
||||||
|
|
||||||
### Image
|
### Image
|
||||||
|
|
|
@ -87,6 +87,10 @@ spec:
|
||||||
value: {{ .Values.gitea.config.server.SSH_LISTEN_PORT | quote }}
|
value: {{ .Values.gitea.config.server.SSH_LISTEN_PORT | quote }}
|
||||||
- name: SSH_PORT
|
- name: SSH_PORT
|
||||||
value: {{ .Values.gitea.config.server.SSH_PORT | quote }}
|
value: {{ .Values.gitea.config.server.SSH_PORT | quote }}
|
||||||
|
{{- range .Values.statefulset.env }}
|
||||||
|
- name: {{ .name | quote | nospace }}
|
||||||
|
value: {{ .value | quote }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: ssh
|
- name: ssh
|
||||||
containerPort: {{ .Values.gitea.config.server.SSH_LISTEN_PORT }}
|
containerPort: {{ .Values.gitea.config.server.SSH_LISTEN_PORT }}
|
||||||
|
|
|
@ -55,6 +55,9 @@ tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
statefulset:
|
statefulset:
|
||||||
|
env: []
|
||||||
|
# - name: VARIABLE
|
||||||
|
# value: my-value
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
|
|
Loading…
Reference in a new issue