mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/gogs] Features added in gogs (#11652)
* Features added in gogs * Gogs version 0.11.86 * Added mailer * Added nodeSelector, affinity, tolerations * Added existing persistence volume Signed-off-by: André R. de Miranda <andre@miranda.work> * Fixed: Added the key existingClaim in values.yaml Signed-off-by: André R. de Miranda <andre@miranda.work>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
5bbf2df168
commit
a758b0f2bb
@@ -1,8 +1,8 @@
|
||||
apiVersion: v1
|
||||
description: 'Gogs: Go Git Service'
|
||||
name: gogs
|
||||
version: 0.7.6
|
||||
appVersion: 0.11.79
|
||||
version: 0.7.7
|
||||
appVersion: 0.11.86
|
||||
home: https://gogs.io/
|
||||
icon: https://gogs.io/img/favicon.ico
|
||||
maintainers:
|
||||
|
||||
@@ -44,7 +44,7 @@ chart and their default values.
|
||||
| Parameter | Description | Default |
|
||||
| ----------------------- | ---------------------------------- | ---------------------------------------------------------- |
|
||||
| `image.repository` | Gogs image | `gogs/gogs` |
|
||||
| `image.tag` | Gogs image tag | `0.11.66` |
|
||||
| `image.tag` | Gogs image tag | `0.11.86` |
|
||||
| `image.pullPolicy` | Gogs image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `postgresql.install` | Weather or not to install PostgreSQL dependency | `true` |
|
||||
| `postgresql.postgresHost` | PostgreSQL host (if `postgresql.install == false`) | `nil` |
|
||||
|
||||
@@ -39,6 +39,18 @@ data:
|
||||
ENABLE_REVERSE_PROXY_AUTHENTICATION = false
|
||||
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false
|
||||
|
||||
[mailer]
|
||||
ENABLED = {{ .Values.service.gogs.mailerEnabled }}
|
||||
HOST = {{ .Values.service.gogs.mailerHost }}
|
||||
DISABLE_HELO = false
|
||||
HELO_HOSTNAME =
|
||||
SKIP_VERIFY = {{ .Values.service.gogs.mailerSkipVerify }}
|
||||
SUBJECT_PREFIX = {{ .Values.service.gogs.mailerSubjectPrefix }}
|
||||
FROM = {{ .Values.service.gogs.mailerFrom }}
|
||||
USER = {{ .Values.service.gogs.mailerUser }}
|
||||
PASSWD = {{ .Values.service.gogs.mailerPasswd }}
|
||||
USE_PLAIN_TEXT = text/plain
|
||||
|
||||
[database]
|
||||
DB_TYPE = {{ .Values.service.gogs.databaseType | quote }}
|
||||
HOST = {{ template "gogs.database.host" . }}
|
||||
|
||||
@@ -19,6 +19,18 @@ spec:
|
||||
{{- with .Values.securityContext }}
|
||||
securityContext:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
@@ -56,7 +68,11 @@ spec:
|
||||
- name: data
|
||||
{{- if .Values.persistence.enabled }}
|
||||
persistentVolumeClaim:
|
||||
{{- if .Values.persistence.existingClaim }}
|
||||
claimName: {{ .Values.persistence.existingClaim }}
|
||||
{{- else }}
|
||||
claimName: {{ template "gogs.fullname" . }}
|
||||
{{- end -}}
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- if .Values.persistence.enabled }}
|
||||
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
|
||||
@@ -11,7 +11,7 @@ replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: gogs/gogs
|
||||
tag: 0.11.79
|
||||
tag: 0.11.86
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
service:
|
||||
@@ -105,6 +105,34 @@ service:
|
||||
##
|
||||
serviceEnableNotifyMail: false
|
||||
|
||||
## Enable this to send mail with SMTP server.
|
||||
##
|
||||
mailerEnabled: false
|
||||
|
||||
## SMTP server host.
|
||||
##
|
||||
mailerHost:
|
||||
|
||||
## SMTP server user.
|
||||
##
|
||||
mailerUser:
|
||||
|
||||
## SMTP server password.
|
||||
##
|
||||
mailerPasswd:
|
||||
|
||||
## Mail from address. Format RFC 5322, email@example.com, or "Name" <email@example.com>
|
||||
##
|
||||
mailerFrom:
|
||||
|
||||
## Prefix prepended mail subject.
|
||||
##
|
||||
mailerSubjectPrefix:
|
||||
|
||||
## Do not verify the self-signed certificates.
|
||||
##
|
||||
mailerSkipVerify: false
|
||||
|
||||
## Either "memory", "redis", or "memcache", default is "memory"
|
||||
##
|
||||
cacheAdapter: memory
|
||||
@@ -294,6 +322,10 @@ persistence:
|
||||
##
|
||||
enabled: true
|
||||
|
||||
## If defined, PVC must be created manually before volume will be bound
|
||||
##
|
||||
# existingClaim: "-"
|
||||
|
||||
## gogs data Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
@@ -340,5 +372,11 @@ postgresql:
|
||||
## Enable PostgreSQL persistence using Persistent Volume Claims.
|
||||
##
|
||||
enabled: true
|
||||
|
||||
## Security context
|
||||
securityContext: {}
|
||||
|
||||
## Node, affinity and tolerations labels for pod assignment
|
||||
nodeSelector: {}
|
||||
affinity: {}
|
||||
tolerations: []
|
||||
|
||||
Reference in New Issue
Block a user