[incubator/gogs] add repo archive notice (#24044)

* [incubator/gogs] add repo archive notice

Signed-off-by: Scott Rigby <scott@r6by.com>

* [incubator/gogs] use apps/v1

Signed-off-by: Carlos Panato <ctadeu@gmail.com>

* [incubator/gogs] update dependencies

Signed-off-by: Carlos Panato <ctadeu@gmail.com>

* [incubator/gogs] update variables for postgres

Signed-off-by: Carlos Panato <ctadeu@gmail.com>

Co-authored-by: Carlos Panato <ctadeu@gmail.com>
This commit is contained in:
Scott Rigby
2020-11-10 01:12:40 -08:00
committed by GitHub
co-authored by Carlos Panato
parent 78a50e29e7
commit 73976996ae
8 changed files with 26 additions and 16 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: 'Gogs: Go Git Service'
name: gogs
version: 0.7.12
version: 0.7.13
appVersion: 0.11.86
home: https://gogs.io/
icon: https://gogs.io/img/favicon.ico
+5
View File
@@ -1,3 +1,8 @@
# ⚠️ Repo Archive Notice
As of Nov 13, 2020, charts in this repo will no longer be updated.
For more information, see the Helm Charts [Deprecation and Archive Notice](https://github.com/helm/charts#%EF%B8%8F-deprecation-and-archive-notice), and [Update](https://helm.sh/blog/charts-repo-deprecation/).
# Gogs Helm Chart
[Gogs][] is a painless self-hosted Git service.
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies:
- name: postgresql
repository: https://charts.helm.sh/stable
version: 0.6.0
digest: sha256:7d9d94bb19520594608f84a4d0d4a2e5abc7562f611b9036573c08138f78e164
generated: "2020-10-30T00:42:51.047908-04:00"
version: 8.6.4
digest: sha256:2d4a4a26bf590dadca1597ac0a53e039d4489b77e0c7044bd20f3af8c895ffac
generated: "2020-11-10T09:49:00.301004+01:00"
+1 -1
View File
@@ -1,5 +1,5 @@
dependencies:
- name: postgresql
version: 0.6.0
version: 8.6.4
repository: https://charts.helm.sh/stable
condition: postgresql.install
+3 -3
View File
@@ -48,7 +48,7 @@ Determine database user based on use of postgresql dependency.
*/}}
{{- define "gogs.database.user" -}}
{{- if .Values.postgresql.install -}}
{{- .Values.postgresql.postgresUser | quote -}}
{{- .Values.postgresql.postgresqlUsername | quote -}}
{{- else -}}
{{- .Values.service.gogs.databaseUser | quote -}}
{{- end -}}
@@ -59,7 +59,7 @@ Determine database password based on use of postgresql dependency.
*/}}
{{- define "gogs.database.password" -}}
{{- if .Values.postgresql.install -}}
{{- .Values.postgresql.postgresPassword | quote -}}
{{- .Values.postgresql.postgresqlPassword | quote -}}
{{- else -}}
{{- .Values.service.gogs.databasePassword | quote -}}
{{- end -}}
@@ -70,7 +70,7 @@ Determine database name based on use of postgresql dependency.
*/}}
{{- define "gogs.database.name" -}}
{{- if .Values.postgresql.install -}}
{{- .Values.postgresql.postgresDatabase | quote -}}
{{- .Values.postgresql.postgresqlDatabase | quote -}}
{{- else -}}
{{- .Values.service.gogs.databaseName | quote -}}
{{- end -}}
+9 -4
View File
@@ -1,20 +1,25 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "gogs.fullname" . }}
name: {{ include "gogs.fullname" . }}
labels:
app: {{ include "gogs.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: 1
strategy:
type: RollingUpdate
selector:
matchLabels:
app: {{ template "gogs.fullname" . }}
app: {{ include "gogs.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
template:
metadata:
labels:
app: {{ template "gogs.fullname" . }}
app: {{ include "gogs.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
spec:
{{- with .Values.securityContext }}
securityContext:
+1 -1
View File
@@ -9,4 +9,4 @@ metadata:
heritage: "{{ .Release.Service }}"
type: Opaque
data:
postgresql-user: {{ .Values.postgresql.postgresUser | b64enc | quote }}
postgresql-user: {{ .Values.postgresql.postgresqlUsername | b64enc | quote }}
+3 -3
View File
@@ -358,16 +358,16 @@ postgresql:
### PostgreSQL User to create.
##
postgresUser: gogs
postgresqlUsername: gogs
## PostgreSQL Password for the new user.
## If not set, a random 10 characters password will be used.
##
postgresPassword: gogs
postgresqlPassword: gogs
## PostgreSQL Database to create.
##
postgresDatabase: gogs
postgresqlDatabase: gogs
## PostgreSQL SSL Mode
##