From b45f96cb94371baad1384228a593ab20fb45f5e7 Mon Sep 17 00:00:00 2001 From: James Blair Date: Fri, 26 Aug 2022 20:29:06 +1200 Subject: [PATCH] Completed changes for standalone gitea deployment. --- gitea/Chart.yaml | 9 --------- gitea/README.org | 4 +--- gitea/values.yaml | 16 ++++++++++------ 3 files changed, 11 insertions(+), 18 deletions(-) diff --git a/gitea/Chart.yaml b/gitea/Chart.yaml index c6a8f16..ae09df3 100644 --- a/gitea/Chart.yaml +++ b/gitea/Chart.yaml @@ -1,14 +1,5 @@ apiVersion: v2 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 icon: https://docs.gitea.io/images/gitea.png keywords: diff --git a/gitea/README.org b/gitea/README.org index 059b6cb..826bf81 100644 --- a/gitea/README.org +++ b/gitea/README.org @@ -18,11 +18,9 @@ mkdir --parent "/home/${USER}/Services/gitea" # Clone charts repository cd "/home/${USER}/Services/gitea" && git clone https://github.com/jmhbnz/charts.git -helm dependency build charts/gitea - # Install the chart 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].secretName=tls-jamma-gitea" #+end_src diff --git a/gitea/values.yaml b/gitea/values.yaml index 2d4561c..6c3cfea 100644 --- a/gitea/values.yaml +++ b/gitea/values.yaml @@ -150,9 +150,9 @@ ingress: - path: / pathType: Prefix tls: - - secretName: tls-jamma-gitea - hosts: - - gitea.jamma.dev + - secretName: tls-jamma-gitea + hosts: + - gitea.jamma.dev ## @section StatefulSet # @@ -316,7 +316,11 @@ gitea: # customEmailUrl: ## @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" # 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.service.port Port for Memcached memcached: - enabled: true + enabled: false service: port: 11211 @@ -417,7 +421,7 @@ memcached: ## @param postgresql.global.postgresql.servicePort PostgreSQL port (overrides service.port) ## @param postgresql.persistence.size PVC Storage Request for PostgreSQL volume postgresql: - enabled: true + enabled: false global: postgresql: postgresqlDatabase: gitea