mirror of
https://github.com/truenas/charts.git
synced 2026-04-09 21:59:10 +08:00
gitea - replace boilerplate with template
This commit is contained in:
committed by
Stavros Kois
parent
4aeeb4f582
commit
e5ddf6694a
@@ -1,6 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.1.1
|
||||
digest: sha256:a7dbe3e4d42dbcd4325776e5e01a1d630c7f185f79e7ebf22b1b9cc80f56eed7
|
||||
generated: "2023-09-09T13:56:41.74669531+03:00"
|
||||
version: 1.2.1
|
||||
digest: sha256:d695592ea5213fe64453171205ca326015d02df3888a7858becc0c733b0de4c7
|
||||
generated: "2023-11-06T19:43:10.763796701+02:00"
|
||||
|
||||
@@ -3,7 +3,7 @@ description: Gitea - Git with a cup of tea
|
||||
annotations:
|
||||
title: Gitea
|
||||
type: application
|
||||
version: 1.0.21
|
||||
version: 1.0.22
|
||||
apiVersion: v2
|
||||
appVersion: 1.20.5
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
@@ -14,7 +14,7 @@ maintainers:
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.1.1
|
||||
version: 1.2.1
|
||||
home: https://gitea.io/en-us
|
||||
icon: https://media.sys.truenas.net/apps/gitea/icons/icon.svg
|
||||
sources:
|
||||
|
||||
Binary file not shown.
BIN
library/ix-dev/community/gitea/charts/common-1.2.1.tgz
Normal file
BIN
library/ix-dev/community/gitea/charts/common-1.2.1.tgz
Normal file
Binary file not shown.
@@ -4,47 +4,13 @@ workload:
|
||||
"resources" .Values.resources
|
||||
"ixChartContext" .Values.ixChartContext) | nindent 2 }}
|
||||
|
||||
{{/* Service */}}
|
||||
service:
|
||||
postgres:
|
||||
enabled: true
|
||||
type: ClusterIP
|
||||
targetSelector: postgres
|
||||
ports:
|
||||
postgres:
|
||||
enabled: true
|
||||
primary: true
|
||||
port: 5432
|
||||
targetSelector: postgres
|
||||
{{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
|
||||
|
||||
{{/* Persistence */}}
|
||||
persistence:
|
||||
postgresdata:
|
||||
enabled: true
|
||||
type: {{ .Values.giteaStorage.pgData.type }}
|
||||
datasetName: {{ .Values.giteaStorage.pgData.datasetName | default "" }}
|
||||
hostPath: {{ .Values.giteaStorage.pgData.hostPath | default "" }}
|
||||
targetSelector:
|
||||
# Postgres pod
|
||||
postgres:
|
||||
# Postgres container
|
||||
postgres:
|
||||
mountPath: /var/lib/postgresql/data
|
||||
# Permissions container
|
||||
permissions:
|
||||
mountPath: /mnt/directories/postgres_data
|
||||
postgresbackup:
|
||||
enabled: true
|
||||
type: {{ .Values.giteaStorage.pgBackup.type }}
|
||||
datasetName: {{ .Values.giteaStorage.pgBackup.datasetName | default "" }}
|
||||
hostPath: {{ .Values.giteaStorage.pgBackup.hostPath | default "" }}
|
||||
targetSelector:
|
||||
# Postgres backup pod
|
||||
postgresbackup:
|
||||
# Postgres backup container
|
||||
postgresbackup:
|
||||
mountPath: /postgres_backup
|
||||
# Permissions container
|
||||
permissions:
|
||||
mountPath: /mnt/directories/postgres_backup
|
||||
{{- include "ix.v1.common.app.postgresPersistence"
|
||||
(dict "pgData" .Values.giteaStorage.pgData
|
||||
"pgBackup" .Values.giteaStorage.pgBackup
|
||||
) | nindent 2 }}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user