Completed changes for standalone gitea deployment.
This commit is contained in:
@ -1,14 +1,5 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 1.17.1
|
appVersion: 1.17.1
|
||||||
dependencies:
|
|
||||||
- condition: memcached.enabled
|
|
||||||
name: memcached
|
|
||||||
repository: https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
|
|
||||||
version: 5.9.0
|
|
||||||
- condition: postgresql.enabled
|
|
||||||
name: postgresql
|
|
||||||
repository: https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
|
|
||||||
version: 10.3.17
|
|
||||||
description: Gitea Helm chart for Kubernetes
|
description: Gitea Helm chart for Kubernetes
|
||||||
icon: https://docs.gitea.io/images/gitea.png
|
icon: https://docs.gitea.io/images/gitea.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|||||||
@ -18,11 +18,9 @@ mkdir --parent "/home/${USER}/Services/gitea"
|
|||||||
# Clone charts repository
|
# Clone charts repository
|
||||||
cd "/home/${USER}/Services/gitea" && git clone https://github.com/jmhbnz/charts.git
|
cd "/home/${USER}/Services/gitea" && git clone https://github.com/jmhbnz/charts.git
|
||||||
|
|
||||||
helm dependency build charts/gitea
|
|
||||||
|
|
||||||
# Install the chart
|
# Install the chart
|
||||||
helm upgrade --install -n jamma-gitea jamma-gitea charts/gitea \
|
helm upgrade --install -n jamma-gitea jamma-gitea charts/gitea \
|
||||||
--set "ingress.hosts[0]=gitea.jamma.dev" \
|
--set "ingress.hosts[0].host=gitea.jamma.dev" \
|
||||||
--set "ingress.tls[0].hosts[0]=gitea.jamma.dev" \
|
--set "ingress.tls[0].hosts[0]=gitea.jamma.dev" \
|
||||||
--set "ingress.tls[0].secretName=tls-jamma-gitea"
|
--set "ingress.tls[0].secretName=tls-jamma-gitea"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|||||||
@ -316,7 +316,11 @@ gitea:
|
|||||||
# customEmailUrl:
|
# customEmailUrl:
|
||||||
|
|
||||||
## @param gitea.config Configuration for the Gitea server,ref: [config-cheat-sheet](https://docs.gitea.io/en-us/config-cheat-sheet/)
|
## @param gitea.config Configuration for the Gitea server,ref: [config-cheat-sheet](https://docs.gitea.io/en-us/config-cheat-sheet/)
|
||||||
config: {}
|
config:
|
||||||
|
cache:
|
||||||
|
ENABLED: false
|
||||||
|
database:
|
||||||
|
DB_TYPE: sqlite3
|
||||||
# APP_NAME: "Gitea: Git with a cup of tea"
|
# APP_NAME: "Gitea: Git with a cup of tea"
|
||||||
# RUN_MODE: dev
|
# RUN_MODE: dev
|
||||||
#
|
#
|
||||||
@ -404,7 +408,7 @@ gitea:
|
|||||||
## @param memcached.enabled Memcached is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/memcached) if enabled in the values. Complete Configuration can be taken from their website.
|
## @param memcached.enabled Memcached is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/memcached) if enabled in the values. Complete Configuration can be taken from their website.
|
||||||
## @param memcached.service.port Port for Memcached
|
## @param memcached.service.port Port for Memcached
|
||||||
memcached:
|
memcached:
|
||||||
enabled: true
|
enabled: false
|
||||||
service:
|
service:
|
||||||
port: 11211
|
port: 11211
|
||||||
|
|
||||||
@ -417,7 +421,7 @@ memcached:
|
|||||||
## @param postgresql.global.postgresql.servicePort PostgreSQL port (overrides service.port)
|
## @param postgresql.global.postgresql.servicePort PostgreSQL port (overrides service.port)
|
||||||
## @param postgresql.persistence.size PVC Storage Request for PostgreSQL volume
|
## @param postgresql.persistence.size PVC Storage Request for PostgreSQL volume
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: false
|
||||||
global:
|
global:
|
||||||
postgresql:
|
postgresql:
|
||||||
postgresqlDatabase: gitea
|
postgresqlDatabase: gitea
|
||||||
|
|||||||
Reference in New Issue
Block a user